#358 <solution> link error

0.85
closed-fixed
Tasks (408)
5
2005-04-07
2005-04-06
Ray Johnson
No

In one of our projects (we want to compile with the
<solution> tage we are getting an error like this:

[link] "libeay32.lib"
[link] "advapi32.lib"
[link] "zlibd.lib"
[link] "$(noinherit)"
...
[link] "shell32.lib"
[link] "ole32.lib"
[link] "oleaut32.lib"
[link] "uuid.lib"
[link] "odbc32.lib"
[link] "odbccp32.lib" [link]
[link] Starting 'link (@"C:\DOCUME~1
\rayj\LOCALS~1\Temp\tmp7E9.
tmp" /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /M
ACHINE:X86)' in 'C:\src\devtrunk\FullT
ilt\FT_Server\FTS_Casino'
[link] LINK : fatal error LNK1181: cannot
open input file '$(noinherit).obj'

BUILD FAILED

In our VS.Net project configuration "Linker->Input-
>Additional Dependancies" we have our list of additional
libraries we want to include - this includes the
$(NOINHERIT) macro. (This gets set if youhit the "..."
box and uncheck the "Inherit from project defaults"
checkbox.)

It appears that Nant is not honoring this macro (at least
not in this context.) If this macro is set we also should
not be attempting to link in many of the libraries listed
above (those shown after where the $(noinherit) macro
shows up).

Ray

Discussion

  • Ray Johnson

    Ray Johnson - 2005-04-06

    Logged In: YES
    user_id=1246077

    BTW, this was a C++ project - if that makes a difference.

     
  • Gert Driesen

    Gert Driesen - 2005-04-07
    • labels: --> Tasks
    • milestone: --> 0.85
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2005-04-07

    Logged In: YES
    user_id=707851

    This is now fixed in cvs.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks