PDA

View Full Version : MSVC no .lib created



magland
12th February 2008, 17:23
This is driving me crazy.

I have two shared library projects, they both use identical configuration:
TEMPLATE = lib
CONFIG += qt dll release

I am compiling with MSVC on the command line using nmake.

* In one case .dll and .lib are both created (That's good because .lib is needed at compile time, and .dll is needed at run time).
* In the other case, only .dll is created :(

Any ideas? Shouldn't .lib always be created?

jacek
12th February 2008, 19:04
Any ideas? Shouldn't .lib always be created?
It should.

When do the second case occur? Or does it happen randomly?

jpn
12th February 2008, 19:56
Any ideas? Shouldn't .lib always be created?
I think I've bumped into this problem in the past and it might've been a missing export...

magland
13th February 2008, 12:32
I think I've bumped into this problem in the past and it might've been a missing export...

Yes, that was it. It would have taken me a long time to find it without your help.
Thanks!