User forums > Using Code::Blocks

Linking error on debian

<< < (2/2)

Anonymous:
I am using 2.4.2 - as i was told in the tutorial.
ok, i know the right way is to register - as soon as i found a name thats unique in all forums i am registered - I will register. In some forums i am called seitan.

Anonymous:
got the same error in ubuntu hoary, just changing the lines (at the beginning of Makefile.unix):
LIB_WXSTC=wx_gtk2_stc-2.4
LIB_WXXRC=wx_gtk2_xrc-2.4

to:

LIB_WXSTC=wx_gtk_stc-2.4
LIB_WXXRC=wx_gtk_xrc-2.4

did it for me.
why is that there anyway, shouldn't wx-config take care of things like this?

-raven (who's also getting an account soon, but hates registering at thousand different forums, mailing lists are such a nice thing...)

mandrav:

--- Quote ---why is that there anyway, shouldn't wx-config take care of things like this?
--- End quote ---

Last time I checked, wx-config was not aware of the "contrib" libs included in wxWidgets.
I may be wrong though...

Yiannis.

Anonymous:
@raven: ok, after renaming it worked!

but then i got errors on start of codeblocks (missing libs).
after "ldconfig" they were gone. (nothing was added manually in /etc/ld.so.conf - like the wiki told for fedora users)
then i tried to use the original makefile and it worked.
so we need a simple "ldconfig" for debian users.

"dos2unix -n update update.unix"
didn't worked here.
i used "dos2unix -d update"

seitan

Anonymous:
i had similar problem before i found the libraries installed in /usr/local/lib only have libwx_gtk2_xrc-2.5.so and libwx_gtk_stc-2.4.so.
so i modified Makefile.unix

LIBS_WXSTC=wx_gtk_stc-2.4
LIBS_WXXRC=wx_gtk2_xrc-2.5

and recompiled without any errors.

Navigation

[0] Message Index

[*] Previous page

Go to full version