William Thayer | 1 Oct 21:29
Favicon

compiling mod source code

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 
(Continue reading)

Frédéric BOIS | 5 Oct 09:02
Picon
Favicon

Rép. : Bug-mcsim Digest, Vol 17, Issue 1

Hello!

All files in the mod folder should be used, except model.c (if one is
there) and ref_model.c. model.c
files are outputs from the mod executable (tey should be linked with
sim/ files or the libmcsimso library.
You may want to look at the makefile (eventhough you are not using it)
to see what it does for Unix/Linux.
Best regards.

F. Bois

==========================
Frederic Y. Bois,
Unite de Toxicologie Experimentale, responsable
INERIS
Parc ALATA, BP 2
5, rue Taffanel
60550 Verneuil en Halatte
FRANCE
tel: + 33 (0)3 44 55 65 96
fax: + 33 (0)3 44 55 66 05
email: frederic.bois <at> ineris.fr
web: http://www.ineris.fr, http://toxi.ineris.fr

>>> bug-mcsim-request <at> gnu.org Samedi 2 Octobre 2004 18:02:02 >>>
---------------------------------------------------------------------

Message: 1
Date: Fri, 01 Oct 2004 15:29:08 -0400
(Continue reading)


Gmane