I have recently been building log4cxx (which depends on cpptasks). When I tried to generate Visual Studio 2005 projects (msvc8), some of the projects created would not build. The projects that failed were ones that created an executable.
The error message was
LINK : fatal error LNK1181: cannot open input file '.obj'
After some investigation I found that the problem was in the project's "Configuration Properties".
The libraries specified in Linker->Input->AdditionalDependencies were separated by a semi-colon. By replacing these with spaces the build then worked.
I investigated cpptasks further and found that this separator is written in net.sf.antcontrib.cpptasks.devstudio.VisualStudioNETProjectWriter.getAdditionalDependencies()
I believe the semi-colon needs to be replaced with a space character
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.