Instead of -ldismgc try putting in c:\dev-c++\lib\libdismgc.a
If this doesn't work, check all your source files for any uncommented
rubbish (especially at the top of the file where you don't usually look) and
make sure you are compiling for win32 (no console).
I hope you manage to fix your problem,
Ramana
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Miguel Nunes
da Silva
Sent: Thursday, January 11, 2001 4:42 AM
To: Dev-C++
Subject: [Dev-C++] Usage of a library
Hello everybody!
Here´s my problem:
I´m trying to use "dislin" graphical library that, in anticipation, I
had put in the "\Dev-C++\lib" directory. So I wrote
-ldismgc
in Project options - Futher object files.
At link time it gives errors like these:
C:\DEV-C_~1\LIB\\libdismgc.a(wgini.o)(.text+0x4890):wgini.c: undefined
reference to `GetStockObject@4'
C:\DEV-C_~1\LIB\\libdismgc.a(wgini.o)(.text+0x4960):wgini.c: undefined
reference to `GetTextMetricsA@8'
C:\DEV-C_~1\LIB\\libdismgc.a(wgini.o)(.text+0x4985):wgini.c: undefined
reference to `DeleteDC@4'
Could anyone explain me what´s happening, please?
By the way, what are those .def files, in "\Dev-C++\lib", for?
Many thanks,
Miguel.
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users
|