PDA

View Full Version : graphics functions errors


QD188
05-09-2004, 03:19 PM
I'm trying to compile some fortran 77 code but get the following errors

HELP.obj : error LNK2001: unresolved external symbol _plots_
MAIN.obj : error LNK2001: unresolved external symbol _plots_
PLOT.obj : error LNK2001: unresolved external symbol _plots_
HELP.obj : error LNK2001: unresolved external symbol _ixkey_
MAIN.obj : error LNK2001: unresolved external symbol _ixkey_
QPS.obj : error LNK2001: unresolved external symbol _ixkey_
HELP.obj : error LNK2001: unresolved external symbol _gtext_
MAIN.obj : error LNK2001: unresolved external symbol _gtext_
PLOT.obj : error LNK2001: unresolved external symbol _gtext_
HELP.obj : error LNK2001: unresolved external symbol _newpen_
MAIN.obj : error LNK2001: unresolved external symbol _newpen_
PLOT.obj : error LNK2001: unresolved external symbol _newpen_
HELP.obj : error LNK2001: unresolved external symbol _plot_
MAIN.obj : error LNK2001: unresolved external symbol _plot_
PLOT.obj : error LNK2001: unresolved external symbol _plot_
HELP.obj : error LNK2001: unresolved external symbol _fill_
PLOT.obj : error LNK2001: unresolved external symbol _fill_
PLOT.obj : error LNK2001: unresolved external symbol _circle_

can anyone tell me what compiler to use to get my code working cause it'll save me alot of time as I'm currently porting the code to C

tzeis
05-10-2004, 06:48 PM
This looks it was written with our old EM/32 Fortran 77 compiler using the video graphics library. As far as I know, this isn't available anymore, but if you ask around on one of the Fortran forums, you might find somebody that has an old copy that they would be willing to sell you. Since you are porting, how far do you want to go to get the old Fortran graphics working? Would it be feasible to comment out the graphics calls, and just check to make sure you are getting the right numbers?

QD188
05-11-2004, 09:33 AM
as far as porting goes, I just need to know what these functions do so I can replicate them in C. I've done a search and these functions are supposedly available on WiSK in LF95 v5.5. Can u verify this?

I need a compiler which will function on Windows XP. Does the old compiler you recommend work on that OS? If I can get a compiler to compile the fortran code I don't have to port the code anymore

tzeis
05-11-2004, 05:30 PM
The LF95 compiler runs on all the recent Windows operating systems, including XP. The LF95 Professional edition comes with an emulation library as part of the bundled Winteracter Starter Kit. It should solve your problem..