Topic: Suspected graphics linking problem in mixed Fortran/C program
Hi,
I'm working on a program that uses a mixed language library to create a windows interface and functionality to mimic XWindows (Xplot11) from the Linux world. There are a bunch of internet topics out there from people who have been trying to compile this program on windows using Cygwin or MinGW (and there are a bunch of problems people have related to linking between the library (called libPlot.lib) and the main console program (called XFOIL)). I think I've taken care of all the normal linking problems that others have run into - related to underscores, upper or lower cases in routine names, etc. I have gotten SimplyFortran to compile and link XFOIL into an .exe without errors, but the program will not run. And unfortunately, it provides no messages about why it won't run. So I'm not sure how to proceed from here.
I think there must be a missing library link to some windows file though, because if I set the "Windows GUI" option under the Project Options, it will compile. If I do not check that option, it will not compile. Looking through the makefile, I can't quite tell what the difference is in the compile options, but I'm sure it must be doing something different.
Does anyone have suggestions for what to do next? I can provide source code and whatnot because it's governed by the GPL XX license.
Thanks,
Jason