#pragma for .lib

Started by
2 comments, last by All8Up 12 years, 2 months ago
Ims curious, is it even possible to specify a specific FOLDER location when using the following pragma?

#pragma comment(lib, "C:\Folder\library.lib")

ive tried every possible combination and cannot get it to work :( pretty much im wanting to link to a .lib located in a different folder
Advertisement
What combinations did you try? Did you try using / instead of \ or \\ instead of \?
yea tried them :(
you can't specify path in that lib comment. The path needs to be in the linker include dir settings separately. The pragma strips the path as I understand it.

This topic is closed to new replies.

Advertisement