Author Topic: Compilation in BSD ?  (Read 3042 times)

Offline saevar

  • Single posting newcomer
  • *
  • Posts: 4
Compilation in BSD ?
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Compilation in BSD ?
« Reply #1 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...
« Last Edit: March 15, 2010, 05:39:02 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline saevar

  • Single posting newcomer
  • *
  • Posts: 4
Re: Compilation in BSD ?
« Reply #2 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

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Compilation in BSD ?
« Reply #3 on: March 15, 2010, 04:57:32 pm »
Code::Blocks 8.04 is available in the FreeBSD Ports tree...

See also wiki:Installing_Code::Blocks_from_source_on_FreeBSD