User forums > Nightly builds
The 06 april 2006 build is out.
kkez:
Are these two bugs, or it's by design?
1) Create a new project (with files, any project), the "project file format changed" dialog pops up (but there aren't old settings!)
2) Delete the file(s) inside "sources" virtual directory, this directory isn't deleted. Only on save it disappears.
alanwong:
After I install code::blocks (The 06 april 2006 build)
), and New project--->wxWidgets application(using uncode wxWidgets dll ,and no header file)---->build.
-------------- Build: default in test ---------------
Precompiling header: wx_pch.h
Compiling: main.cpp
Linking executable: wxwidgets_u.exe
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 25 seconds)
1 errors, 0 warnings
why?
TheNullinator:
You might want to check the build options of your project and make sure that the linker directories are correct. If that doesn't help, could you turn on full compiler logging and post the result again, please? To do this, go to "Settings" -> "Compiler and debugger" -> "Other" tab -> "Compiler logging" and select "Full command line".
alanwong:
Many thank you, I have To do this, go to "Settings" -> "Compiler and debugger" -> "Other" tab -> "Compiler logging" and select "Full command line".
the result of compiler logging:
-------------- Build: default in test ---------------
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\include" -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll\mswu -I"C:\Documents and Settings\Administrator\桌面\新建文件夹"\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include -c wx_pch.h -o wx_pch.h.gch\default_wx_pch.h.gch
mingw32-g++.exe -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -DUSE_PCH -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\include" -I"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll\mswu -I"C:\Documents and Settings\Administrator\桌面\新建文件夹"\contrib\include -I"C:\Program Files\CodeBlocks\include" -IE:\wxWidgets-2.6.2\include -c main.cpp -o .objs\main.o
mingw32-g++.exe -L"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib" -L"C:\Documents and Settings\Administrator\桌面\新建文件夹\lib"\gcc_dll -L"C:\Program Files\CodeBlocks\lib" -LE:\wxWidgets-2.6.2\lib -o wxwidgets_u.exe .objs\main.o -lwxmsw26u -mwindows
C:\Program Files\CodeBlocks\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw26u
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
1 errors, 0 warnings
TheNullinator:
Try adding E:\wxWidgets-2.6.2\lib\gcc_dll to your project's linker directories.
EDIT:
Why do you have two installations ("C:\Documents and Settings\Administrator\桌面\新建文件夹" and "E:\wxWidgets-2.6.2") of wxWidgets? Which one are you actually trying to use?
I'm guessing "C:\Documents and Settings\Administrator\桌面\新建文件夹" is the wxWidgets install the the global variable WX points to since all of it's directories are passed on the command line (as opposed to "E:\wxWidgets-2.6.2" which is missing lib\gcc_dll).
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version