[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] code-blocks
From: |
Zdenek Hutyra |
Subject: |
Re: [Mingw-cross-env-list] code-blocks |
Date: |
Wed, 13 Jan 2010 18:07:51 +0100 |
Hello
Order of libraries is important. Simple trick of entering them twice works for
me.
... `pkg-config --libs gtk+-2.0` `pkg-config --libs gtk+-2.0`
ZH
______________________________________________________________
> Od: "salsa lover" <address@hidden>
> Komu: address@hidden
> Datum: 13.01.2010 17:12
> Předmět: [Mingw-cross-env-list] code-blocks
>
>Hello !
>
>I installed the cross compiler on a debian following the tutorial
>successfully. However I'm only able build the most simple hello world
>program.
>I have source that uses gtk and libssh2 but nothing links, i'm getting all
>sorts of undefined refrence errors. I have correctly configured .pc file for
>libssh2 pkg-config. I'm integrating cross build into code-blocks as well by
>the way, but i don't see why should this be an issue. I've done this before
>with
>repo mingw32-cross env successfully, i did not stick with it because your
>libs are more up to date. Why does'nt it find and link with installed libs ?
>(gtk, jpeg,cairo?)
>(I have path set in the IDE to libs and include as well)
>
>Thanks
>
>