I have a VC++ project in VS2005 as follows:
Setup:
- one win 32 console exe as the start-up/entry point
- three other DLL projects....that all compile
console has references to the 3 DLLs, as seen in exe\CommonProperties\References. The FullPath path of each DLL project shows path to the DLL, (ie lib1.dll) for the project lib1. The same for lib2 and lib3 projects.
for win32 exe: ...\Configuration Properties\"C/C++"\General\Additional Include Directories includes is SolutionFolder\Lib1. ConfigProperties\Linker\General\Additional Library Directories is also SolutionFolder\Lib1
Issue:
In Configuation Properties\Debugging\Environment\Macros\References I only see references for LIB2.DLL
and LIB3.DLL
, not LIB1.DLL
Compilaton:
All three DLL projects compile fine.
Link Error:
Fatal error LNK1104: cannot open file '..\debug\boostlib1.lib
**Why is linker looking for a lib file (I.e. lib1.lib) instead of lib1.dll
Is this some type of path issue?
How come I do not see the reference for lib1 in Config\Props\Debugging\Environment\Macros\References
?
Note:
- I am using Boost 1_39 in lib1
- win32 exe references lib1, lib2, lib3
- lib3 references lib2 & lib3
- stdafx.h in win32 exe proj has a #pragma once directive