Board index FlightGear Support Compiling

freetype error

Building FlightGear from source, and in the need for help?

freetype error

Postby Dorian » Thu Jun 04, 2015 9:39 am

Hi,

To compile to flightgear I used this tutoriel: http: // wiki.flightgear.org/Superbuild_on_Windo ws. To realise this tutoriel, during the compilation with vs2010, I have this generated error:error C1083: Cannot open include file: ' ft2build.h ': No such file or directory.
I saw that this error existed already on the forum but does not allow to solve my problem.
Dorian
 
Posts: 3
Joined: Wed Jun 03, 2015 2:23 pm
Version: Git
OS: Win7

Re: freetype error

Postby elgaton » Mon Jun 08, 2015 8:29 am

If I remember correctly (it's been some time since I tried to compile FG for Windows), find the directory containing ft2build.h (should be the build output directory), then open the Visual Studio solution, right click on each project, choose "Properties"; add the directory to the "List of include directories", save and recompile.
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1107
Joined: Tue Mar 19, 2013 4:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: freetype error

Postby Dorian » Tue Jun 09, 2015 7:41 am

I followed exactly your explanation and I still have the same error...
Dorian
 
Posts: 3
Joined: Wed Jun 03, 2015 2:23 pm
Version: Git
OS: Win7

Re: freetype error

Postby elgaton » Fri Jun 12, 2015 7:56 am

No idea then. What happens if you don't use the superbuild and compile the projects (SimGear/FlightGear...) separately?
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1107
Joined: Tue Mar 19, 2013 4:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: freetype error

Postby Dorian » Fri Jun 12, 2015 9:35 am

Yes I compiled separately and I also have an error. It happens when I use cmake to SimGear . He said, Could NOT find OpenSceneGraph : Found Unsuitable Version ".." purpose is required at least " 3.0.0 " . I compiled the 3.2.0 version of OSG .
Dorian
 
Posts: 3
Joined: Wed Jun 03, 2015 2:23 pm
Version: Git
OS: Win7


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest