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
From: William Thayer <thayer <at> syrres.com>
Subject: compiling mod source code
To: bug-mcsim <at> gnu.org 
Cc: thayer <at> syrres.com 
Message-ID: <5.1.0.14.2.20041001151756.01d19a88 <at> apollo.syrres.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed

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

Gmane