Jump to content
Sign in to follow this  
wsieffert

How did you make the makefile?

Recommended Posts

Guest ptwaugh

Hey all,I'm wondering if you guys are using MS's SDK, or if you use GNU tools. In particular, I'm really wanting to use gcc and Dev-C++ (which can do C). But, I'm having a bit of a problem setting up to make the sample makefile.Could you tell me what you did/use to make the makefile MS provided in the samples? I tried just modifying it for GNU stuff, but actually am having a hard time as even though it finds windows.h, it reports missing excpt.h (even though I copied it to the source directory).Anyway, any light you can shed is appreciated.Stick

Share this post


Link to post
Share on other sites

Download sd2gau15.zip from www.flightsim.com library. It will provide the need makefile and updated gauges.h needed for fs2002 compiled gauges.W. Sieffert

Share this post


Link to post
Share on other sites
Guest ptwaugh

Thanks for the tip.What do you use to compile? VC, VC++, GCC, other?thanks,Stick

Share this post


Link to post
Share on other sites

I have used GCC VER 2.95.2, VER3.2. I haven't made any compiled gauges lately so my experience is very rusty.W. Sieffert

Share this post


Link to post
Share on other sites
Guest ptwaugh

Success with VC++, but no joy with gcc.With the gcc makefile, it dies telling me there is no rule to make the .c file. That package also includes some fix file but with no directions what to do with it.I guess I'm stuck with VC++ 6.0, but at least I don't have to re-write the gauge.h file!Stick

Share this post


Link to post
Share on other sites

The only thing I did was place the fixup.c and Makefile in the same folder as the rest of the source. However, I don't think it has been updated for later version of gcc compiler. I believe it was for version 2.95.2. GCC may have changed things in later version that are causing it not to work correctly. I know that later versions changed the darn make.exe to mingw32-make.exe. I made a copy of the file and renamed it back to make.exe. However, I still got some cautions.Arne Bartels would have to answer most questions about later version of gcc. In any case, you can still use the updated gauges.h file provided in the package. I believe it provided corrections/omissions over the gauges.h in the official MS sdk.W. Sieffert

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...