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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Error compiling Portenta code from String.cpp (Read 9337 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error compiling Portenta code from String.cpp
Reply #20 - May 14th, 2023 at 8:03pm
Print Post  
I think spawned processes would run as admin too but there is an easier way to test with admin mode...

I am trying to rule out a permissions issue. I notice arduino is building off the temp folder. You can  tell visual micro to do same.

Please set "Tools>Options>Visual Micro>Compiler>Build Cores Folder" to this folder then build

C:\Users\mafav\AppData\Local\Temp\vmicro\core

Thanks
« Last Edit: May 14th, 2023 at 8:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Patrizia
Junior Member
**
Offline


Posts: 15
Joined: May 4th, 2023
Re: Error compiling Portenta code from String.cpp
Reply #21 - May 15th, 2023 at 11:45am
Print Post  
Build Cores Folder set as indicated, then project cleaned and rebuilt.

Same problem as usual. I include the file.

Patrizia
  

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


Posts: 15
Joined: May 4th, 2023
Re: Error compiling Portenta code from String.cpp
Reply #22 - May 15th, 2023 at 12:06pm
Print Post  
Don't know whether may be of help, but in the moment I'm using a Teensy 4.1, in debug mode.

Compilation under Visual Micro completed successfully.

Is the inconvenient possibly specific to "some" boards and not others?
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error compiling Portenta code from String.cpp
Reply #23 - May 15th, 2023 at 9:39pm
Print Post  
Thanks. It is an issue related to the string.cpp in the mbed core. That's why teensy builds okay.

The attached can be run from cmd prompt. The only change is to uppercase the c:\ and swap the quotes outside of the -I params. Neither of which should have any effect at all. However, it would be useful to rule out those things with this test.
  

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


Posts: 15
Joined: May 4th, 2023
Re: Error compiling Portenta code from String.cpp
Reply #24 - May 16th, 2023 at 12:08pm
Print Post  
Command executed: job completed successfully (no error indication) in about 1s.  Smiley

(FYI: in the project I'm involved in I switched from Portenta to Teensy, and use it with Visual Micro infrastructure: so, please do not feel some special pressure. For me it was a problem in "important .AND. urgent" class. Now it is just "important" (but also my (not Arduino-related) "data-driven advection-diffusion particle model" is, and is quite late, so I will not cry if analysis will require some time Smiley ) (anyway, I'm here, and will continue to provide you feedback as needed - I'm really curious, on one side; on the other, we all are responsible of the working of engineering objects...)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error compiling Portenta code from String.cpp
Reply #25 - May 16th, 2023 at 12:23pm
Print Post  
Thanks, we are just intrigued. Are you working on a case sensitive operating system?
  
Back to top
IP Logged
 
Patrizia
Junior Member
**
Offline


Posts: 15
Joined: May 4th, 2023
Re: Error compiling Portenta code from String.cpp
Reply #26 - May 16th, 2023 at 1:17pm
Print Post  
No, it's a regular (although used since a lot of time) Windows 11 (formerly 10) machine. Operates case-insensitively.

It has many app installed, so the environment string is quite overfull. I could consider removing some stuff however, would that be a problem.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error compiling Portenta code from String.cpp
Reply #27 - May 17th, 2023 at 1:55am
Print Post  
Ok thanks. It is a simple command to compile a single file. You don't need to change aything.

Does the attach work or fail with error?

  

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


Posts: 15
Joined: May 4th, 2023
Re: Error compiling Portenta code from String.cpp
Reply #28 - May 17th, 2023 at 7:33am
Print Post  
Hi!

Executed correctly.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint