User forums > Using Code::Blocks
BuildProblem: undefined reference to `wxStringBase::InitWith(...
clingonboy:
I have same problem, I read very very well this post and I did ecerithing but the compiler give to me always the some error, only one but I don't know what can I do.
--- Code: ---C:/wxWidgets-2.8.12/include/wx/string.h:368: undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'
obj\Debug\main.o:main.cpp:(.rdata$_ZTV5MyApp[__ZTV5MyApp]+0x44): undefined reference to `wxApp::Initialize(int&, char**)'
--- End code ---
Thanks you for your patience
BlueHazzard:
Please post the FULL build log here, found in the Build log tab
greetings
clingonboy:
I'm sorry for the mistake.
I solved the problem, I have uninstalled the library, reinstalled the library, recompiled the library and now it works well.
Thanks you.
clingonboy:
something strange
I try to rebuild the some progject and I recive this error from the compiler:
--- Code: ---
-------------- Build: Debug in secondo (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -fexceptions -g -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\lib\gcc_dll\mswu -c "D:\prove cpp\secondo\main.cpp" -o obj\Debug\main.o
In file included from C:\wxWidgets-2.8.12\include/wx/defs.h:21:0,
from C:\wxWidgets-2.8.12\include/wx/wx.h:15,
from D:\prove cpp\secondo\main.h:4,
from D:\prove cpp\secondo\main.cpp:1:
C:\wxWidgets-2.8.12\include/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
--- End code ---
I don't understand, yesterday It was working
stahta01:
Does this folder exist? "C:\wxWidgets-2.8.12\lib\gcc_dll\mswu\wx"
Does it contain setup.h? NOTE: DO NOT manually copy setup.h to this folder!!
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version