Compiling msise90 separately

Discussion of compilation configuration and issues

Compiling msise90 separately

Postby aIsmail » Thu May 21, 2015 6:06 pm

I am building my own propagator and I need to compile msise90_sub.for separately to use it in my code. I tried to use msise_sub.c and included f2c.h. I got the following errors
1>Msise90Atmosphere.obj : error LNK2001: unresolved external symbol _gtd6_
1>msise90_sub.obj : error LNK2001: unresolved external symbol _e_wsfe
1>msise90_sub.obj : error LNK2001: unresolved external symbol _do_lio
1>msise90_sub.obj : error LNK2001: unresolved external symbol _do_fio
1>msise90_sub.obj : error LNK2001: unresolved external symbol _e_wsle
1>msise90_sub.obj : error LNK2001: unresolved external symbol _s_wsfe
1>msise90_sub.obj : error LNK2001: unresolved external symbol _r_mod
1>msise90_sub.obj : error LNK2001: unresolved external symbol _pow_dd
1>msise90_sub.obj : error LNK2001: unresolved external symbol _r_lg10
1>msise90_sub.obj : error LNK2001: unresolved external symbol _s_wsle
1>msise90_sub.obj : error LNK2001: unresolved external symbol "double __cdecl log(double)" (?log@@YANN@Z)
1>msise90_sub.obj : error LNK2001: unresolved external symbol "double __cdecl exp(double)" (?exp@@YANN@Z)
1>msise90_sub.obj : error LNK2001: unresolved external symbol "double __cdecl sin(double)" (?sin@@YANN@Z)
1>msise90_sub.obj : error LNK2001: unresolved external symbol "double __cdecl cos(double)" (?cos@@YANN@Z)
1>C:\Users\Mohamed\Dropbox\Masters\C++_Codes\1505\Msis90\Release\Msis90.exe : fatal error LNK1120: 14 unresolved externals
aIsmail
 
Posts: 7
Joined: Tue Jan 13, 2015 8:47 am

Re: Compiling msise90 separately

Postby jjkparker » Wed May 27, 2015 1:53 am

Hi, to compile MSISE-90 separately, I would use the original source code:

ftp://hanna.ccmc.gsfc.nasa.gov/pub/mode ... s/msise90/

Not GMAT's version.
Joel J. K. Parker
Flight dynamics engineer, GMAT team
http://gmatcentral.org
jjkparker
 
Posts: 617
Joined: Thu Jan 07, 2010 9:48 pm
Location: NASA Goddard Space Flight Center, Greenbelt, MD

Re: Compiling msise90 separately

Postby aIsmail » Wed Jun 03, 2015 3:37 pm

MSISe-90 is available only as a Fortran version. I need to compile it as a part of a C++-written propagator.
aIsmail
 
Posts: 7
Joined: Tue Jan 13, 2015 8:47 am


Return to Compiling GMAT

Who is online

Users browsing this forum: No registered users and 4 guests

cron