Board index FlightGear Development

Problem with running fgfs.exe  Topic is solved

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Problem with running fgfs.exe

Postby urong9 » Sun Aug 05, 2018 9:02 am

Code: 2018.2.1
OS: Windows 10
TOOL: CMake3.11.3 + VS Community 2017

I passed all compile and build, without test options, when starting fgfs.exe, I got a white window, then dispeared.
Then, I debug in vs2017, I got the following infomation:
Unhandled exception at 0x00007FF88D3EA388(located in fgfs.exe): Microsoft C++ exception: std::bad_alloc, at memory location 0x000000AD122FCEB0.
position:EffectGeode.cxx, Line 124

Image
Image

Anyone know how to fix it?thx!
urong9
 
Posts: 4
Joined: Sun Aug 05, 2018 7:37 am

Re: Problem with running fgfs.exe

Postby urong9 » Sun Aug 05, 2018 9:04 am

How to upload imgs?
urong9
 
Posts: 4
Joined: Sun Aug 05, 2018 7:37 am

Re: Problem with running fgfs.exe  

Postby legoboyvdlp » Sun Aug 05, 2018 6:44 pm

You can upload them to a service like imgur, then copy the direct link and put it in
Code: Select all
[img] [/img]
tags:

so for example,
I upload a screenshot to imgur,
I right click the image once uploaded, and click "copy image address": https://i.imgur.com/zc8iKh8.png
and paste that into tags:

Image
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Problem with running fgfs.exe

Postby urong9 » Tue Aug 07, 2018 5:07 pm

Thanks! It works.

Here is exception location:
Image
urong9
 
Posts: 4
Joined: Sun Aug 05, 2018 7:37 am

Re: Problem with running fgfs.exe

Postby urong9 » Tue Aug 07, 2018 5:35 pm

I fixed this problem.

I tried to find what is osgDB, and finally found in "msvc_3rdparty_root\install\msvc140-64\OpenSceneGraph\bin\osgPlugins-3.4.1" directory. There were many DLLs named begin with "osgdb_".
Then I copied all these DLLs into where "fgfs.exe" exists, the problem dispeared.

But, I dont know why the INSTALL process missed these DLLs???
urong9
 
Posts: 4
Joined: Sun Aug 05, 2018 7:37 am


Return to Development

Who is online

Users browsing this forum: No registered users and 12 guests