[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Rép. : Bug-mcsim Digest, Vol 17, Issue 1
From: |
Frédéric BOIS |
Subject: |
Rép. : Bug-mcsim Digest, Vol 17, Issue 1 |
Date: |
Tue, 05 Oct 2004 09:02:09 +0200 |
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: address@hidden
web: http://www.ineris.fr, http://toxi.ineris.fr
>>> address@hidden Samedi 2 Octobre 2004 18:02:02 >>>
---------------------------------------------------------------------
Message: 1
Date: Fri, 01 Oct 2004 15:29:08 -0400
From: William Thayer <address@hidden>
Subject: compiling mod source code
To: address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Rép. : Bug-mcsim Digest, Vol 17, Issue 1,
Frédéric BOIS <=