User forums > Help
[solved]Trying to compile codeblocks
visir:
Tried to compile codeblocks, looks like I should compile wxWidgets too.
When I tried to compile it, I got those errors during linking:
.objs\sdk\newfromtemplatedlg.o:newfromtemplatedlg.cpp:(.text+0x1785): undefined reference to `_imp___ZN10wxListCtrl9SortItemsEPU7stdcallFilllEl'
.objs\sdk\pluginsconfigurationdlg.o:pluginsconfigurationdlg.cpp:(.text+0xabe): undefined reference to `_imp___ZN10wxListCtrl9SortItemsEPU7stdcallFilllEl'
Googling `_imp___ZN10wxListCtrl9SortItemsEPU7stdcallFilllEl' showed this:
https://github.com/Alexpux/MINGW-packages/issues/1688
oBFusCATed:
Yes, you should and make sure you use the same compiler.
There is a wiki page that describes the process of compiling c::b.
visir:
This one? http://wiki.codeblocks.org/index.php/FAQ-Compiling_(general)
Downloaded wxMSW 2.8.12 installer from https://www.wxwidgets.org/downloads/, no makefile.gcc inside.
I mean, docs here http://www.codeblocks.org/downloads/source and here http://wiki.codeblocks.org/index.php/FAQ-Compiling_(general) should be updated (since they mention makefile.gcc), precompiled wxMSW from here http://www.codeblocks.org/downloads/source should be updated with recompiled one (if problem really is in that), and probably it's time to move to wxWidget 3.0.3 or 3.1.0 anyway.
stahta01:
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows
Edit1: Added link to my Wiki page it is NOT complete.
https://github.com/stahta01/stahta01.github.io/wiki/Flags-to-build-wxWidgets-using-makefile.gcc
Tim S.
Murawavhu:
When I create a project it gives me an error. I have tried fixing the error using some methods here, I even reinstalled codeblocks a few times.
The error says "COULDN'T CREATE THE PROJECT DIRECTORY
Navigation
[0] Message Index
[#] Next page
Go to full version