User forums > Using Code::Blocks
Unix/Linux makefiles should use wx-config - don't hard code the WX library name
stodge:
The Unix/Linux makefile doesn't work properly in that it doesn't link correctly and fails to find the STC library (this is wxWidget s 2.6.x I think). The solution should be to use wx-config instead of hard coding the library into the makefile. To get the link to work I had to add the location of the STC library to the makefile by hand.
Urxae:
--- Quote from: stodge on August 30, 2005, 01:49:58 pm ---The Unix/Linux makefile doesn't work properly in that it doesn't link correctly and fails to find the STC library (this is wxWidget s 2.6.x I think). The solution should be to use wx-config instead of hard coding the library into the makefile. To get the link to work I had to add the location of the STC library to the makefile by hand.
--- End quote ---
Not finding STC should no longer be a problem in the CVS version: STC is no longer used.
stodge:
Cool! Does the CVS version run under Linux with wxWidgets 2.6.1? Or does it still not support that release? If it does run, I'll grab a CVS copy.
mandrav:
--- Quote from: stodge on August 30, 2005, 02:08:45 pm ---Cool! Does the CVS version run under Linux with wxWidgets 2.6.1? Or does it still not support that release? If it does run, I'll grab a CVS copy.
--- End quote ---
Unfortunately, the Linux version runs correctly with wx2.4.
With wx2.6, segfaults early in the process and no solution has been found yet...
stodge:
Bummer - that means I can't use codeblocks. :(
Is there a description of the problem anywhere?
Navigation
[0] Message Index
[#] Next page
Go to full version