Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Geoff McLane
On Tue, 2012-04-10 at 17:22 +0200, Gijs de Rooy wrote:
 http://wiki.flightgear.org/Building_using_CMake_-_Windows in
 combination with 
 https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC
 did it for me.
 Together with some help on IRC ;-)
 
 I'll see if I can improve the wiki a bit more.
 
 Gijs

Hi Gijs,

First many thanks for a great wiki on building FG 
with CMake in Windows using MSVC10 ;=))

But I notice the link pointed to by the '3rdparty' 
folder is to a specific file which has now been 
removed from the site, namely :-
 fgfs-win32-VS100-3rdParty+OSG-20120304.zip

Maybe the link could just be -
 ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/

I think I could make this edit change if you like,
but do not want to mess up any other plans you may 
have.

Also on the FTP site I note the file names STILL 
have +OSG in them, but they now do not contain OSG 
headers/libs/dlls ;=() The previous 20120304 contained 
install\msvc90\OpenSceneGraph... stuff.

Yes, I know the msvc100/OpenSceneGraph stuff can be
all found in the 'archive.zip' pointed to by the 
'OpenSceneGraph' link, but the one thing about that 
'archive.zip' is that the folder name 'archive/' 
is prepended before 'install/'.

That of course is no particular problem, but it does 
mean some 'manual' folder manipulation after you 
unzip it ;=))

Anyway, thanks again...

Regards,
Geoff.




--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Gijs de Rooy

Hi Geoff,

 First many thanks for a great wiki on building FG 
 with CMake in Windows using MSVC10 ;=))

Fred wrote it, I only added some minor things ;-)

 But I notice the link pointed to by the '3rdparty' 
 folder is to a specific file which has now been 
 removed from the site, namely :-
  fgfs-win32-VS100-3rdParty+OSG-20120304.zip

Oops, fixed now (together with some other things). Thanks!

 Also on the FTP site I note the file names STILL 
 have +OSG in them, but they now do not contain OSG 
 headers/libs/dlls ;=() The previous 20120304 contained 
 install\msvc90\OpenSceneGraph... stuff.

That's also Fred's work...

Cheers,
Gijs
  --
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread castle . 64


Hi, 



with some generous help and advice from Geoff, finally got an FG build on 
windows done,  phewww! 



Using latest git version as of the 15th. 



But now it crashes on startup :-(  



Complains about not finding a plugin to read objects from file 
c:/fg-2.7.0/fgdata/xx from the gitgo. 



Missing dependency; file path problem, command argument?? 



any suggestions on where or what to look for? 



Thanks 

John 

--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Geoff McLane
On Mon, 2012-04-16 at 12:53 +, castle...@comcast.net wrote:
 Complains about not finding a plugin to read objects from file
 c:/fg-2.7.0/fgdata/xx from the gitgo.

Hi John,

Well it seems some good news and some 
bad news ;=))

Missing plugin... yes this is quite common, 
unfortunately ;=(( Suggests some problems 
with the OSG used, or something...

But you give NO INFORMATION on exactly what you 
built!!! Exactly WHAT 3rdparty stuff you 
used? Versus what did you build from source?

I built Release SG/FG yesterday, git 15th like you,
in a root c:\FG\14, using :-

\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip

\install\msvc100\OpenSceneGraph - archive.zip, after 
 removing the initial 'archive/' folder...

And (mostly) following the Fred/Gijs cmake wiki...

Built and installed Release SG in 
 \install\msvc100\SimGear
so pointed to that when building FG...

Built c:\FG\14\build-fg\src\Main\Release\fgfs.exe

After adding the path -
c:\FG\14\install\msvc100\OpenSceneGraph\bin
to my PATH environment variable, this ran well in 
normal mode, no problems, but no rembrandt shadows 
on a trial of that... but that can wait... all else 
worked well in the few simple flights done...

So what 3rdparty stuff did you use? What was your 
command line? What exactly was the console 
output?

Then we MAY be able to help more...

Regards,
Geoff.




--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread castle . 64


Hi Geoff, 

OK. the SG and FG versions were from git on the 15th as well as the fgdata as 
of last night 

the 3rd party was the same as you noted. 
\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip 

Thought I mentioned that in an earlier email. No problem, bears worth repeating 
to make certain 

Looking over your comments, it might be my install of the OSG stuff that is 
causing the problem. Took the easy way of sticking fgfs.exe in with the 3rd 
party libraries, guessing what is missing is the OSG plugin or a path to it. 
I'll look there first. Sometimes the error msgs are not very clear to newbies. 

We'll get there... 

John 



- Original Message -
From: Geoff McLane ubu...@geoffair.info 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Monday, April 16, 2012 8:12:30 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 

On Mon, 2012-04-16 at 12:53 +, castle...@comcast.net wrote: 
 Complains about not finding a plugin to read objects from file 
 c:/fg-2.7.0/fgdata/xx from the gitgo. 

Hi John, 

Well it seems some good news and some 
bad news ;=)) 

Missing plugin... yes this is quite common, 
unfortunately ;=(( Suggests some problems 
with the OSG used, or something... 

But you give NO INFORMATION on exactly what you 
built!!! Exactly WHAT 3rdparty stuff you 
used? Versus what did you build from source? 

I built Release SG/FG yesterday, git 15th like you, 
in a root c:\FG\14, using :- 

\3rdparty - fgfs-win32-VS100-3rdParty+OSG-20120411.zip 

\install\msvc100\OpenSceneGraph - archive.zip, after 
removing the initial 'archive/' folder... 

And (mostly) following the Fred/Gijs cmake wiki... 

Built and installed Release SG in 
\install\msvc100\SimGear 
so pointed to that when building FG... 

Built c:\FG\14\build-fg\src\Main\Release\fgfs.exe 

After adding the path - 
c:\FG\14\install\msvc100\OpenSceneGraph\bin 
to my PATH environment variable, this ran well in 
normal mode, no problems, but no rembrandt shadows 
on a trial of that... but that can wait... all else 
worked well in the few simple flights done... 

So what 3rdparty stuff did you use? What was your 
command line? What exactly was the console 
output? 

Then we MAY be able to help more... 

Regards, 
Geoff. 




-- 
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 
--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-16 Thread Rob Dosogne
On Mon, Apr 16, 2012 at 10:39,  castle...@comcast.net wrote:

 Looking over your comments, it might be my install of the OSG stuff that is
 causing the problem.  Took the easy way of sticking fgfs.exe in with the
 3rd party libraries,  guessing what is missing is the OSG plugin or a path
 to it.  I'll look there first.  Sometimes the error msgs are not very clear
 to newbies.

I keep my working binaries outside of the build folder (C:\Program
Files\FlightGear\bin\x64\ for example).  If I update OSG or any
3rd-party libs I delete everything in my working bin folder, then copy
everything from these folders:

  install/msvc100-64/OpenSceneGraph/bin/*
  3rdParty.x64/bin/*

to the folder where my working binaries reside.  I haven't had an
issue with missing or incorrect version plugins this way.

Your directory structure may be a tad different, as I see it is on the
new wiki page, but those folders either need to be in your $PATH or
their contents copied to wherever you stick fgfs.exe, etc.

Hope this helps :-)

cheers,

Rob

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-12 Thread Geoff McLane
Hi John,

 zconf.h is taken care off,

Ok, that is good, but could you please 
shared what you did. I think you mentioned 
finding something about editing zconf.h...

Found what, where... what edits did you do?

This is to just HELP the NEXT person that 
stumbles over this...

And may even get one of the 'maintainer' to 
put a more permanent 'fix' online so there is 
no next time ;=))

 pui vs. pu

In MY 3rdparty\lib directory they are -
pu.lib and pu_d.lib, and
puaux.lib and puaux_d.lib
for Release and Debug respectively...

In unix/linux they are libplibpu.a and 
libplibpuaux.a...

But I guess pui.lib is also possible...

 puaux vs.puAux,  is that significant?

I hope you know normally the windows system 
does NOT care about CaSe ;=)) so these are the 
same...

 there is no pu.lib or puaux.lib.

Rubbish! But as you sort of point out, that 
could be pui.lib and puiaux.lib in your 
environment...

If msvc can not find a library then it will 
say that!

It didn't, so it found somethings, but it just 
missing a function link - puaList()... And when 
it misses one library function like this it 
will usually report a LONG list of 'missing'...

As to finding it/them have you tried in -
 3rdparty\lib  dir pu*.lib /s

If not, even  dir c:\pu*.lib /s ;=)) will take 
a little longer, but will get you there... unless 
it is on another logical drive...

 wasn't able to track down the log file, 
 where would you find it...

Again, in the 'build' directory you have 
chosen in CMake do -
  dir *.log /s
should get you there...

In my case, my build directory is -
C:\FG\10\flightgear\build
and it is found in -
 ...build\src\Main\fgfs.dir\Debug
and
 ...build\src\Main\fgfs.dir\Release

You need to find it so you can CHECK exactly 
what plib libraries msvc link.exe is using 
when building fgfs.exe...

Also, as a suggestion, I would not bother yet 
about building the Debug configuration, and 
concentrate on building the Release 
configuration...

Now when you get the pu*.lib story straight,
you can manually modify CMakeCache.txt 
before loading the CMAke GUI, or fix them 
directly in the GUI... [configure] then 
[generate], then back into msvc...

HTH.

Regards,
Geoff.



--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-12 Thread castle . 64

Hi Geoff, 

Hi Geoff, 

A quick reply on the zconf.h fix 

At line 287 change #ifdef 1  to #ifdef 0;  info from tutorial on building FG 
with MSVC 10 Express describes the change. 

Bunch of todo's need my attention today, probably won't get back to this until 
late this evening or tomorrow to digest your entire email. 


From: Geoff McLane ubu...@geoffair.info 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Thursday, April 12, 2012 4:09:59 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 

Hi John, 

 zconf.h is taken care off, 

Ok, that is good, but could you please 
shared what you did. I think you mentioned 
finding something about editing zconf.h... 

Found what, where... what edits did you do? 

This is to just HELP the NEXT person that 
stumbles over this... 

And may even get one of the 'maintainer' to 
put a more permanent 'fix' online so there is 
no next time ;=)) 

Thanks for the detailed discussion 
John--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-12 Thread Olaf Flebbe
Hi,

 Really ? Do you manage to build 64bit executables with VS Express ?

Yes.

 Does it come with a 64bit compiler ?
 
No. But the Windows SDK 7.1 for 64Bit comes with the VS 2010 64 Bit compiler 
and integrates with the VS Express environment.

I just downloaded your 64Bit 3rdParty for VS2010 and compiled osg, simgear and 
flightgear with it. Works.

Best regards,
  Olaf
--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread castle . 64


Do I have to create my own unistd.h?  Or do we have a replacement that works 
with VS? 



Where would I find a copy? 



4 lowlevel.cxx 

4c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4 sg_binobj.cxx 

3c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4 Generating Code. 





John 









- Original Message -


From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:47:00 PM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 






OK, disregard the previous msg.  got a SimGear build started but it failed. 

  

Enough fun for one day, will attack the error msgs tomorrow.. 

  

John 



- Original Message -




From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:04:50 PM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 





OK,  got through the configure and generate operations with CMake 

  

version is 2 dot 7 dot 0 

ignoring: ^C:/fgbuild/simgear/.git;\\.gitignore;Makefile.am;~$; 

Library installation directory: lib 

3rdparty files located in C:/fgbuild/dependencies 

BOOST_ROOT is C:/fgbuild/dependencies/boost_1_44_0 

apr-1-config not found, implement manual search for APR 

Could NOT find LIBSVN (missing: LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR) 

Missing libsvn, unable to enable SVN in SimGear 

Configuring done 

Generating done 

  

however, doesn't appear a VS solution file (.sln) has been created in the 
Simgear directory or it was placed somewhere else and can't find it 

  

Not sure what to include by way of commands or logs to help show what happened. 

  

John 

  

Something is still not corrrect. 

  
-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 

-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread castle . 64


reply to self 



have your morning coffee before engaging the brain. ;-) 



found the note on editing zconf.h.  Simgear build and install completed; onto 
to flightgear 



John 



- Original Message -


From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Wednesday, April 11, 2012 6:46:18 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 




Do I have to create my own unistd.h?  Or do we have a replacement that works 
with VS? 

  

Where would I find a copy? 

  

4 lowlevel.cxx 

4c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4 sg_binobj.cxx 

3c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4c:\fgbuild\dependencies\3rdparty\include\zconf.h(289): fatal error C1083: 
Cannot open include file: 'unistd.h': No such file or directory 

4 Generating Code. 

    

  

John 

  

  





- Original Message -




From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:47:00 PM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 






OK, disregard the previous msg.  got a SimGear build started but it failed. 

  

Enough fun for one day, will attack the error msgs tomorrow.. 

  

John 



- Original Message -




From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:04:50 PM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 





OK,  got through the configure and generate operations with CMake 

  

version is 2 dot 7 dot 0 

ignoring: ^C:/fgbuild/simgear/.git;\\.gitignore;Makefile.am;~$; 

Library installation directory: lib 

3rdparty files located in C:/fgbuild/dependencies 

BOOST_ROOT is C:/fgbuild/dependencies/boost_1_44_0 

apr-1-config not found, implement manual search for APR 

Could NOT find LIBSVN (missing: LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR) 

Missing libsvn, unable to enable SVN in SimGear 

Configuring done 

Generating done 

  

however, doesn't appear a VS solution file (.sln) has been created in the 
Simgear directory or it was placed somewhere else and can't find it 

  

Not sure what to include by way of commands or logs to help show what happened. 

  

John 

  

Something is still not corrrect. 

  
-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 

-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 

-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread castle . 64


Hi, 



The wiki writeup did not talk about using glut or FLTK or whatever for the 
graphics.  The fgfs build failed. 



13 Creating library 
C:/fgbuild/projects/msvc100/FlightGear/src/Main/Debug/fgfs.lib and object 
C:/fgbuild/projects/msvc100/FlightGear/src/Main/Debug/fgfs.exp 

13LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other 
libs; use /NODEFAULTLIB:library 

13FGPUIDialog.obj : error LNK2019: unresolved external symbol public: void 
__thiscall puaList::setTopItem(int) (?setTopItem@puaList@@QAEXH@Z) referenced 
in function public: virtual void __thiscall fgList::update(void) 
(?update@fgList@@UAEXXZ) 

13property_list.obj : error LNK2001: unresolved external symbol public: void 
__thiscall puaList::setTopItem(int) (?setTopItem@puaList@@QAEXH@Z) 

13FGPUIDialog.obj : error LNK2019: unresolved external symbol public: int 
__thiscall puaList::getTopItem(void)const  (?getTopItem@puaList@@QBEHXZ) 
referenced in function public: virtual void __thiscall fgList::update(void) 
(?update@fgList@@UAEXXZ) 

13property_list.obj : error LNK2001: unresolved external symbol public: int 
__thiscall puaList::getTopItem(void)const  (?getTopItem@puaList@@QBEHXZ) 

13C:\fgbuild\projects\msvc100\FlightGear\src\Main\Debug\fgfs.exe : fatal error 
LNK1120: 2 unresolved externals 

15-- Rebuild All started: Project: ALL_BUILD, Configuration: Debug Win32 
-- 

15 Build all projects 

15 Building Custom Rule C:/fgbuild/flightgear/CMakeLists.txt 

15 CMake does not need to re-run because 
C:\fgbuild\projects\msvc100\FlightGear\CMakeFiles\generate.stamp is up-to-date. 

16-- Skipped Rebuild All: Project: INSTALL, Configuration: Debug Win32 
-- 

16Project not selected to build for this solution configuration 

17-- Skipped Rebuild All: Project: PACKAGE, Configuration: Debug Win32 
-- 

17Project not selected to build for this solution configuration 

== Rebuild All: 13 succeeded, 1 failed, 3 skipped == 



Any suggestion where to look?  ATM I'm clueless .   :-( 



John 

13 Creating library 
C:/fgbuild/projects/msvc100/FlightGear/src/Main/Debug/fgfs.lib and object 
C:/fgbuild/projects/msvc100/FlightGear/src/Main/Debug/fgfs.exp 

13LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other 
libs; use /NODEFAULTLIB:library 

13FGPUIDialog.obj : error LNK2019: unresolved external symbol public: void 
__thiscall puaList::setTopItem(int) (?setTopItem@puaList@@QAEXH@Z) referenced 
in function public: virtual void __thiscall fgList::update(void) 
(?update@fgList@@UAEXXZ) 

13property_list.obj : error LNK2001: unresolved external symbol public: void 
__thiscall puaList::setTopItem(int) (?setTopItem@puaList@@QAEXH@Z) 

13FGPUIDialog.obj : error LNK2019: unresolved external symbol public: int 
__thiscall puaList::getTopItem(void)const  (?getTopItem@puaList@@QBEHXZ) 
referenced in function public: virtual void __thiscall fgList::update(void) 
(?update@fgList@@UAEXXZ) 

13property_list.obj : error LNK2001: unresolved external symbol public: int 
__thiscall puaList::getTopItem(void)const  (?getTopItem@puaList@@QBEHXZ) 

13C:\fgbuild\projects\msvc100\FlightGear\src\Main\Debug\fgfs.exe : fatal error 
LNK1120: 2 unresolved externals 

15-- Rebuild All started: Project: ALL_BUILD, Configuration: Debug Win32 
-- 

15 Build all projects 

15 Building Custom Rule C:/fgbuild/flightgear/CMakeLists.txt 

15 CMake does not need to re-run because 
C:\fgbuild\projects\msvc100\FlightGear\CMakeFiles\generate.stamp is up-to-date. 

16-- Skipped Rebuild All: Project: INSTALL, Configuration: Debug Win32 
-- 

16Project not selected to build for this solution configuration 

17-- Skipped Rebuild All: Project: PACKAGE, Configuration: Debug Win32 
-- 

17Project not selected to build for this solution configuration 

== Rebuild All: 13 succeeded, 1 failed, 3 skipped == 



Any suggestion where to look?  ATM I'm clueless .   :-( 



John--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread Gene Buckle

On Wed, 11 Apr 2012, castle...@comcast.net wrote:

found the note on editing zconf.h.  Simgear build and install completed; 
onto to flightgear




John


\o/

g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
Some people collect things for a hobby.  Geeks collect hobbies.

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://www.scarletdme.org - Get it _today_!

Buying desktop hardware and installing a server OS doesn't make a
server-class system any more than sitting in a puddle makes you a duck.
[Cipher in a.s.r]--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread Geoff McLane
Hi John,

1: unistd.h

Yes I ran across the missing 'unistd.h' in zconf.h 
recently, but I thought my problem was in FG, but 
maybe also SG... 

The FIX is simple I think... somewhere there is 
a 'config.h' - one I know about is in 
FG\util\fgadmin\src - which has -

#define HAVE_UNISTD_H 1

This causes zconf.h to look for 'unistd.h'

Find that file, and change that line to 

#undef HAVE_UNISTD_H

There are several other things defined in 
that file which are also 'wrong' but do 
not cause any problems since they are not 
used...

Should not be necessary to modify zconf.h, 
but that is another way around this problem ;=))


2: puaList = missing PLIB - puAux.lib

In the CMake GUI scroll down, down and check the 
PLIB library libraries found...

PLIB_PUAUX_LIBRARY - should be blank
PLIB_PUAUX_LIBRARY_DEBUG - should be like
  c:\fgbuild\dependencies\3rdparty\lib\puauxd.lib
PLIB_PUAUX_LIBRARY_RELEASE - should be like
  c:\fgbuild\dependencies\3rdparty\lib\puaux.lib

PLIB_PUI_LIBRARY - should be blank
PLIB_PUI_LIBRARY_DEBUG - should be like
  c:\fgbuild\dependencies\3rdparty\lib\pud.lib
PLIB_PUI_LIBRARY_RELEASE - should be like
  c:\fgbuild\dependencies\3rdparty\lib\pu.lib

And each of the other PLIB items should point 
to each of the other plib libraries...

You can also open and check the file fgfs.log written 
by MSVC10 and check exactly WHAT libraries are 
presently being linked to fgfs.exe... find the 
bin\link.exe line... it is a BIG list...

If not this, then not sure...

Aside from the above ???.log files, another 
file you can post somewhere is the CMakeCache..txt... 
it gives LOTS of information, and with a view of 
its contents we may be able to help you better...

Regards,
Geoff.



--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-11 Thread castle . 64


Thanks Geoff, 



zconf.h is taken care off, 



looked in  the libraries and puAux.lib and pu.lib are there.  Here is an 
extract from the CMakecache.txt file.  






 

//Path to a library. 



PLIB_LIBRARIES:FILEPATH=PLIB_LIBRARIES-NOTFOUND 





  

//The PLIB_PUAUX library 



PLIB_PUAUX_LIBRARY:FILEPATH=optimized;C:/fgbuild/dependencies/3rdParty/lib/puAux.lib;debug;C:/fgbuild/dependencies/3rdParty/lib/puAux.lib
 





  

//Path to a library. 



PLIB_PUAUX_LIBRARY_DEBUG:FILEPATH=PLIB_PUAUX_LIBRARY_DEBUG-NOTFOUND 





  

//Path to a library. 



PLIB_PUAUX_LIBRARY_RELEASE:FILEPATH=C:/fgbuild/dependencies/3rdParty/lib/puAux.lib
 





  

//The PLIB_PUI library 



PLIB_PUI_LIBRARY:FILEPATH=optimized;C:/fgbuild/dependencies/3rdParty/lib/pui.lib;debug;C:/fgbuild/dependencies/3rdParty/lib/pui.lib
 





  

//Path to a library. 



PLIB_PUI_LIBRARY_DEBUG:FILEPATH=PLIB_PUI_LIBRARY_DEBUG-NOTFOUND 





  

//Path to a library. 



PLIB_PUI_LIBRARY_RELEASE:FILEPATH=C:/fgbuild/dependencies/3rdParty/lib/pui.lib 





 



looks slightly different  ( pui vs. pu and puaux vs.puAux,  is that 
significant?) 



there is no pu.lib or puaux.lib. 



wasn't able to track down the log file, where would you find it or is there an 
option in the CMake script to specify location 



Ugggh, hate being a newbie  and just when I was getting comfortable with the 
GNU make system ;-) 



John 

- Original Message -




2: puaList = missing PLIB - puAux.lib 

In the CMake GUI scroll down, down and check the 
PLIB library libraries found... 

PLIB_PUAUX_LIBRARY - should be blank 
PLIB_PUAUX_LIBRARY_DEBUG - should be like 
  c:\fgbuild\dependencies\3rdparty\lib\puauxd.lib 
PLIB_PUAUX_LIBRARY_RELEASE - should be like 
  c:\fgbuild\dependencies\3rdparty\lib\puaux.lib 

PLIB_PUI_LIBRARY - should be blank 
PLIB_PUI_LIBRARY_DEBUG - should be like 
  c:\fgbuild\dependencies\3rdparty\lib\pud.lib 
PLIB_PUI_LIBRARY_RELEASE - should be like 
  c:\fgbuild\dependencies\3rdparty\lib\pu.lib 

And each of the other PLIB items should point 
to each of the other plib libraries... 

You can also open and check the file fgfs.log written 
by MSVC10 and check exactly WHAT libraries are 
presently being linked to fgfs.exe... find the 
bin\link.exe line... it is a BIG list... 

If not this, then not sure... 

Aside from the above ???.log files, another 
file you can post somewhere is the CMakeCache..txt... 
it gives LOTS of information, and with a view of 
its contents we may be able to help you better... 

Regards, 
Geoff. 



-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread castle . 64




- Original Message -
Hi Geoff 

If you tell more exactly, either on this list, or 
direct off list, maybe can help more with SPECIFIC 
things... 

Using the wiki tutorial Building FlightGear- Windows. I'll take a look and 
give the Cmake -Windows version a try. 

will give you a shout off list if stuff is still fuzzy. 

Thanks 
John 


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread Gijs de Rooy

http://wiki.flightgear.org/Building_using_CMake_-_Windows in combination with 
https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC did it for 
me.
Together with some help on IRC ;-)

I'll see if I can improve the wiki a bit more.



Gijs  --
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread castle . 64


Thanks to all, 



getting closer,  started to build simgear, did not get very far with following 
error 





c:\fgbuild\projects\msvc100\SimGearcmake C:\fgbuild\simgear -G Visual 
Studio 
 10 -DMSVC_3RDPARTY_ROOT=C:\fgbuild\dependencies 
-DCMAKE_INSTALL_PREFIX:PATH= 
C:\fgbuild\dependencies\install\msvc100\SimGear 
CMake Error: Could not create named generator Visual Studio 10 



Tried to follow all the instructions precisely, but something is amiss.  name 
or path problem?? syntax?? directory structure?? 

delete the quotation marks?? 



John 





- Original Message -


From: Gijs de Rooy gijsr...@hotmail.com 
To: FlightGear Development list flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:22:28 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 


http://wiki.flightgear.org/Building_using_CMake_-_Windows in combination with 
https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC did it for 
me. 
Together with some help on IRC ;-) 

I'll see if I can improve the wiki a bit more. 




Gijs 
-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread castle . 64


OK, think I see the problem. 



running a bare cmake shows there is no generator install on this laptop for 
Visual studio 10, versions 6 through 9 and Win64 are avalable 

to generate project files but no 10. 



Loaded  VC10c++ express,  but guess the generator is a different animal. 



John 



- Original Message -


From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 11:12:38 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 




Thanks to all, 

  

getting closer,  started to build simgear, did not get very far with following 
error 

  

  

c:\fgbuild\projects\msvc100\SimGearcmake C:\fgbuild\simgear -G Visual 
Studio 
 10 -DMSVC_3RDPARTY_ROOT=C:\fgbuild\dependencies 
-DCMAKE_INSTALL_PREFIX:PATH= 
C:\fgbuild\dependencies\install\msvc100\SimGear 
CMake Error: Could not create named generator Visual Studio 10 

  

Tried to follow all the instructions precisely, but something is amiss.  name 
or path problem?? syntax?? directory structure?? 

delete the quotation marks?? 

  

John 



  

- Original Message -




From: Gijs de Rooy gijsr...@hotmail.com 
To: FlightGear Development list flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:22:28 AM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 


http://wiki.flightgear.org/Building_using_CMake_-_Windows in combination with 
https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC did it for 
me. 
Together with some help on IRC ;-) 

I'll see if I can improve the wiki a bit more. 




Gijs 
-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 

-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread Frederic Bouvier
I presume you need to start cmake in the correct VS2010 environment. If you try 
to enter cl in the command line and it replies Command not found, you need 
to locate vsvars32.bat and run it in your command line session. 

Jenkins build log, available here (for build 216) : 

http://flightgear.simpits.org:8080/job/SimGear-Win-Cmake/216/console 

says : 

call C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\Tools\vsvars32.bat 
Otherwise, the Wiki page suggest to use the Cmake GUI. 

VC2010 express is only able to generate 32bit programs 

Regards, 
-Fred 

- Mail original -

 De: castle 64 castle...@comcast.net
 À: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Envoyé: Mardi 10 Avril 2012 19:24:11
 Objet: Re: [Flightgear-devel] FGbuild for MS Windows

 OK, think I see the problem.

 running a bare cmake shows there is no generator install on this
 laptop for Visual studio 10, versions 6 through 9 and Win64 are
 avalable
 to generate project files but no 10.

 Loaded VC10c++ express, but guess the generator is a different
 animal.

 John

 - Mail original -

 From: castle 64 castle...@comcast.net
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Sent: Tuesday, April 10, 2012 11:12:38 AM
 Subject: Re: [Flightgear-devel] FGbuild for MS Windows

 Thanks to all,

 getting closer, started to build simgear, did not get very far with
 following error

 c:\fgbuild\projects\msvc100\SimGearcmake C:\fgbuild\simgear -G
 Visual Studio
 10 -DMSVC_3RDPARTY_ROOT=C:\fgbuild\dependencies
 -DCMAKE_INSTALL_PREFIX:PATH=
 C:\fgbuild\dependencies\install\msvc100\SimGear
 CMake Error: Could not create named generator Visual Studio 10

 Tried to follow all the instructions precisely, but something is
 amiss. name or path problem?? syntax?? directory structure??
 delete the quotation marks??

 John

 - Mail original -

 From: Gijs de Rooy gijsr...@hotmail.com
 To: FlightGear Development list
 flightgear-devel@lists.sourceforge.net
 Sent: Tuesday, April 10, 2012 9:22:28 AM
 Subject: Re: [Flightgear-devel] FGbuild for MS Windows

 http://wiki.flightgear.org/Building_using_CMake_-_Windows in
 combination with
 https://gitorious.org/fg/flightgear/blobs/next/docs-mini/README.MSVC
 did it for me.
 Together with some help on IRC ;-)

 I'll see if I can improve the wiki a bit more.

 Gijs
 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread Olaf Flebbe
 
 VC2010 express is only able to generate 32bit programs
 
 Regards,
 -Fred

Hi,

One can use the Windows SDK 
http://www.microsoft.com/download/en/details.aspx?displaylang=enid=8442 
 GRMSDKX_EN_DVD.iso  to generate 64 Bit Windows Executables. This integrates 
with VS2010 Express as well.

Olaf
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread Frederic Bouvier
Hi Olaf,

 De: Olaf Flebbe f...@oflebbe.de
  
  VC2010 express is only able to generate 32bit programs
  
  Regards,
  -Fred
 
 Hi,
 
 One can use the Windows SDK
 http://www.microsoft.com/download/en/details.aspx?displaylang=enid=8442
  GRMSDKX_EN_DVD.iso  to generate 64 Bit Windows Executables. This
  integrates with VS2010 Express as well.

Really ? Do you manage to build 64bit executables with VS Express ?
Does it come with a 64bit compiler ?

Regards,
-Fred

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread castle . 64



OK,  got through the configure and generate operations with CMake 

  

version is 2 dot 7 dot 0 

ignoring: ^C:/fgbuild/simgear/.git;\\.gitignore;Makefile.am;~$; 

Library installation directory: lib 

3rdparty files located in C:/fgbuild/dependencies 

BOOST_ROOT is C:/fgbuild/dependencies/boost_1_44_0 

apr-1-config not found, implement manual search for APR 

Could NOT find LIBSVN (missing: LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR) 

Missing libsvn, unable to enable SVN in SimGear 

Configuring done 

Generating done 

  

however, doesn't appear a VS solution file (.sln) has been created in the 
Simgear directory or it was placed somewhere else and can't find it 



Not sure what to include by way of commands or logs to help show what happened. 



John 

  

Something is still not corrrect. 

 --
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-10 Thread castle . 64




OK, disregard the previous msg.  got a SimGear build started but it failed. 

  

Enough fun for one day, will attack the error msgs tomorrow.. 

  

John 



- Original Message -




From: castle 64 castle...@comcast.net 
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net 
Sent: Tuesday, April 10, 2012 9:04:50 PM 
Subject: Re: [Flightgear-devel] FGbuild for MS Windows 





OK,  got through the configure and generate operations with CMake 

  

version is 2 dot 7 dot 0 

ignoring: ^C:/fgbuild/simgear/.git;\\.gitignore;Makefile.am;~$; 

Library installation directory: lib 

3rdparty files located in C:/fgbuild/dependencies 

BOOST_ROOT is C:/fgbuild/dependencies/boost_1_44_0 

apr-1-config not found, implement manual search for APR 

Could NOT find LIBSVN (missing: LIBSVN_LIBRARIES LIBSVN_INCLUDE_DIR) 

Missing libsvn, unable to enable SVN in SimGear 

Configuring done 

Generating done 

  

however, doesn't appear a VS solution file (.sln) has been created in the 
Simgear directory or it was placed somewhere else and can't find it 

  

Not sure what to include by way of commands or logs to help show what happened. 

  

John 

  

Something is still not corrrect. 

  
-- 
Better than sec? Nothing is better than sec when it comes to 
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free. 
http://p.sf.net/sfu/Boundary-dev2dev 
___ 
Flightgear-devel mailing list 
Flightgear-devel@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/flightgear-devel 
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-08 Thread Geoff McLane
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-08 Thread Geoff McLane
Hi Rob,

Concerning the setting of CMAKE_CL_64 
just found this -
http://www.cmake.org/Bug/view.php?id=10509 
for CMake version 2.8.1

Seems in that case removing 'CXX'??? and it 
worked... so it seems no CMake 'fix' was 
applied...

I am using 2.8.7, but MAYBE we also defined 
CXX somewhere, what ever that exactly means,
and this has still NOT been 'fixed'???

Will try to investigate more...

Regards,
Geoff.



--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-07 Thread Geoff McLane
Hi John W.,

You do not say WHICH wiki write-up(s) you are having 
problems with, nor exactly what the problems are...
so can not really help much...

For my part, after re-RE-reading carefully through :-
 http://wiki.flightgear.org/Building_FlightGear_-_Windows 
I started meticulously and methodically working through :-
 http://wiki.flightgear.org/Building_using_CMake_-_Windows 

If there are other, newer write ups, I too would like 
to know about them... 

And that is aside from the 100 odd pages, now getting 
'old'!, I have already written on this * BUILDING FG * 
topic - see -
 http://geoffair.org/fg 

This new attempt is in a new Windows 7 64-bits machine, 
using MSVC10... a fresh start for me...

To add to my pain ;=)) I also wanted, where possible, 
do build each of the dependent libraries for myself, 
so it took some time to get ALL that/those in place...

I presently have a c:\FG\10\3rdparty folder with some 
1,500+ files, 370+ MB of data...

Yesterday, eventually got a fgfs.exe linked, together 
with some 10 other 'utilities', yasim.exe, fgjs.exe, 
js_demo.exe, etc to terrasync.exe...

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...

Using --log-level=debug here is the full
text of that redirection -
 http://geoffair.org/tmp/templog.txt 
It is about 23+ MB... including some 
280,000 Adding flight: ;=))

The last content in there is -
Playing audio after 0 sec: rumble
Playing looped
so naturally will first check and recheck the 
OpenAL stuff... or something/everything 
else...

And that is just the 'Release' config, so must 
now try for the 'Debug' config build and run to 
see if I can trace through and find the problem... 
slow, hard work ;=() but LOTS OF FUN!

If you tell more exactly, either on this list, or 
direct off list, maybe can help more with SPECIFIC 
things...

Regards,
Geoff.

On Sat, 2012-04-07 at 16:22 +, castle...@comcast.net wrote:
 Hi,
 
 Can someone point out a good, current tutorial or forum/chat room for
 building FG under MS windows.  Havng problems with the wiki write-up
 and can't determine if it is operator error or problems with the
 instructions or just suffering from a case of newbeitis as I've
 never worked with Cmake or the MS windows build environment and
 associated libraries and dependencies. 
 
 Working with Gene Buckle to see if we can get a version of FlightGear
 that will support his collimated mirror system.  Have versions of
 FG-2.0 through 2.6 and a warp mesh building tool that runs under
 Linux but MS is a new beast for me.
 Cheers
 
 John W




--
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


Re: [Flightgear-devel] FGbuild for MS Windows

2012-04-07 Thread Rob Dosogne
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