Except, I would like to use Cygwin, since I want to be able to make specific compile options, which Visual Studio do not allow. I tried first Netbeans (which is the option I prefer), but sorta gave up, I got a little further now with Cygwin, but stuck again.
I have done this:
set MSVC_3RDPARTY_ROOT=/cygdrive/d/FlightGearDevelopment
set CMAKE_INSTALL_PREFIX=/cygdrive/d/FlightGearDevelopment/install/msvc100-64/SimGear
Also unsure if should use freeglut-MSVC-2.8.0-1.mp.zip or freeglut-MinGW-2.8.0-1.mp.zip?
And unsure, if the obsolete OpenGL package in Cygwin should be installed? (it is atm.)
Okay, I went into Cygwin setup, and installed cygport and freeglut.
I then used cygport on freeglut (it installs into a wierd folder though, but putting that in path also did not help). And uninstalled the obsolete opengl.
Still do not work.
I get this:
- Code: Select all
$ cmake ../../../sources/simgear
CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (message):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache. If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher. Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE)
CMakeLists.txt:7 (project)
-- version is 2 dot 8 dot 0
-- ignoring: ^/cygdrive/d/FlightGearDevelopment/sources/simgear/.git;\\.gitignore;Makefile.am;~$;
-- Library installation directory: lib
CMake Error at /usr/share/cmake-2.8.9/Modules/FindBoost.cmake:1191 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:110 (find_package)
-- SimGear mode: NORMAL
CMake Error at /usr/share/cmake-2.8.9/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8.9/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8.9/Modules/FindOpenGL.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:117 (find_package)
-- Configuring incomplete, errors occurred!