bug-mcsim
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling mod source code


From: William Thayer
Subject: compiling mod source code
Date: Fri, 01 Oct 2004 15:29:08 -0400

Hello,

Which files in the 'mod' folder are needed to create an executable mod file? I receive the following error messages when I attempt to build an executable with Microsoft C++:

***************************************************************************************
--------------------Configuration: mod2 - Win32 Debug--------------------
Linking...
mod.obj : error LNK2001: unresolved external symbol _WriteModel
mod.obj : error LNK2001: unresolved external symbol _ReadModel
Debug/mod2.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

mod2.exe - 3 error(s), 0 warning(s)
********************************************************************************************

If I load all of the files in the mod directory into the C++ project, and then try to build a Win32 console application, I receive the following error message:

*******************************************************************************************************************************************************
--------------------Configuration: mod2 - Win32 Debug--------------------
Compiling...
model.c
c:\documents and settings\thayer\my documents\mcsim\mod\model.c(80) : fatal error C1083: Cannot open include file: 'random.h': No such file or directory
ref_model.c
c:\documents and settings\thayer\my documents\mcsim\mod\ref_model.c(80) : fatal error C1083: Cannot open include file: 'random.h': No such file or directory
Error executing cl.exe.

mod2.exe - 2 error(s), 0 warning(s)

*********************************************************************************************************************************************************


Please keep in mind that this is my first attempt to build a C++ executable.


Thanks in advance,
Bill





reply via email to

[Prev in Thread] Current Thread [Next in Thread]