Hi Rob,

Thanks for your input, but some of what you 
said confused me ;=((

In this fgfs first-for-me with MSVC10 Pro (same 
v10.0.40219.1 SP1Rel as you mentioned) I thought 
I should stick to a 32-bits build for a start, 
even though I am in a 64-bit OS, and have a 64-bit 
CPU, etc...

When I get that done, and running, I would then 
try for a 64-bit build... 

So when I load the current built by the CMake GUI, 
FlightGear.sln, the Configuration Manager ONLY shows 
the Win32 platform! 

And thus ALL the dependencies I have built, which 
is MOST of them, including OSGtrunk, are also only 
the Win32 versions, at this time...

I note in FG source CMakeLists.txt there is an item -
 if (CMAKE_CL_64)
   SET(TEST_3RDPARTY_DIR "${PARENT_DIR}/3rdparty.x64")
 else (CMAKE_CL_64)
   SET(TEST_3RDPARTY_DIR "${PARENT_DIR}/3rdparty")
 endif (CMAKE_CL_64)

Thus at present I am using '3rdparty', and have no 
3rdparty.x64 YET...

In the FG source, reading the README.cmake seems to 
give most of what is in the wiki I mentioned... and 
on reading the docs-mini\README.MSVC seems to not add 
much more... and noted some parts of it also a little 
dated... 

But EVERY bit of documentation HELPS! So thanks to 
those who added/maintain these...

The file: http://geoffair.org/tmp/ftp-MSVC-list.txt  
shows the files I have downloaded and reviewed 
for what I MIGHT need, from 
ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC
but at present using NONE of these...

And it seems you can also get binary files and 
headers also from Jenkins at say :-
 http://flightgear.simpits.org:8080/view/Win/ 
so plenty of pre-built binary/header stuff is 
available ;=))

But as stated I am trying to build all from 
source... just for the FUN!

I guess when I advance to 64-bits, I would just 
open a MSVC10 64-bit command prompt, and run CMake 
in there... it should then find a 64-bit compiler, 
linker, tools, etc.and thus set CMAKE_CL_64...

Might try that as a separate quick exercise ;=)) 

But NO, in a new directory, after cloning SG and
FG, then unzipping BOTH :-
fgfs-win32-VS100-3rdparty+OSG-20120304.zip, and
fgfs-x64-VS100-3rdparty+OSG-20120304.zip, overwriting,
I did manage to get a manual cmake to build a 
buildsg\simgear.sln file...

And it compiled in MSVC10 - with 46 succeeded ;=))
0 failed...

BUT IT IS STILL ONLY HAS 'Win32' PLATFORM!!!

That is all in a 64-bit MSVC command prompt, where 
running say 'cl /HELP' will show Version 16.00.40219.01 
for x64, but it seems CMake did NOT set CMAKE_CL_64???

And in adding a 'message' to CMakeLists.txt, like 
message(STATUS "TEST_3RDPARTY_DIR = ${TEST_3RDPARTY_DIR}")
shows that it had selected just '3rdparty'!!!

Not sure how to ask cmake to output a Win64 platform 
solution file... so this not really any further forward 
in this direction... so will return to my own Win32 
building for now...

It seems, from your comments, that you ARE building 
and running a 64-bit version? Is that correct?

If that is the case then I will be back when I 
progress that far ;=))

If otherwise, then quite confused... please explain 
a little more... on or off list...

Regards,
Geoff.

On Sat, 2012-04-07 at 20:08 -0400, Rob Dosogne wrote:
> On Sat, Apr 7, 2012 at 15:13, Geoff McLane <ubu...@geoffair.info> wrote:
> >
> > This new attempt is in a new Windows 7 64-bits machine,
> > using MSVC10... a fresh start for me...
> >
> 
> I have this setup working on my machine; I'm building OSG-trunk
> myself, and using the 3rd-party libs from the build server.
> 
> > But fgfs.exe 'crashes' after quite a few seconds,
> > maybe a minutes of loading ;=(( showing
> > 'loading scenery' on the flash screen, and the
> > last console output is -
> > Initializing Nasal Electrical System
> > then POOF...
> 
> I had the same sort of problems when using the latest 3rd-party libs
> from the ftp site in the MSVC readme (the MSVC9 ones worked perfectly
> for me).  After replacing them with the build server's, everything
> compiled & ran neatly.
> 
> I don't know if you can download them from the Win64 workspace on
> Jenkins anymore, but that's where I got them--if you would like a copy
> of my 3rdParty.x64 (or the OSG-trunk build), email me directly or /msg
> me on irc: truthsolo
> 
> (built with MSVC 2010 v10.0.40219.1 SP1Rel)
> 
> cheers,
> 
> Rob




------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to