Nighty build 10912. Windows 10.TDM-GCC 5.1
Open an existing workspace. Make a small change to a .cpp file. Try "compile current file". GCC fails.
Try "Build". GCC works normally.
Do you have minimal sample project or at least show us the build log.
Does it happen with the previous nightly? 16.01?
The message is "Execution of 'mingw32-g++.exe -Wall ..... failed"
It happens only for old workspaces created with a previous C:B version. Sorry, not small one at hand.
I can say that if I open a "modern" workspace and hit "compile", close it, open the not-working workspace and hit "compile" then it does work. It only fails if the offending workspace is the first loaded after CB init.
I don't remember if it happen also in 16.01. Likely not.
Why don't you just install 16.01 and try with it? Or the previous nightly? You can have them side by side.
And please paste the log form the build log tab. Details matter!
The format of cbp or workspace files hasn't change for quite a long time!
16.01 does not work neihter.
When I hit "Compile current file", not "Build" (remember: building first makes this issue disappear)
-------------- Build file: debug32 in deficar proyecto (compiler: GNU GCC Compiler TDM 32b)---------------
mingw32-g++.exe -Wall -std=c++11 -pipe -mthreads -DGNUWIN32 -DWXMSW -D_UNICODE -pg -g -DWXDEBUG -m32 -IF:\wxSVN\include -Icodigo -IF:\wxSVN\lib\gcc_lib32\mswud -c F:\PROGS\deficar\codigo\importpoints.cpp -o debug32\objs\codigo\importpoints.cpp.o
Execution of 'mingw32-g++.exe -Wall -std=c++11 -pipe -mthreads -DGNUWIN32 -DWXMSW -D_UNICODE -pg -g -DWXDEBUG -m32 -IF:\wxSVN\include -Icodigo -IF:\wxSVN\lib\gcc_lib32\mswud -c F:\PROGS\deficar\codigo\importpoints.cpp -o debug32\objs\codigo\importpoints.cpp.o' in 'F:\PROGS\deficar' failed.
If I change the target to release64 (my name for using TDM-GCC 64) then it works.Back again to TDM-GCC32 (without exiting CB) it doesn't.
Can you post the paths where every compiler is on your file system?
What is the content of your PATH environement variable?
I have not installed MinGW. Only TDM-GCC 32/64 versions on different folders. Screenshots attached.
The default 'GNU GCC Compiler' at "Selected compiler" is exactly the same as 'GNU GCC Compiler TDM 64b'
My PATH enviroment:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Skype\Phone\;C:\Users\MANOLO\AppData\Local\Microsoft\WindowsApps;
Can you reproduce the problem with a simple project?
I've reduced the offending project to the minimal, and changed some names. It's attached.
The problem still is there.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.