Help to solve link error in VC++

General discussion about Celestia that doesn't fit into other forums.
Topic author
ajitha
Posts: 1
Joined: 02.05.2007
With us: 17 years 6 months

Help to solve link error in VC++

Post #1by ajitha » 02.05.2007, 08:08

Hello

Am doing project in wireless sensor networks using OMNeT++ tool., for this VC++ compiler is used.

I have installed OMNeT++ 2.3 version and VC++ 6.0 version
After running my source code in command window it is showing the following error.
Please someone help to solve this. Thank You.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\VLSILAB>cd C:\OMNeT++\bin\LSU-SensorSimulator

C:\OMNeT++\bin\LSU-SensorSimulator>vcvars32.bat
Setting environment for using Microsoft Visual C++ tools.
C:\OMNeT++\bin\LSU-SensorSimulator>opp_nmakemake
opp_nmakemake: use -f to force overwriting existing Makefile.vc

C:\OMNeT++\bin\LSU-SensorSimulator>nmake -f Makefile.vc

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

link.exe /nologo /subsystem:console /machine:I386 /pdbtype:sept /increme
ntal:no /libpath:C:/OMNeT++/lib envir.lib tkenv.lib tcl84.lib tk84.lib /libp
ath:"C:/OMNeT++/lib" sim_std.lib /out:LSU-SensorSimulator.exe
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
LSU-SensorSimulator.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

C:\OMNeT++\bin\LSU-SensorSimulator>

Return to “Celestia Users”