User forums > Help

Q) how can i setup codeblocks with wxWidgets correctly on Linux

(1/1)

Rakan:
Hello
I am using Ubuntu hardy heron linux distro and i installed wxwidgets along with codeblocks... but i am getting various errors about file not found and DwxUSE_GUI=0 while trying to make an application.

What are the steps required in order to use wxwidgets with codeblocks and compile correctly?

Thanks,
Rakan

hd:
Hi,

Maybe your setup is faulty?

We have same os. I got wx from "http://apt.wxwidgets.org/hardy-wx main" and cb from "http://lgp203.free.fr/ubuntu/hardy universe".

Using "File-New project-wxWidgets project" wizard generates a working project file for me. Magic settings are:
compiler: `wx-config --cflags`
linker: `wx-config --libs`

You may check these setting from shell (removing `'s).

--
Regards,
Hakki Dogusan

Navigation

[0] Message Index

Go to full version