User forums > Using Code::Blocks
Unix/Linux makefiles should use wx-config - don't hard code the WX library name
grv575:
trying to compile on linux (2.6). needed to patch wxscintilla (attached) and add wxscintilla stuff to makefile (still not 100% working though - msvcworkspacebase.cpp not included or something). Had to define -DGTK among other stuff (current Makefile.unix.wx26 attached). Anyone else built this with wxscintilla on linux yet, or want to give it a try?
I'll try again later, but if s/o already has it working plz post/update needed changes.
[attachment deleted by admin]
byo:
Hi, I've successfully compiled C::B on Linux, wx 2.6.1 - and it works :)
The only changes were in projct settings, nothing more ;)
I've attached makefile and .cbp (I've removed call to doxygen since I haven't got)
[attachment deleted by admin]
xjluo:
Thanks to byo. It works on my Debian Sarge Linux with wxWidgets 2.6.1 ! :) I compile C::B and run it successfully.
BTW, byo, you forgot to replace you home path in the Makefile. So, it fails on the last step to generate CodeBlocks-unix-wx2.6.0. The generated codeblocks.exe works!
IMPORTANT: Download the CVS version at first!
I will try it later on my Mac.
Thanks again.
mandrav:
--- Quote from: byo on August 31, 2005, 12:24:36 am ---Hi, I've successfully compiled C::B on Linux, wx 2.6.1 - and it works :)
The only changes were in projct settings, nothing more ;)
I've attached makefile and .cbp (I've removed call to doxygen since I haven't got)
--- End quote ---
byo, you 'll be entering the hall of fame :lol:
Navigation
[0] Message Index
[*] Previous page
Go to full version