Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Problems with colours.bmp
DaRkZeAlOt:
Hello,
I tried to compile CodeBlocks the first time, following the tutorial http://codeblocks.sourceforge.net/wiki/index.php/Compiling_wxWidgets_2.6.1_to_develop_Code::Blocks_%28MSW%29 wich seemed to work fine first.
Got myself the newest mingw32-make, build the object files and set up all directories. But after quite a while i got the following error message :
=================================
Compiling: src\resources\resources.rc
windres.exe: can't open bitmap file `wx/msw/colours.bmp': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
=================================
This is strange because the file IS there and the other compilation stuff worked out well. Any ideas ?
I also browsed around a bit through this forum but usualy this seems to disappear wehn using the actual make :shock: .
David Perfors:
Look in the project compiler options -> directories -> Resource compiler and look if the directory excist there. if not add it. (without wx/msw)
DaRkZeAlOt:
Thx for that, it worked fine after adding the directory :) . Anyway i would be glad if you can help me also with the next problem that appeared :wink: :
===============================
Linking dynamic library: devel\share\CodeBlocks\plugins\debuggergdb.dll
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x685e): In function `ZN11DebuggerGDB14CmdDisassembleEv':
F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:756: undefined reference to `DisassemblyDlg::DisassemblyDlg(wxWindow*, DebuggerGDB*)'
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x6998): In function `ZN11DebuggerGDB12CmdBacktraceEv':
F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:764: undefined reference to `BacktraceDlg::BacktraceDlg(wxWindow*, DebuggerGDB*)'
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x69f0):F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:765: undefined reference to `BacktraceDlg::Clear()'
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x74d2): In function `ZN11DebuggerGDB11ParseOutputERK8wxString':
F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:903: undefined reference to `BacktraceDlg::AddFrame(StackFrame const&)'
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x7864):F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:989: undefined reference to `DisassemblyDlg::Clear(StackFrame const&)'
.objs\2.6.0\plugins\debuggergdb\debuggergdb.o(.text+0x7aba):F:/Programmierung/Apps/CodeBlocks/plugins/debuggergdb/debuggergdb.cpp:1002: undefined reference to `DisassemblyDlg::AddAssemblerLine(wxString const&)'
===============================
Seems for me like i didn't include some libraries but under "project|Build options|Linker options" wxmsw26 is linked, anything to be added ?
mandrav:
No, it's just that the project file is not up-to-date.
Add plugins/debuggergdb/disassemblydlg.* and plugins/debuggergdb/backtracedlg.* to the project (in the debugger plugin target).
Yiannis.
DaRkZeAlOt:
Strange, i added aswell backtracedlg.cpp as disassemblydlg.h and checked them but i still getting exactly the same error message ...
Navigation
[0] Message Index
[#] Next page
Go to full version