User forums > General (but related to Code::Blocks)
CB with MinGW x64 and wxWidgets: linker can't find wxmsw30
Searinox:
I set up MinGW64, tested it working with a console app, compiled the libraries with "mingw32-make -f makefile.gcc CFG=64 BUILD=release SHARED=0 MONOLITHIC=1 UNICODE=1" and then again with BUILD=debug, which produced the folder "E:\CodeBlocks\wxWidgets\lib\gcc_lib64". Then created a new blank wxWidgets project and hit compile.
--- Code: ---||=== Build: Debug in qq (compiler: GNU GCC64 Compiler) ===|
D:\Personal\CodeBlocks\qq\qqApp.cpp|33|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3683|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3682|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqApp.cpp|33|warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3686|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3685|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3683|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3682|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3686|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3685|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|459|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|688|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|1872|note: declared here|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3683|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3682|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3686|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3685|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|459|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|688|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|1872|note: declared here|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3683|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3682|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3686|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3685|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|459|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|688|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|1872|note: declared here|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3683|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3682|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3686|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
E:\CodeBlocks\wxWidgets\include\wx\event.h|3685|note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|459|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|688|note: declared here|
E:\CodeBlocks\wxWidgets\include\wx\defs.h|615|note: in definition of macro 'wxDEPRECATED'|
D:\Personal\CodeBlocks\qq\qqMain.cpp|102|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]|
E:\CodeBlocks\wxWidgets\include\wx\window.h|1872|note: declared here|
ld.exe||cannot find -lwxmsw30u|
ld.exe||cannot find -lwxpng|
ld.exe||cannot find -lwxjpeg|
ld.exe||cannot find -lwxtiff|
ld.exe||cannot find -lwxzlib|
ld.exe||cannot find E:\CodeBlocks\wxWidgets\lib\gcc_lib64\mswu: Permission denied|
ld.exe||cannot find E:\CodeBlocks\wxWidgets\lib\gcc_lib64\mswud: Permission denied|
||=== Build failed: 7 error(s), 22 warning(s) (0 minute(s), 10 second(s)) ===|
--- End code ---
I found this
--- Code: ---
-------------- Build: Debug in qq (compiler: GNU GCC64 Compiler)---------------
x86_64-w64-mingw32-g++.exe -LE:\CodeBlocks\wxWidgets\lib\gcc_lib -LE:\CodeBlocks\wxWidgets\lib\gcc_lib64 -o bin\Debug\qq.exe obj\Debug\qqApp.o obj\Debug\qqMain.o obj\Debug\resource.res -mthreads -lwxmsw30u -lwxpng -lwxjpeg -lwxtiff -lwxzlib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -mwindows
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib\libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64\libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxmsw30u.a when searching for -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw30u
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib\libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64\libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxpng.a when searching for -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxpng
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib\libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64\libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxjpeg.a when searching for -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxjpeg
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib\libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64\libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxtiff.a when searching for -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxtiff
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib\libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64\libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib/libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible E:\CodeBlocks\wxWidgets\lib\gcc_lib64/libwxzlib.a when searching for -lwxzlib
E:/CodeBlocks/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxzlib
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
5 error(s), 0 warning(s) (0 minute(s), 1 second(s))
--- End code ---
Says skipping incompatible... why in the world? I built them out my own working MinGW64.
stahta01:
Try once more to post a full build log.
By "build log" I mean the "build log" NOT the build messages.
By "full", I mean clean followed by build!
Tim S.
stahta01:
--- Quote from: Searinox on December 29, 2015, 05:55:42 pm ---Says skipping incompatible... why in the world? I built them out my own working MinGW64.
--- End quote ---
No, you likely did NOT.
I set the Windows PATH to point first to the Compiler I wish to build wxWidgets with.
Then, I do the wxWidgets build command.
Edit: Example I use to build. I normally use %PATH% where I have %SystemRoot%; but, I have sh.exe in my normal path which results in a weird build error. I am trying it using %SystemRoot% to see if it works. Edit2: Building wxWidgets 3.0.2 using "gcc version 5.2.0 (Rev4, Built by MSYS2 project)"; note it is the only GCC 5.2 that I know about able to build a working wxWidgets on Windows 7. Edit3: But, by now there should be several other MinGW64 installers that work; I started doing the builds a few month back using 5.1 and later 5.2.
MSys2 is NOT easy to learn how to use. If you give me details about the Compiler you are using I can try it on my 64 bit Windows 7 Laptop.
--- Code: ---SET PATH=C:\Apps32\MSys2\mingw32\bin;%SystemRoot%
mingw32-make -f makefile.gcc CFG=32 CPPFLAGS="-DHAVE_TR1_TYPE_TRAITS" CXXFLAGS="-Wno-deprecated-declarations -Wno-unused-local-typedefs -fno-keep-inline-dllexport" MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
--- End code ---
Tim S.
Searinox:
I rebuilt the libraries with the command you provided, one for debug one for release leaving everything else untouched. But now I cannot even create a project properly as it says "a matching debug/release version cannot be found........." in the new project wizard. Compiling created the folder "gcc_dll32". That's supposed to happen yes? It's for x64 even if it says CFG=32 yes?
EDIT: Okay finally it works! I had to rename the created folder gcc_dll32 back to gcc_dll and I can compile and run.
New problem.
Debugging doesn't work... live. I can set breakpoints, but they only work if the program's not running. Nothing live or on the fly. I also can't break the program or terminate it from the IDE's usual buttons. It's basically acting like it's in Release mode except it sort of works if set up before run. And viceversa, if I have a breakpoint set up at runtime and remove it, it continues to trip it, I have to stop and start over.
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
Trying to pause the running process...
This shows up when I try to pause and nothing happens.
raynebc:
That doesn't sound unusual to me. When I use the debugger, I have to set breakpoints before launching the program or when execution is paused (at a line when stepping through the code or at a breakpoint). This is the way GDB and CodeBlocks have been working for me for at least 5 years.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version