Re: [Flightgear-devel] Cmake

2011-09-05 Thread Curtis Olson
So I have nothing against cmake, it sounds like it offers some nice features. But I assume those that want to push this change forward, will take some time to write up some basic howto's so that people who have never used it as a developer can get up to speed without too many problems? Right now

Re: [Flightgear-devel] Cmake

2011-09-05 Thread Martin Spott
Curtis Olson wrote: I'm just hoping the cmake jocks will put themselves in the position of non-cmake jocks and help ease the transition from multiple fronts for many of our different classes of users/developers. With CMake there's a list of flags you're appending to the 'cmake' call similarly

Re: [Flightgear-devel] Cmake

2011-09-05 Thread Curtis Olson
Is there support for the --prefix= concept of autoconf? I really struggled to find anything like that in OSG's cmake config and it appeared I would be forced to define a really ugly/long list of environment variables before running make install in order to accomplish a similar thing (installing

Re: [Flightgear-devel] Cmake

2011-09-05 Thread Curtis Olson
Is this an option to cmake at the configure step, or to make at the build/install step? Can this work as an environment variable? What if I want to pick up build libraries from a non-standard location ... maybe I'd like to install a particular version of FG and a particular version of all it's

Re: [Flightgear-devel] Cmake

2011-09-05 Thread Alan Teeder
-Original Message- From: MathiasFröhlich Sent: Monday, September 05, 2011 4:28 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Cmake Hi, On Monday, September 05, 2011 14:47:44 Alan Teeder wrote: Please don´t. I reverted from VC100 to VC90 as the Cmake

Re: [Flightgear-devel] Cmake

2011-09-05 Thread Martin Spott
Curtis Olson wrote: Is this an option to cmake at the configure step, or to make at the build/install step? The install prefix is set at the configure step - CMake is quite similar to Autoconf in this respect. To put an example, configuring SimGear on a setup with TerraSync/SVN explicitly

Re: [Flightgear-devel] Cmake

2011-09-05 Thread James Turner
On 5 Sep 2011, at 17:10, Curtis Olson wrote: So I have nothing against cmake, it sounds like it offers some nice features. But I assume those that want to push this change forward, will take some time to write up some basic howto's so that people who have never used it as a developer can

[Flightgear-devel] Cmake + VC2010 link errors

2011-02-12 Thread Alan Teeder
After many rebuilds of OSG, Simgear and Flightgear with the Cmake system I am still seeing a few warnings and errors at link time. Does anyone have any ideas please? TIA Alan -- Build started: Project: fgfs, Configuration: Release Win32 -- osgDB.lib(osg69-osgDB.dll) : warning

Re: [Flightgear-devel] Cmake + VC2010 link errors

2011-02-12 Thread Harry Campigli
Allan I know nothing about building on windows, but I have found installing osg multiple times on linux can cause issues as it does not always un-install cleanly, and the next install may not overwrite what is left behind. All is nice till you try and compile against it. Especially if its a

Re: [Flightgear-devel] Cmake + VC2010 link errors

2011-02-12 Thread Frederic Bouvier
Hi Allan, this issue has been discussed on the osg ML and is likely a bug in VS2010. These warnings are the best we can do. By default, these are errors, but the cmake configure script adds /FORCE:MULTIPLE to allow multiply defined symbols in an executable. Regards, -Fred - Alan Teeder

Re: [Flightgear-devel] Cmake + VC2010 link errors

2011-02-12 Thread Alan Teeder
-- From: Frederic Bouvier fredfgf...@free.fr Sent: Saturday, February 12, 2011 3:58 PM To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net Subject: Re: [Flightgear-devel] Cmake + VC2010 link errors Hi Allan, this issue

Re: [Flightgear-devel] Cmake + VC2010 link errors

2011-02-12 Thread Frederic Bouvier
I have just looked at the compiler preferences. The linker does have /FORCE:MULTIPLE defined. Here is the command line:- I know, I put it here ;-) http://gitorious.org/fg/flightgear/blobs/next/CMakeLists.txt#line198 -Fred -- Frédéric Bouvier http://www.youtube.com/user/fgfred64

[Flightgear-devel] Cmake with MSVC10

2011-01-31 Thread Alan Teeder
I have just started to get to grips with the new Cmake required by MSVC10. It is turning out to be a non-trivial task, as Cmake does not find the pre-requisites where they used to be. As part of this I have updated some of my old 3rd party stuff, including OSG. With current Simger GIT and OSG

Re: [Flightgear-devel] Cmake with MSVC10

2011-01-31 Thread ThorstenB
On 31.01.2011 20:19, Alan Teeder wrote: With current Simger GIT and OSG SVN I am seeing this. https://sourceforge.net/mailarchive/forum.php?thread_name=20110123021352.679925de%40celsius.localforum_name=flightgear-devel So, OSG 2.8.3 (stable release), OSG 2.9.10 (latest dev release), or OSG SVN

Re: [Flightgear-devel] CMake linker error

2011-01-14 Thread James Turner
On 10 Jan 2011, at 11:48, Andreas Gaeb wrote: using CMake with the latest git, I get the following error when linking GPSSmooth. The system is Ubuntu 10.10 32 bit. The targets before GPSSmooth build and run fine, including fgfs itself. However, MIDGsmooth and UGsmooth fail with a similar

Re: [Flightgear-devel] CMake linker error

2011-01-14 Thread Andreas Gaeb
Am 14.01.2011 12:50, schrieb James Turner: [...] This was fixed, thanks to some contributions from Fred and Olaf Flebbe. Hudson is now building next of FG SG using Cmake (in addition to autoconf), and everything is green at this time. thank you, works here as well. To also build fgadmin

Re: [Flightgear-devel] CMake linker error

2011-01-14 Thread Csaba Halász
On Fri, Jan 14, 2011 at 4:19 PM, Andreas Gaeb a.g...@web.de wrote: I had to include string.h instead of string in utils/fgadmin/src/main.cxx I believe the correct c++ header for that would be cstring Also, do not remove string since that is needed for def_install_source and def_scenery_dest.

Re: [Flightgear-devel] CMake linker error

2011-01-14 Thread Csaba Halász
Also, the #include string + using std::string in untarka.h is totally inappropriate and should be removed. -- Csaba/Jester -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and

[Flightgear-devel] CMake linker error

2011-01-10 Thread Andreas Gaeb
Hello everybody, using CMake with the latest git, I get the following error when linking GPSSmooth. The system is Ubuntu 10.10 32 bit. The targets before GPSSmooth build and run fine, including fgfs itself. However, MIDGsmooth and UGsmooth fail with a similar list of errors. Best regards,

[Flightgear-devel] Cmake

2010-12-19 Thread James Turner
I've just pushed my work on CMake build files for SimGear and Flightgear, to Gitorious. These files are completely orthogonal to the existing autoconf/automake build, and are still a work in progress - a few people have been experimenting with them (big thanks to Olaf Flebbe for moving things

Re: [Flightgear-devel] Cmake

2010-12-19 Thread Jari Häkkinen
On 2010-12-19 16.18, James Turner wrote: I've just pushed my work on CMake build files for SimGear and Flightgear, to Gitorious. These files are completely orthogonal to the existing autoconf/automake build, and are still a work in progress - a few people have been experimenting with them (big

Re: [Flightgear-devel] Cmake

2010-12-19 Thread James Turner
On 19 Dec 2010, at 18:48, Jari Häkkinen wrote: Does this indicate that autotools support will be discontinued for fg et al? I don't think so - there's plenty of people who prefer the autotools to Cmake :) But, it does mean I personally hopefully won't need to touch GNU m4 again, which

Re: [Flightgear-devel] Cmake

2010-12-19 Thread Donn Washburn
On 12/19/2010 02:29 PM, James Turner wrote: On 19 Dec 2010, at 18:48, Jari Häkkinen wrote: Does this indicate that autotools support will be discontinued for fg et al? I don't think so - there's plenty of people who prefer the autotools to Cmake :) But, it does mean I personally hopefully

Re: [Flightgear-devel] Cmake

2010-12-19 Thread Olaf Flebbe
Hi, ... and make distclean is missing. Cleaning directories is best be done by git clean -x -d -f or not necessary when doing out-of-source builds. cheers Olaf -- Lotusphere 2011 Register now for Lotusphere

Re: [Flightgear-devel] Cmake

2010-12-19 Thread Roland Haeder
Please replace git against fgfs, plib/osg are both SVN. signature.asc Description: This is a digitally signed message part -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your

Re: [Flightgear-devel] Cmake

2010-12-19 Thread James Turner
On 19 Dec 2010, at 21:56, stefan riemens wrote: Very cool, will be trying them out soon! (wonder how an mingw x-compile will turn out...). MingW I have *no* clue about, likely very broken. This is the kind of area, I can only rely on people to provide patches or feedback, if they care about

Re: [Flightgear-devel] Cmake

2010-12-19 Thread Donn Washburn
On 12/19/2010 03:45 PM, Olaf Flebbe wrote: Hi, ... and make distclean is missing. Cleaning directories is best be done by git clean -x -d -f or not necessary when doing out-of-source builds. cheers Olaf git clean -x -d -f also removes CMakeCache.lst You need distclean to

Re: [Flightgear-devel] cmake error building osg

2007-08-19 Thread dave perry
dave perry wrote: I am getting the following error building osg: CMake Error: Error in cmake code at /usr/local/source-osg/OpenSceneGraph-2.1.5/src/osgPlugins/osgFX/CMakeLists.txt:15: Unknown CMake command SETUP_PLUGIN. I get it withOpenSceneGraph/trunk as well as with 2.1.5 from the

Re: [Flightgear-devel] cmake error building osg

2007-08-19 Thread Curtis Olson
On 8/19/07, dave perry wrote: Was able to compile OpenSceneGraph OK using the 2nd cmake example in the OSG wiki.flightgear.org. The above error occurred usint the 1st example minimal build instructions. I had not compiled FlightGear using osg for more than a month, and it is significantly

[Flightgear-devel] cmake error building osg

2007-08-18 Thread dave perry
I am getting the following error building osg: CMake Error: Error in cmake code at /usr/local/source-osg/OpenSceneGraph-2.1.5/src/osgPlugins/osgFX/CMakeLists.txt:15: Unknown CMake command SETUP_PLUGIN. I get it withOpenSceneGraph/trunk as well as with 2.1.5 from the zip archive. I am

Re: [Flightgear-devel] cmake error building osg

2007-08-18 Thread gh.robin
On sam 18 août 2007, dave perry wrote: I am getting the following error building osg: CMake Error: Error in cmake code at /usr/local/source-osg/OpenSceneGraph-2.1.5/src/osgPlugins/osgFX/CMakeLists. txt:15: Unknown CMake command SETUP_PLUGIN. I get it withOpenSceneGraph/trunk as well as

Re: [Flightgear-devel] cmake error building osg

2007-08-18 Thread dave perry
gh.robin wrote: On sam 18 août 2007, dave perry wrote: I am getting the following error building osg: CMake Error: Error in cmake code at /usr/local/source-osg/OpenSceneGraph-2.1.5/src/osgPlugins/osgFX/CMakeLists. txt:15: Unknown CMake command SETUP_PLUGIN. I get it

<    1   2