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
Normal Topic Shared project is compiled but output is sent to "nul" (Read 974 times)
revvers
Junior Member
**
Offline


Posts: 31
Joined: Sep 11th, 2023
Shared project is compiled but output is sent to "nul"
Oct 25th, 2024 at 9:27pm
Print Post  
My solution builds, loads and runs (on R4 Minima) successfully on all machines except one. On this particular machine, the same codebase and project (pulled from GIT) fails to build. Specifically, each file in one of my shared projects, is successfully compile but for some reason the generated object file is being sent to "nul" i.e. the following flag is being used: -o "nul". As far as I can tell the VS and VMicro extension environments (all latest) are identical.

What could possibly be causing this?

Code
Select All
i-g++" -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib... a\Debug.Messaging\DisconnectResponseMessage.cpp" -o "nul" 

« Last Edit: Oct 25th, 2024 at 9:29pm by revvers »  

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: Shared project is compiled but output is sent to "nul"
Reply #1 - Oct 25th, 2024 at 10:44pm
Print Post  
If you set "vMicro>Global Options>Compaibility>Compile ALL Project Folder Sources" to FALSE.

« Last Edit: Oct 25th, 2024 at 10:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
revvers
Junior Member
**
Offline


Posts: 31
Joined: Sep 11th, 2023
Re: Shared project is compiled but output is sent to "nul"
Reply #2 - Oct 25th, 2024 at 10:47pm
Print Post  
Build properties compiler output is attached to first post.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Shared project is compiled but output is sent to "nul"
Reply #3 - Oct 25th, 2024 at 10:49pm
Print Post  
Thanks, yes I noticed that after I posted and remove the request about the build properties.

Did you try changing the property I mentioned to "False"?
  
Back to top
IP Logged
 
revvers
Junior Member
**
Offline


Posts: 31
Joined: Sep 11th, 2023
Re: Shared project is compiled but output is sent to "nul"
Reply #4 - Oct 25th, 2024 at 10:54pm
Print Post  
Tim@Visual Micro wrote on Oct 25th, 2024 at 10:44pm:
If you set "vMicro>Global Options>Compaibility>Compile ALL Project Folder Sources" to FALSE.

Yes. This worked even though the compiler still is using -o "nul".

How strange is that? And why does it work on every other machine where this option is set to TRUE?
« Last Edit: Oct 25th, 2024 at 10:58pm by revvers »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Shared project is compiled but output is sent to "nul"
Reply #5 - Oct 25th, 2024 at 11:10pm
Print Post  
The need to set that property to false is a bug in the last release due to be updated within the next couple of days. Your change will continue to work after the update.

The NULL option relates to the deep search for libraries, not to the compiler. If your other machines have deep search disabled or have cached the previous deep search output then you won't see an attempt to run the NULL command in the output.
  
Back to top
IP Logged
 
revvers
Junior Member
**
Offline


Posts: 31
Joined: Sep 11th, 2023
Re: Shared project is compiled but output is sent to "nul"
Reply #6 - Oct 25th, 2024 at 11:22pm
Print Post  
OK. Thank you very much! Let's close this for now.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint