Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling multiple projects

Status
Not open for further replies.

komyg

Programmer
Dec 13, 2005
68
0
0
BR
Hi, I have a created a solution on Visual C++ 2008 Express that has 3 projects inside it. Project A generates a static library (A.lib), project B references A and generates a dynamic library (B.dll) and project C references both A and B and generates an executable (C.exe).

The problem is that whenever I try to compile the solution I get the following error:
Code:
.\stdafx.cpp : fatal error C1113: #using failed on 'c:\itautec\central biometrica\c++\testebiometria\framework\output\A.lib'

I have included project A's output folder in project C's Linker property: "Additional Library Directories".

What should I do to compile this program correctly.

Thanks,
Komyg
 
Go to program dependencies. For project C, put a dependency on B. For project B put a dependency on A.
 
Sorry, I meant project dependencies: not program dependencies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top