.NET C++ linker problem

joneian

New member
Joined
Oct 4, 2004
Messages
1
Hi, having problems getting Visual Studio .NET working with C++: in Project settings, the Linker command line options, dont match what i have entered in Input > Additional Dependancies. some of the libraries are missing, some of the paths are cut off.
If I cut down the number of libraries (to less than 35ish) they are all there correctly - but any more and it goes haywire.
Excatly the same project file works fine on another install of .NET on another PC.

It makes no sense... is there a limit to the number of libraries you can include? but then why does it work on my friends pc??

Linker -> Input -> Addintional Dependencies

-----------------------------------------------------------------
$(MARTINI_ROOT)/debug/TradeInterfaced.lib
wsock32.lib
$(SOURCEPRO6_ROOT)/lib/dbt15d.lib
$(SOURCEPRO6_ROOT)/lib/factory15d.lib
$(SOURCEPRO6_ROOT)/lib/functor15d.lib
$(SOURCEPRO6_ROOT)/lib/functor_list15d.lib
$(SOURCEPRO6_ROOT)/lib/functor_map15d.lib
$(SOURCEPRO6_ROOT)/lib/i18n15d.lib
$(SOURCEPRO6_ROOT)/lib/itc15d.lib
$(SOURCEPRO6_ROOT)/lib/pointer15d.lib
$(SOURCEPRO6_ROOT)/lib/serial15d.lib
$(SOURCEPRO6_ROOT)/lib/streams15d.lib
$(SOURCEPRO6_ROOT)/lib/sync15d.lib
$(SOURCEPRO6_ROOT)/lib/thread15d.lib
$(SOURCEPRO6_ROOT)/lib/threxcept15d.lib
$(SOURCEPRO6_ROOT)/lib/tls15d.lib
$(SOURCEPRO6_ROOT)/lib/trace15d.lib
$(SOURCEPRO6_ROOT)/lib/types15d.lib
$(SOURCEPRO6_ROOT)/lib/xmlabstractions15d.lib
$(SOURCEPRO6_ROOT)/lib/xmlstreams15d.lib
"$(MQSERIES_ROOT)/tools/lib/mqic32.lib"
$(MARTINI_ROOT)/debug/AppModeld.lib
$(MARTINI_ROOT)/debug/Commond.lib
$(MARTINI_ROOT)/debug/CreditInterfaced.lib
$(MARTINI_ROOT)/debug/DataClassd.lib
$(MARTINI_ROOT)/debug/DataModeld.lib
$(MARTINI_ROOT)/debug/DBFactoryd.lib
$(MARTINI_ROOT)/debug/martrtt32d.lib
$(MARTINI_ROOT)/debug/FinModeld.lib
$(MARTINI_ROOT)/debug/Moneyd.lib
$(MARTINI_ROOT)/debug/MsgServiced.lib
$(MARTINI_ROOT)/debug/Publisherd.lib
$(MARTINI_ROOT)/debug/RiskModeld.lib
$(MARTINI_ROOT)/debug/RealTimeLibraryd.lib
$(MARTINI_ROOT)/debug/RTTd.lib
$(MARTINI_ROOT)/debug/TradeEntryModeld.lib
$(MARTINI_ROOT)/debug/TradeServerd.lib
$(MARTINI_ROOT)/debug/StandardMsgFiled.lib
$(MARTINI_ROOT)/debug/TradeEntryModelInterfaced.lib
$(MARTINI_ROOT)/debug/zlib114d.lib
c:/src/FrameworkLibrary/debug/FrameworkLibraryd.lib
-------------------------------------------------------------------------

command Line -> All options

----------------------------------------------------------------------
/OUT:"c:\src\DownstreamController\Debug/DownstreamController.exe" /INCREMENTAL /NOLOGO /NODEFAULTLIB:"LIBCD" /NODEFAULTLIB:"LIBCID" /DEBUG /PDB:"c:\src\DownstreamController\Debug/DownstreamController.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 w/debug/TradeInterfaced.lib C:\development\Martini_5.1b480\Bin\Windows\toolkit/debug/TradeServerd.lib C:\development\Martini_5.1b480\Bin\Windows\toolkit/debug/StandardMsgFiled.lib C:\development\Martini_5.1b480\Bin\Windows\toolkit/debug/TradeEntryModelInterfaced.lib C:\development\Martini_5.1b480\Bin\Windows\toolkit/debug/zlib114d.lib c:/src/FrameworkLibrary/debug/FrameworkLibraryd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
----------------------------------------------------------------------
 
Back
Top