Thanks, Reagan, the instructions you've added have been invaluable!
I've gone through them, and got to a built fgfs.exe.


A couple of things I've noticed, is that:
1) missing dependencies, like jpeg lib, are provided by the OSG 3rdParty package, there's no need to rebuild them from gnuwin32.
   This 3rdParty package is available here:
http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip

2) Olafe's PLIB binary package doesn't contain the Debug version of each library. So, using this binary, you will only be able to build the Release variant of fgfs.exe. Building plib from sources (1.8.5), as you explained on the wiki, gives you both Debug and Release versions.

Now, my last roadblock is that fgfs.exe doesn't run because of a zlib1.dll dependency, which I think comes from OSG. I've tried the obvious of installing the proper DLL in the application directory, together with all the OSG libraries, but without luck.


If any of you have seen such a zlib1.dll issue, could you send suggestions?
Thanks a lot to the community for this very fine flight sim!!

 Tom


Reagan Thomas wrote:
Randall Green wrote:
Vivian.

Thanks again for your email. With version 1.9.1 I still get link
errors when it tries to link with Plib. It is like it can't find the .obj
files even though they are in the path. COuld I have the wrong Plib?
I'm trying now to download the CVS version according to instructions at
http://wiki.flightgear.org/index.php/Using_TortoiseCVS_with_FlightGear
It says to enter
:pserver:cvsgu...@cvs.flightgear.org:/var/cvs/FlightGear-0.9
in the CVS ROOT field. Does that mean 0.9 is the latest? I tried changing the number to 1.9.1
or 1.9 but I get an error.

Also, when I reply to your email does it automatically get shown on the mailing list or are you the only one who sees it? Do I have to Cc flightgear-de...@lists.sourceforge.net?

Thanks,
Randy


----- Original Message -----
From: Vivian Meazza <vivian.mea...@lineone.net>
Date: Friday, August 14, 2009 3:56 am
Subject: Re: [Flightgear-devel] 6280 link errors startingwith sgdMakeCoordMat4 To: 'FlightGear developers discussions' <flightgear-devel@lists.sourceforge.net>

Randy,
Since you wanted to compile from source, I assumed, wrongly that you
would be using cvs-head of all source code. This is what I do; well more or less because I have some development code as well. We didn’t introduce the MSVC9 stuff until comparatively recently.

If you want to go back to 1.9.1, and there is no reason why you
shouldn’t: use the VC7.1 solution files and convert them to MSVC9 files using the utility built into MSVC9. You should be able to find matching versions of flightgear and simgear, and I think the latest stable version of osg will work. Alternatively, go down the cvs-head route. It’s all a bit of an effort to start with to get the paths and all the dependencies right, but it does work in the end.

Hth Vivian -----Original Message-----
*> From:* Randall Green [mailto:randall.gr...@wright.edu]
*> Sent:* 13 August 2009 21:04
*> To:* vivian.mea...@lineone.net; FlightGear developers discussions
*> Subject:* Re: [Flightgear-devel] 6280 link errors startingwith sgdMakeCoordMat4

Vivian,

I am a programmer at a university who is helping an Air Force Captain
do his Masters Thesis
using a new type of Primary Flight Display he designed.
Thanks for your email. I downloaded MSVC9. I downloaded
FlightGear-1.9.1 but I don't
see a MSVC9 solution, I see an "8" solution just inside the folder,
and a "VC7.1" and a  "VC8"
in the projects folder. Isn't 1.9.1 supposed to be the latest? Why
is there 2 VC8 solutions in
two places?
I tried FlightGear_0.9 that does have a 9 solution file under
\projects\vc90, but it says I'm
missing SimGear\projects\VC90\Simgear.vcproj when I start it up.
Simgear only has VC7.1 and
VC8 folders under projects, no VC9. SimGear only has downloads of
1.9.1 and 1.9.0 on their
website. I thought you had to have matching version numbers of
FlightGear and Simgear in order
to compile.
What versions do you use?

Any help you give will be greatly appreciated by the Captain and me.

Randy
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Randy,

I'm trying to cleanup/finish the Windows build instructions at the wiki (that you referenced earlier) and I think it's reworked enough that you should be able get through plib, either using Olafe's pre-built or from new source. Please double-check where plib is placed in your directory structure as the MS project file(s) expect a certain layout. NOTE: the wiki page leans towards building components from (or near) development head, so YMMV.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to