Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Can the project files be scrambled?? (Read 1545 times)
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Can the project files be scrambled??
Oct 29th, 2024 at 1:28pm
Print Post  
Hi.
I have a wierd problem.
I can't build my ongoing project, it can't find standard Arduino functions and my written functions.
It seems that the linker is failing, if I understand the log correctly.
SO..
I created a new project on the same level, in the same solution a Blink project to test..
That builds. Huh
So can project files or other settings have been changed?
I have a zip file with both build outputs. 
I'm currently trying VS2022 with a bought license for VM.
« Last Edit: Oct 29th, 2024 at 1:29pm by Wiken »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Can the project files be scrambled??
Reply #1 - Oct 29th, 2024 at 3:13pm
Print Post  
Thanks for the report.

One options which has changed functionality in the latest release could be the cause of the issue if this has only started happening since the most recent update.

If you go to Tools > Options > vMicro > Compatability > Compile ALL Project Folder Sources, and change this from True to False, this may help resolve the issue.

Let us know if this does not help, and if possible attach the VCXPROJ file from the project which is failing.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can the project files be scrambled??
Reply #2 - Oct 30th, 2024 at 8:16am
Print Post  
Please follow the guide in yellow near the top of the page
  
Back to top
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #3 - Oct 30th, 2024 at 8:52am
Print Post  
I got a Linux connection request at compile for a new project created this morning, where did that come from?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #4 - Oct 30th, 2024 at 8:55am
Print Post  
Tim@Visual Micro wrote on Oct 30th, 2024 at 8:16am:
Please follow the guide in yellow near the top of the page


I'm sorry, but I don't understand, I don't have the yellow you mention..
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Can the project files be scrambled??
Reply #5 - Oct 30th, 2024 at 9:27am
Print Post  
The logging instructions are shown in the image below (as at the top of the page).

To remove the Linux Connection box, go to Build > Configuration Manager, and uncheck the Build box for the project.
  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #6 - Oct 30th, 2024 at 3:35pm
Print Post  
Simon@Visual Micro wrote on Oct 30th, 2024 at 9:27am:
The logging instructions are shown in the image below (as at the top of the page).

To remove the Linux Connection box, go to Build > Configuration Manager, and uncheck the Build box for the project.



ah, ok, got it.

I'm still at the same problem, whatever I do I can't link the project from Tuesday last week, it worked after I found a misstake in the path, and it worked the whole day, after restart, all went sideways.
It doesn't find my functions nor Arduino functions. Huh
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Can the project files be scrambled??
Reply #7 - Oct 30th, 2024 at 3:57pm
Print Post  
Can you elaborate on the " it worked after I found a misstake in the path" element?

Also do you recognise any of the functions shown in the error messages from the failing log in the intial post?
(I don't believe they are from the Ethernet_Generic library, so unsure if they are within your code, or a library dependency).

If you could ZIP and email the complete project (without the .vs folder) to us it with a link to this post it will help us investigate more quickly.  We will of course keep this completely private and it will be removed as soon as the issue is resolved.
  
Back to top
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #8 - Oct 31st, 2024 at 6:55am
Print Post  
Simon@Visual Micro wrote on Oct 30th, 2024 at 3:57pm:
Can you elaborate on the " it worked after I found a misstake in the path" element?


I can start by explainig this:
The contribution folder had a "\library" added at the end, and it started working when I removed that. So I had libs in libs, so to speak.. Roll Eyes
My memory why I set it, is clouded.
But now I miss a lot of libraries to select from and I think this has to do with it, but I have had and used Vs + Visual Micro for 10 years, so a lot has happend during this time. Wink

And I can say that many of the functions not found are function we have written.

Let me check with my manager with the rest of your request, I don't think it would be a problem. Smiley
« Last Edit: Oct 31st, 2024 at 7:18am by Wiken »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Can the project files be scrambled??
Reply #9 - Oct 31st, 2024 at 1:35pm
Print Post  
Quote:
The contribution folder had a "\library" added at the end, and it started working when I removed that. So I had libs in libs, so to speak.. Roll Eyes


Understood, just to check, did you delete the incorrect "library" folder from the file structure after correcting the entry in Visual Micro?
  
Back to top
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #10 - Nov 1st, 2024 at 11:19am
Print Post  
Yes, I did.
It now looks according to the picture you got from that config. Smiley
  
Back to top
 
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #11 - Nov 11th, 2024 at 8:41am
Print Post  
Hi.
May I ask you if you have got the files I sent regarding this issue? Smiley
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Can the project files be scrambled??
Reply #12 - Nov 11th, 2024 at 10:21am
Print Post  
I can't find them anywhere at present, we did send you the email in reply to your personal message.

Can you email the project again (without the .vs folder) with a link to this thread?
  
Back to top
IP Logged
 
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Re: Can the project files be scrambled??
Reply #13 - Nov 13th, 2024 at 7:41am
Print Post  
Hi.
My problem is solved, a gullwing was remarked in the code. Embarrassed
This made everything go really wrong, and beeing 59 years old and been programming since 13 years old, one might think that I should have found it.

This was a very mean error and my collegue found it.
That shows that a second pair of eyes is very good.

I have used VS and VM since 2013 and it has worked very very good the whole time, and the new update 2024_1111 works fine for me.

And don't let anyone interrupt you in the middle of coding, it can create errors like this. Always try to end your day with a working set of code.

Thanks @Simon for beeing a pro.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint