Did you link to the right library, i.e. give a compiler command line option something like
-lxyz
where libxyz.a is what you are trying to link? You have to actively link specific libraries, just giving it a path is not sufficient. The path just enables the command I gave you to find libxyz.a.
Note you link the library, not the file name of the library.
Your error also may indicate that you did not include the right header file, what did you
#include in your code?
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the lib-path is certainly wrong, I must be something lik that:
d:\wingtk\lib (where the .a files are; libpath doesn't require runtime lib)
as Wayne said: -lxyz or L:"x:\fullpath\libxyz.a"
If the systempath are not set completly, you can use the path for Binaries. (I set it to be able to exec a programm using PCRE-dll without changing systempath or DLL-copy).
Patrick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed GTK+ PACKAGE. AND SET the inlude path.
Also I installed the GTK runtime.exe
I noticed that GTKRUNTIME SETUP create some folders in c:\windows\system32\lib.
so I also set the lib path to c:\windows\system32\lib.
but lots of linker error list.
here is one of them:
[Linker error] undefined reference to `g_print'.
Did you link to the right library, i.e. give a compiler command line option something like
-lxyz
where libxyz.a is what you are trying to link? You have to actively link specific libraries, just giving it a path is not sufficient. The path just enables the command I gave you to find libxyz.a.
Note you link the library, not the file name of the library.
Your error also may indicate that you did not include the right header file, what did you
#include in your code?
Wayne
the lib-path is certainly wrong, I must be something lik that:
d:\wingtk\lib (where the .a files are; libpath doesn't require runtime lib)
as Wayne said: -lxyz or L:"x:\fullpath\libxyz.a"
If the systempath are not set completly, you can use the path for Binaries. (I set it to be able to exec a programm using PCRE-dll without changing systempath or DLL-copy).
Patrick