Board index FlightGear Support Compiling

[Help]Cmake issues Flightgear windows visual studio 2010

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

[Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Tue Nov 24, 2015 8:10 pm

Hi All....

I am trying to build the flightgear using CMake in windows for visual studio 2010.

Followed the steps in http://wiki.flightgear.org/Building_using_CMake_-_Windows

Was able to successfully build the simgear cmake, visual studio and stuck at the building the flightgear, i expecting this issue to be with PLIB linking.

While doing the generate in cmake i found the following warnings, ignored them and tried to build the flightgear solution in vs 2010 express. The build failed.

Tried a lot surfing the internet and no luck :( .... Help please... How to solve the warnings, i believe the warnings are failing the build in vs10 as they are not able to link the PLIB libraries.

I have even pasted the vs2010 build errors after these warnings below(due to space constraints removed most of the errors.

Warnings in cmake:
Code: Select all
System is: Windows
Using explicit data directory for base package: C:\Flight Simulator Files\Softwares\fgdata
fatal: Not a git repository: 'C:/Flight Simulator Files/Softwares/flightgear-3.4.0/.git'

Git revision is
3rdparty files located in C:/Flight Simulator Files/DirectoryPaths
BOOST_ROOT is C:/Flight Simulator Files/DirectoryPaths/Boost
Boost version: 1.55.0
Found OpenAL: C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/OpenAL32.lib 
Using CrashRpt
Qt launcher enabled, checking for Qt 5.1 / qmake
CMake Warning at CMakeLists.txt:288 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" (requested
  version 5.1) with any of the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.


C:/Flight Simulator Files/DirectoryPaths/3rdParty/include/plib
SimGear include directory: C:/Flight Simulator Files/DirectoryPaths/install/msvc100/SimGear/include
found SimGear version: 3.4.0 (needed 3.4.0)
looking for static SimGear libraries
found SimGear libraries
Performing Test SIMGEAR_COMPILE_TEST
Performing Test SIMGEAR_COMPILE_TEST - Success
RTI: DISABLED
Zlib found for fgadmin
Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
Using FLTK_LIBRARIES for fgadmin: C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/fltkimages.lib;C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/fltkforms.lib;C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/fltkgl.lib;opengl32;C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/fltk.lib;wsock32;comctl32
found glut
EventInput not implemented for Windows yet
Configuring done
WARNING: Target "fgadmin" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgadmin" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgadmin" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgadmin" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgelev" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgelev" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgelev" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgpanel" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgviewer" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgviewer" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgviewer" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "js_demo" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "js_demo" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "js_demo" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "js_demo" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgjs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgjs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgjs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgjs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:\Flight Simulator Files\Softwares\OpenSceneGraph-3.2.1".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
WARNING: Target "fgfs" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/".  Targets may link only to libraries.  CMake is dropping the item.
Generating done


Following are build errors from the visual studio:
Code: Select all
1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Release Win32 ------
5>  cst_error.c
8>js_demo.obj : error LNK2019: unresolved external symbol "public: void __thiscall jsJoystick::read(int *,float *)" (?read@jsJoystick@@QAEXPAHPAM@Z) referenced in function _main
8>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets(275,5): error MSB6006: "link.exe" exited with code 1120.
8>js_demo.obj : error LNK2019: unresolved external symbol "public: __thiscall jsJoystick::jsJoystick(int)" (??0jsJoystick@@QAE@H@Z) referenced in function _main
8>js_demo.obj : error LNK2019: unresolved external symbol "void __cdecl jsInit(void)" (?jsInit@@YAXXZ) referenced in function _main
8>C:\Flight Simulator Files\Softwares\flightgear-build\src\Input\Release\js_demo.exe : fatal error LNK1120: 3 unresolved externals
10>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
10>C:\Flight Simulator Files\Softwares\flightgear-build\utils\TerraSync\Release\terrasync.exe : fatal error LNK1120: 1 unresolved externals
11>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
11>C:\Flight Simulator Files\Softwares\flightgear-build\src\FDM\YASim\Release\yasim.exe : fatal error LNK1120: 1 unresolved externals
12>panel_io.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
12>main.obj : error LNK2019: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z) referenced in function "void __cdecl sgdMakeCoordMat4(double (* const)[4],double const * const,double const * const)" (?sgdMakeCoordMat4@@YAXQAY03NQBN1@Z)
12>FGPanelApplication.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
12>panel.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_HELVETICA_18" (?PUFONT_HELVETICA_18@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_HELVETICA_10" (?PUFONT_HELVETICA_10@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_TIMES_ROMAN_24" (?PUFONT_TIMES_ROMAN_24@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_TIMES_ROMAN_10" (?PUFONT_TIMES_ROMAN_10@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_9_BY_15" (?PUFONT_9_BY_15@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_8_BY_13" (?PUFONT_8_BY_13@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "class puFont PUFONT_HELVETICA_12" (?PUFONT_HELVETICA_12@@3VpuFont@@A)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "public: __thiscall fntFont::fntFont(void)" (??0fntFont@@QAE@XZ) referenced in function "public: __thiscall fntTexFont::fntTexFont(void)" (??0fntTexFont@@QAE@XZ)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall fntTexFont::getBBox(char const *,float,float,float *,float *,float *,float *)" (?getBBox@fntTexFont@@UAEXPBDMMPAM111@Z)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall fntTexFont::puts(float * const,float,float,char const *)" (?puts@fntTexFont@@UAEXQAMMMPBD@Z)
12>FGFontCache.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall fntTexFont::load(char const *,unsigned int,unsigned int)" (?load@fntTexFont@@UAEHPBDII@Z)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall fntFont::~fntFont(void)" (??1fntFont@@UAE@XZ) referenced in function "public: virtual __thiscall fntTexFont::~fntTexFont(void)" (??1fntTexFont@@UAE@XZ)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "private: float __thiscall fntTexFont::low_putch(float * const,float,float,char)" (?low_putch@fntTexFont@@AAEMQAMMMD@Z) referenced in function "public: virtual void __thiscall fntTexFont::putch(float * const,float,float,char)" (?putch@fntTexFont@@UAEXQAMMMD@Z)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "void __cdecl ulCloseDir(struct _ulDir *)" (?ulCloseDir@@YAXPAU_ulDir@@@Z) referenced in function "public: bool __thiscall FGFontCache::initializeFonts(void)" (?initializeFonts@FGFontCache@@QAE_NXZ)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "struct ulDirEnt * __cdecl ulReadDir(struct _ulDir *)" (?ulReadDir@@YAPAUulDirEnt@@PAU_ulDir@@@Z) referenced in function "public: bool __thiscall FGFontCache::initializeFonts(void)" (?initializeFonts@FGFontCache@@QAE_NXZ)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "struct _ulDir * __cdecl ulOpenDir(char const *)" (?ulOpenDir@@YAPAU_ulDir@@PBD@Z) referenced in function "public: bool __thiscall FGFontCache::initializeFonts(void)" (?initializeFonts@FGFontCache@@QAE_NXZ)
12>FGFontCache.obj : error LNK2019: unresolved external symbol "public: __thiscall puFont::puFont(void)" (??0puFont@@QAE@XZ) referenced in function "private: struct FGFontCache::fnt * __thiscall FGFontCache::getfnt(char const *,float,float)" (?getfnt@FGFontCache@@AAEPAUfnt@1@PBDMM@Z)
12>C:\Flight Simulator Files\Softwares\flightgear-build\utils\fgpanel\Release\fgpanel.exe : fatal error LNK1120: 18 unresolved externals
13>fgjs.obj : error LNK2019: unresolved external symbol "void __cdecl jsInit(void)" (?jsInit@@YAXXZ) referenced in function _main
13>jsinput.obj : error LNK2019: unresolved external symbol "private: double __thiscall ulClock::getRawTime(void)const " (?getRawTime@ulClock@@ABENXZ) referenced in function "public: void __thiscall ulClock::reset(void)" (?reset@ulClock@@QAEXXZ)
13>jsinput.obj : error LNK2019: unresolved external symbol "private: void __thiscall ulClock::initPerformanceTimer(void)" (?initPerformanceTimer@ulClock@@AAEXXZ) referenced in function "public: void __thiscall ulClock::reset(void)" (?reset@ulClock@@QAEXXZ)
13>jsinput.obj : error LNK2019: unresolved external symbol "public: void __thiscall jsJoystick::read(int *,float *)" (?read@jsJoystick@@QAEXPAHPAM@Z) referenced in function "public: int __thiscall jsInput::getInput(void)" (?getInput@jsInput@@QAEHXZ)
13>jsinput.obj : error LNK2019: unresolved external symbol "public: void __thiscall ulClock::update(void)" (?update@ulClock@@QAEXXZ) referenced in function "public: void __thiscall jsInput::findDeadBand(void)" (?findDeadBand@jsInput@@QAEXXZ)
13>jssuper.obj : error LNK2019: unresolved external symbol "protected: void __thiscall jsJoystick::close(void)" (?close@jsJoystick@@IAEXXZ) referenced in function "public: __thiscall jsJoystick::~jsJoystick(void)" (??1jsJoystick@@QAE@XZ)
13>jssuper.obj : error LNK2019: unresolved external symbol "public: __thiscall jsJoystick::jsJoystick(int)" (??0jsJoystick@@QAE@H@Z) referenced in function "public: __thiscall jsSuper::jsSuper(void)" (??0jsSuper@@QAE@XZ)
13>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
13>C:\Flight Simulator Files\Softwares\flightgear-build\src\Input\Release\fgjs.exe : fatal error LNK1120: 8 unresolved externals
14>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
14>C:\Flight Simulator Files\Softwares\flightgear-build\utils\fgelev\Release\fgelev.exe : fatal error LNK1120: 1 unresolved externals
15>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
15>C:\Flight Simulator Files\Softwares\flightgear-build\utils\fgcom\Release\fgcom.exe : fatal error LNK1120: 1 unresolved externals
18>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
18>C:\Flight Simulator Files\Softwares\flightgear-build\utils\fgviewer\Release\fgviewer.exe : fatal error LNK1120: 1 unresolved externals
19>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
19>C:\Flight Simulator Files\Softwares\flightgear-build\utils\GPSsmooth\Release\UGsmooth.exe : fatal error LNK1120: 1 unresolved externals
20>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
20>C:\Flight Simulator Files\Softwares\flightgear-build\utils\GPSsmooth\Release\GPSsmooth.exe : fatal error LNK1120: 1 unresolved externals
21>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
21>C:\Flight Simulator Files\Softwares\flightgear-build\utils\GPSsmooth\Release\MIDGsmooth.exe : fatal error LNK1120: 1 unresolved externals
22>SimGearCore.lib(timestamp.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "public: void __thiscall SGTimeStamp::stamp(void)" (?stamp@SGTimeStamp@@QAEXXZ)
22>C:\Flight Simulator Files\Softwares\flightgear-build\src\FDM\YASim\Release\yasim-proptest.exe : fatal error LNK1120: 1 unresolved externals
17>FGEventHandler.obj : error LNK2019: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z) referenced in function __ehhandler$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z
17>WindowSystemAdapter.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>renderer.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>splash.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_scale.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_tape.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_tbi.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>panelnode.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_label.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_ladder.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_misc.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_runway.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_dial.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_gauge.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>HUD_instrument.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>FGFontCache.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>FGKeyboardInput.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>FGMouseInput.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>gui_funcs.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>layout-props.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>FGPUIMenuBar.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>new_gui.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>WaypointList.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>fonts.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>gui.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>panel_io.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>CanvasWidget.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>MapWidget.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>main.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>options.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>atcdialog.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>panel.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>fg_commands.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>fg_os_common.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>fg_props.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>globals.obj : error LNK2001: unresolved external symbol "void __cdecl sgdMakeCoordMat4(double (* const)[4],double,double,double,double,double,double)" (?sgdMakeCoordMat4@@YAXQAY03NNNNNNN@Z)
17>main.obj : error LNK2019: unresolved external symbol "void __cdecl fntInit(void)" (?fntInit@@YAXXZ) referenced in function "int __cdecl fgMainInit(int,char * *)" (?fgMainInit@@YAHHPAPAD@Z)
17>AirportList.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall puaList::~puaList(void)" (??1puaList@@UAE@XZ) referenced in function __unwindfunclet$??0AirportList@@QAE@HHHH@Z$0
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall puaList::~puaList(void)" (??1puaList@@UAE@XZ)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall puaList::~puaList(void)" (??1puaList@@UAE@XZ)
17>AirportList.obj : error LNK2019: unresolved external symbol "public: __thiscall puaList::puaList(int,int,int,int,int)" (??0puaList@@QAE@HHHHH@Z) referenced in function "public: __thiscall AirportList::AirportList(int,int,int,int)" (??0AirportList@@QAE@HHHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: __thiscall puaList::puaList(int,int,int,int,int)" (??0puaList@@QAE@HHHHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall puaList::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puaList@@UAEPAXVulRTTItypeid@@@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall puaList::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puaList@@UAEPAXVulRTTItypeid@@@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual void * __thiscall puaList::RTTI_cast(class ulRTTItypeid)" (?RTTI_cast@puaList@@UAEPAXVulRTTItypeid@@@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::getIntegerValue(void)" (?getIntegerValue@puaList@@UAEHXZ)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::getIntegerValue(void)" (?getIntegerValue@puaList@@UAEHXZ)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::getIntegerValue(void)" (?getIntegerValue@puaList@@UAEHXZ)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall puaList::getStringValue(void)" (?getStringValue@puaList@@UAEPADXZ)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall puaList::getStringValue(void)" (?getStringValue@puaList@@UAEPADXZ)
17>FGPUIDialog.obj : error LNK2019: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z) referenced in function "public: static char * __cdecl std::char_traits<char>::assign(char *,unsigned int,char)" (?assign@?$char_traits@D@std@@SAPADPADID@Z)
17>FGPUIMenuBar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>CanvasWidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>MapWidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>WaypointList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_legend(int,int)" (?draw_legend@puObject@@MAEXHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>FGPUIMenuBar.obj : error LNK2019: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z) referenced in function "public: static unsigned int __cdecl SGReferenced::put(class SGReferenced const *)" (?put@SGReferenced@@SAIPBV1@@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>CanvasWidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>MapWidget.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>WaypointList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puObject::draw_label(int,int)" (?draw_label@puObject@@MAEXHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puGroup::doHit(int,int,int,int)" (?doHit@puGroup@@MAEXHHHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puGroup::doHit(int,int,int,int)" (?doHit@puGroup@@MAEXHHHH@Z)
17>WaypointList.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puGroup::doHit(int,int,int,int)" (?doHit@puGroup@@MAEXHHHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puGroup::doHit(int,int,int,int)" (?doHit@puGroup@@MAEXHHHH@Z)
17>FGPUIMenuBar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall puGroup::doHit(int,int,int,int)" (?doHit@puGroup@@MAEXHHHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puaList::setSize(int,int)" (?setSize@puaList@@UAEXHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puaList::setSize(int,int)" (?setSize@puaList@@UAEXHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puaList::setSize(int,int)" (?setSize@puaList@@UAEXHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puGroup::recalc_bbox(void)" (?recalc_bbox@puGroup@@UAEXXZ)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puGroup::recalc_bbox(void)" (?recalc_bbox@puGroup@@UAEXXZ)
17>WaypointList.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puGroup::recalc_bbox(void)" (?recalc_bbox@puGroup@@UAEXXZ)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puGroup::recalc_bbox(void)" (?recalc_bbox@puGroup@@UAEXXZ)
17>FGPUIMenuBar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall puGroup::recalc_bbox(void)" (?recalc_bbox@puGroup@@UAEXXZ)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::checkHit(int,int,int,int)" (?checkHit@puaList@@UAEHHHHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::checkHit(int,int,int,int)" (?checkHit@puaList@@UAEHHHHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puaList::checkHit(int,int,int,int)" (?checkHit@puaList@@UAEHHHHH@Z)
17>property_list.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puGroup::checkKey(int,int)" (?checkKey@puGroup@@UAEHHH@Z)
17>AirportList.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puGroup::checkKey(int,int)" (?checkKey@puGroup@@UAEHHH@Z)
17>WaypointList.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puGroup::checkKey(int,int)" (?checkKey@puGroup@@UAEHHH@Z)
17>FGPUIDialog.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puGroup::checkKey(int,int)" (?checkKey@puGroup@@UAEHHH@Z)
17>FGPUIMenuBar.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall puGroup::checkKey(int,int)"
17>WindowSystemAdapter.obj : error LNK2019: unresolved external symbol "void __cdecl puRealInit(void)" (?puRealInit@@YAXXZ) referenced in function "public: virtual void __thiscall flightgear::WindowSystemAdapter::puInitialize(void)" (?puInitialize@WindowSystemAdapter@flightgear@@UAEXXZ)
17>WindowSystemAdapter.obj : error LNK2019: unresolved external symbol "void __cdecl puSetWindowFuncs(int (__cdecl*)(void),void (__cdecl*)(int),void (__cdecl*)(int *,int *),void (__cdecl*)(int,int))" (?puSetWindowFuncs@@YAXP6AHXZP6AXH@ZP6AXPAH2@ZP6AXHH@Z@Z) referenced in function "public: virtual void __thiscall flightgear::WindowSystemAdapter::puInitialize(void)" (?puInitialize@WindowSystemAdapter@flightgear@@UAEXXZ)
17>renderer.obj : error LNK2019: unresolved external symbol "void __cdecl puDisplay(void)" (?puDisplay@@YAXXZ) referenced in function "public: void __thiscall SGPuDrawable::drawImplementation(class osg::State &)const " (?drawImplementation@SGPuDrawable@@QBEXAAVState@osg@@@Z)
17>C:\Flight Simulator Files\Softwares\flightgear-build\src\Main\Release\fgfs.exe : fatal error LNK1120: 169 unresolved externals

24>------ Rebuild All started: Project: ALL_BUILD, Configuration: Release Win32 ------
24>  Building Custom Rule C:/Flight Simulator Files/Softwares/flightgear-3.4.0/CMakeLists.txt
24>  CMake does not need to re-run because C:\Flight Simulator Files\Softwares\flightgear-build\CMakeFiles\generate.stamp is up-to-date.
25>------ Skipped Rebuild All: Project: PACKAGE, Configuration: Release Win32 ------
25>Project not selected to build for this solution configuration
26>------ Skipped Rebuild All: Project: INSTALL, Configuration: Release Win32 ------
26>Project not selected to build for this solution configuration
========== Rebuild All: 10 succeeded, 13 failed, 3 skipped ==========
Last edited by Johan G on Wed Nov 25, 2015 11:07 pm, edited 1 time in total.
Reason: Moved the code tags to the beginnings and ends of the listings.
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Tue Nov 24, 2015 8:52 pm

The error messages point to Qt5 notbeing installed. This is new and optional - see the wiki article you referenced. (http://wiki.flightgear.org/Building_usi ... _-_Windows)
Either uncheck the "Enable Qt" box in Cmake, or install Qt5.

Best of luck

Alan
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Tue Dec 01, 2015 9:47 pm

Thanks for reply Alan.

Still the same warnings with Cmake except the Qt5 warning and same build errors for flight gear.
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Tue Dec 01, 2015 10:13 pm

Ok.

Looking further down your Cmake list of warnings I see lots of lines like:
WARNING: Target "fgadmin" requests linking to directory "C:/Flight Simulator Files/DirectoryPaths/3rdParty/lib/". Targets may link only to libraries. CMake is dropping the item.

Check your cmake library references - they should all point to individual library file names.
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Wed Dec 02, 2015 12:12 am

I am novice.

I am assuming that these libs which are having reference are referring to plib. But there is only directory for plibs variable in cmake?

How should we point to the libraries?
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby wkitty42 » Wed Dec 02, 2015 2:29 am

the problem seems to be related to how the cmake files you are trying to use are used in your winwhatever vs2010 version... i remember seeing something about this elsewhere but cannot recall the details at the moment :( :( :(
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 6966
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Wed Dec 02, 2015 4:23 am

Thanks for your reply wkitty42.

Please do let me know when you recollect. I am trying to build flight gear 3.4.0 using resources in http://www.flightgear.org/download/source-code/
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Wed Dec 02, 2015 9:59 am

This file shows how the Cmake settings that are used on the Jenkins server. This can be considered to be the reference build for Windows.
http://build.flightgear.org:8080/job/Fl ... eCache.txt

Check it against your copy of this file, or directly against the Cmake screen.
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Fri Dec 04, 2015 6:17 pm

Thanks Alant for quick response, I am eager to check against the cmake file. I won't get a chance to work on this task till next January. Hope I still get the responses after I post at that time :)
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Tue Jan 26, 2016 9:13 pm

Hi Alant,

Thank you, I am able to solve all the warnings in cmake and build errors in visual studio.

i am unclear on how to run the flight gear. i tried to run the fgfs.exe from the bin folder of flight gear, i am getting an pop up saying "CrashRpt1402 is missing from your computer..."
running fgjs.exe pop up- "zlib.dll is missing"
running fgpanel.exe pop up - "libpng16.dll is missing"
running fgviewer.exe pop up - "osg10-osgText.dll is missing"
metar.exe pop up - "zlib.dll is missing:

Please help me on these issues.

-Viswanath
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Tue Jan 26, 2016 10:36 pm

These dll files must be the same ones that you built flightgear with, and they must be in the windows "path".
zlib and libpng dll files are in the 3rd party bin directory that you used. the osg one is in the osg bin directory. These bin directories need to be in your path.
I have these flightgear related items in my path.
Path=C:\Flightgear\3rdParty.x64\bin;C:\FlightGear\install\msvc100-64\OpenSceneGraph\bin;C:\FlightGear\install\msvc100-64\OpenRTI\bin;C:\FlightGear\install\msvc100-64\bin

Hope this helps

Alan
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Tue Jan 26, 2016 11:24 pm

I did notice all the dll, I was doubtful to copy to c: windows.

You want me to copy the dll's to c:windows?
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Tue Jan 26, 2016 11:52 pm

No, put them in the flightgear "install" directory. Then make sure that you add the "bin" directories to the windows paths environment as I have done.
I recommend the free program "Rapid Environment Editor" to help setting these paths. It is much simpler than doing it with the rubbsish tools provided by Microsoft..

Alan
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby vissu » Wed Jan 27, 2016 9:50 pm

Hi Alan,

I have edited the Path variable (under system variables) and added the bin directories of 3rd party, open scene graph and Flight gear .

I am still facing the issue. I have even tried to run the fgfs.exe from the from command prompt by setting the fg root and fg scenery, fg data even them same issue.


-Viswanath
vissu
 
Posts: 12
Joined: Tue Nov 24, 2015 7:39 pm

Re: [Help]Cmake issues Flightgear windows visual studio 2010

Postby Alant » Wed Jan 27, 2016 11:56 pm

It is the (microsoft) WINDOWS path that you need to set. Try the program that I suggested http://www.rapidee.com
Alan
Alant
 
Posts: 1026
Joined: Wed Jun 23, 2010 5:58 am
Location: Portugal
Callsign: Tarnish99
Version: from Git
OS: Windows 10

Next

Return to Compiling

Who is online

Users browsing this forum: No registered users and 2 guests