Re: [Dev-C++] Cannot find library under Windows



It isn't enough to specify which directory a library is in. You must add a
-lxx to the link parameters, where xx is the name of the library your
project should use.

/Per W

On Sun, 23 May 2004, Alf C Stockton wrote:


I have developed a C GTK+2 program in Linux which I now need to port to Windows.
I decided to use Dev-C++ and all compiles well but despite the library,
gtk-win32-2.0 being in the Dev-C++\lib directory and the Dev-C++ project
library directory pointing to this directory the link fails telling me
gtk_main_exit cannot be found.
What have I forgotten to do ?



---

Regards,
Alf Stockton  www.stockton.co.za

A day for firm decisions!!!!!  Or is it?


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Dev-cpp-users mailing list
Dev-cpp-users lists sourceforge net
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]