News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cannot build after moving to ubuntu 9.10

Started by cecilio, January 05, 2010, 08:56:34 PM

Previous topic - Next topic

cecilio

I'm trying to compile and build an app. using wxWidgets. The app. compiled and linked ok in 8.04 and 9.04 but after moving to 9.10 I no longer can build. I get the following error:

Linking executable: ../../z_gtk_debug/lenmus
/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 1 warnings


I have uninstalled and reínstalled C::B but the error continues. Any help please? my knowledge of linux is minimal!

Cecilio
Cecilio
www.lenmus.org

oBFusCATed

Do you have the -dev packages of the lib you try to link?
(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!]

cecilio

Thanks for answering.

Quote from: oBFusCATed on January 05, 2010, 10:03:27 PM
Do you have the -dev packages of the lib you try to link?

Sorry, but my knowledge of Linux is minimal. I don't understand what you said "the -dev packages of the lib". :shock: How can I check if I have 'that'?

I'm not trying explicitly to link to that library. I'm assuming it is required by something unknown to me, wxWidgets or any other thing. :(

I've been using CodeBlock to build my app. for three years and never had this problem! It is something related to moving to 9.10. I upgraded two days ago and since them I'm having this problem!

Thank you
Cecilio
www.lenmus.org

oBFusCATed

You need wxgtk-dev, wxwidgets-dev or something like that, I'm not an ubuntu user.
Please learn how to install things on you linux distro, there is plenty of info on the net.
(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!]

cecilio

Thanks. I installed libgtk-dev and that solved the problem.

Thank you.
Cecilio
Cecilio
www.lenmus.org