Code::Blocks Forums

User forums => Help => Topic started by: saevar on March 15, 2010, 12:01:49 pm

Title: Compilation in BSD ?
Post by: saevar on March 15, 2010, 12:01:49 pm
Hello there,
i tried compile Code::Blocks from source to PCBSD 8.0, but cannot go around wxWidget thing.
PCBSD has no wxWidget, it uses wxgtk2Widgets.
Is there posibility to avoid this problem to use Code::Blocks under BSD ?
With regards
Vilem
Title: Re: Compilation in BSD ?
Post by: oBFusCATed on March 15, 2010, 12:23:11 pm
Do you have wx-config?
wx-config is an application/script that returns the parameters needed to link/compile wxwidgets base software.

Edit: spelling corrections...
Title: Re: Compilation in BSD ?
Post by: saevar on March 15, 2010, 01:24:03 pm
Hello there.
in BSD it is not /usr/bin/wx-config but /usr/local/bin/wxgtk2-<ver>-config.(from ports x11-toolkit/wxgtk2-<version>-common)
But only needed now is make symlink to /usr/bin/wx-config -> ln -s /usr/local/bin/wx-gtk2-2.8-config /usr/bin/config.
Thank You for showing me right way, i'll refer about this excelent IDE to collegues.
Vilem
Title: Re: Compilation in BSD ?
Post by: afb on March 15, 2010, 04:57:32 pm
Code::Blocks 8.04 is available in the FreeBSD Ports (http://www.freebsd.org/cgi/ports.cgi?query=codeblocks) tree...

See also wiki:Installing_Code::Blocks_from_source_on_FreeBSD (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_FreeBSD)