Error in VS .NET generated IDE file?

Help
zin
2007-01-11
2013-04-24
  • zin
    zin
    2007-01-11

    Hi

    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

    Regards
    Hassan Mehmet