- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This is what I did:
1. Downloaded dl_10_ic
2. Open Intel Visual Fortran in Visual Studio 2010
3. Created a console empty project
4. Created a new f90 source as posted on DISLIN website example:
PROGRAM TEST
USE DISLIN
CALL DISINI ()
CALL MESSAG ('This is a test', 100, 100)
CALL DISFIN ()
END PROGRAM TEST
5. Added as an exisitng source dislin.f90
6. Build the project
7. Got the following error messages:
1>Source2.obj : error LNK2019: unresolved external symbol _DISINI referenced in function _MAIN__
1>Source2.obj : error LNK2019: unresolved external symbol _MESSAG referenced in function _MAIN__
1>Source2.obj : error LNK2019: unresolved external symbol _DISFIN referenced in function _MAIN__
1>Debug\\Console7_dislin.exe : fatal error LNK1120: 3 unresolved externals
It looks like the dislin.f90 is ignored.
I am new with Visual Studio and I might have had ommitted something.
Please advise
Thank you
Katto
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you build the dislin library (if you didn't find it pre-built) and add it to the library dependencies of your project?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page