C :: B issues:

|| can't popen `gcc -E -xc -DRC_INVOKED -IC: \ wxWidgets-3.1.1 \ include -IC: \ wxWidgets-3.1.1 \ lib \ gcc_lib \ mswud C: \ Users \ TIMONI ~ 1 \ Desktop \ Queue \ PROGRA ~ 2 \ Lw11 \ Lw11.3 \ resource.rc ': No error |

When running .exe applications: When running .exe applications:

In the compiler settings added command:

windres.exe - use-temp-file

With it, the application in C :: B works, but the exe file itself is not.

  • Do you have a compiler installed? Tried to build a console application such as "hellovord"? Why took the branch 3.1 (it is for developers), but not 3.0.3 (stable)? Binary library files from where they took (* .lib, * .dll)? - Vladimir
  • I take binary files with * dll since I chose SHARED = 1. I installed 3.0.4, but I still get the same error: || can't popen `gcc -E -xc -DRC_INVOKED -IC: \ wxWidgets-3.0.4 \ include -IC: \ wxWidgets-3.0.4 \ lib \ gcc_dll \ mswud C: \ Users \ TIMONI ~ 1 \ Desktop \ Queue \ TRD \ test \ resource.rc ': No error | - Bohuslav Pavlishynets
  • There are still too many reasons why this message could be ... In theory, resource files should be processed by their compiler (windres.exe). Perhaps, in the settings of the C :: B compiler, you have incorrectly specified the path or the name windres. Maybe the wrong version (32 or 64 bit are confused). Maybe there is simply no place for a temporary file on the disk where the system temporary directory is defined. In itnernets they even write that the settings of the COMSPEC environment variable (if changed) can be to blame. - Vladimir
  • TDM-GCC-32 - compiler. Console applications work as they should. What is "windres.exe"? BC :: B "Resurs compiler" is listed on "windres.exe" - Boguslav Pavlyshinets
  • one
    You can try to feed a parameter to this windres ... In the compiler settings, C :: B at the bottom of the program list has a setting for windres. You can try adding an option to it: windres.exe --use-temp-file - this will force it to use a temporary file instead of the channel ( popen call). They say in the documentation that this can sometimes solve the problem when the system fails to open the channel (but are there references about windows 95/98 ... is this not your case?) - Vladimir

0