Good day!
I've encountered a strange thing with this weekly build in Win7. I cannot figure out what can be wrong...
After upgrading CL to v9.0.5, my wxWidgets project suddenly stopped building. I didn't changed anything in the workspace. After trying to compile a file, I got the following:
Code: Select all
C:\Windows\system32\cmd.exe /C mingw32-make.exe -j 8 -e -f "wxTemplate.mk" MakeIntermediateDirs && mingw32-make.exe -j 8 -e -f "wxTemplate.mk" ../interim/gcc_Release/GUI_project.cpp.o
----------Building project:[ wxTemplate - Release ] (Single File Build)----------
In file included from C:/wxWidgets-3.0.2/include/wx/platform.h:595:0,
from C:/wxWidgets-3.0.2/include/wx/defs.h:27,
from C:/wxWidgets-3.0.2/include/wx/wxprec.h:12,
from ../src/GUI/project.h:4,
from ../src/GUI/project.cpp:1:
C:/wxWidgets-3.0.2/include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
# error "wxUSE_ANY must be defined, please read comment near the top of this file."
^
C:/wxWidgets-3.0.2/include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
# error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
^
...
...etc
Then I switched back to CL v9.0.4 and the project has been built successfully.
What am I doing wrong? Can it be related to the improvement "the environment variables are now kept per workspace configuration"? Do I need to do something additional with the workspace configuration due to this new feature?
Just in case, my Settings - Environment Variables look like this:
Code: Select all
CodeLiteDir=C:\Program Files\CodeLite
WXWIN=C:\wxWidgets-3.0.2
GCC_DIR=C:\TDM-GCC-32
WXCFG=gcc_dll\mswu
PATH=$(WXWIN)\lib\gcc_dll;$(GCC_DIR)\bin;$(PATH)
I use Windows7, tdm-gcc-4.8.1 and wxWidgets 3.0.2 pre-built binaries for gcc481tdm.
Update. I've just checked CL v9.0.5 in Ubuntu 14.04. It is OK here.
You're never too old to Rock'n'Roll if you're too young to die.