I use PGF 7.0-4 in MS Visual Studio 2005.
I have a bunch of files from which I want to build a library. I start a new project, choose static library as project type. The build is successful and the library is created in C:\test\library\libaz.lib
Next I build another project that makes use of libaz.lib. No matter what I did, libaz.lib is not found by the linker. Here’s what I have tried:
-LC:\test\library\libaz.lib (upper case L)
-LC:\test\library\ (upper case L)
-lC:\test\library\libaz.lib (lower case l)
When I use lower case l the compiler complains: not found libC:\test\library\libaz.lib because it adds “lib” to my actual path for libaz.lib
If I use only -laz.lib, then the compiler complains not found libaz.lib
Please help me, where should I declare my library? how to prevent the compiler to prepend lib to the library?