Steam X-Plane crashing with PE plugin

Keith Smith
Posts: 9942
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Steam X-Plane crashing with PE plugin

Post by Keith Smith »

Very good, so the files are in place. The last thing I'd like you to try to do is modify the helloWorld plugin to try to open that lights.png file using the relative path (Resources/plugins/PilotEdge...) using fopen and let me know if it succeeds.
noisy
Posts: 17
Joined: Wed Jun 04, 2014 1:07 pm
Location: EDDT

Re: Steam X-Plane crashing with PE plugin

Post by noisy »

Hey Keith,
my C skills a little bit rusty but i've used following snippet and obtained "SUCCESS" message in my log.txt file.

Code: Select all

    
FILE *fp;
    
fp = fopen("Resources/plugins/PilotEdge/VSPro Resources/lights.png","r");
if (fp == NULL) {
    XPLMDebugString(strerror(errno));
} else {
    XPLMDebugString("SUCCESS");
    fclose(fp);
}
noisy
Posts: 17
Joined: Wed Jun 04, 2014 1:07 pm
Location: EDDT

Re: Steam X-Plane crashing with PE plugin

Post by noisy »

Hi Keith, any news on this topic? Is there anything that i can do to help you find the solution?

Ooops. Just obtained mail with notification that my trial is ended :(
Keith Smith
Posts: 9942
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Steam X-Plane crashing with PE plugin

Post by Keith Smith »

Sorry for the delay, I'm on a family vacation at the moment and am on a limited schedule at the moment. Thank you for completing the last test there. The result is interesting, you were able to open the file with the relative file reference, yet a similar use case is failing in our plugin. I'll try building a version with a fully qualified path and see what happens. This is under MacOS, right?
noisy
Posts: 17
Joined: Wed Jun 04, 2014 1:07 pm
Location: EDDT

Re: Steam X-Plane crashing with PE plugin

Post by noisy »

Hi, it's totally not a problem just checking in that you don't forget. Enjoy your vacation.

That's on MacOS, correct.
Just to be precise: I'm using X-Plane 10.25r1 64bit Steam version on MacOS 10.9.4
Kpinnow
Posts: 2
Joined: Sat Aug 23, 2014 7:43 pm

Re: Steam X-Plane crashing with PE plugin

Post by Kpinnow »

Hi Keith any luck on this one? I am having the same problem. When I remove the pilot edge file from the xplane 10 file the program boots. Put it back and in it crashes. Thanks
Keith Smith
Posts: 9942
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Steam X-Plane crashing with PE plugin

Post by Keith Smith »

I'll be looking at this early this week. Just got back from vacation.
Kpinnow
Posts: 2
Joined: Sat Aug 23, 2014 7:43 pm

Re: Steam X-Plane crashing with PE plugin

Post by Kpinnow »

Thanks Kevin appreciate it!
Keith Smith
Posts: 9942
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Steam X-Plane crashing with PE plugin

Post by Keith Smith »

Got some help from Ben Supnik on this today. It's likely to be a version of libpng from Steam trumping the version that we linked with. I'm going to tighten up how our symbols are exported which should prevent this trumping from happening. I'll have a version for you to try soon.
noisy
Posts: 17
Joined: Wed Jun 04, 2014 1:07 pm
Location: EDDT

Re: Steam X-Plane crashing with PE plugin

Post by noisy »

Hi Keith,
that's the good news. Looking forward for it
Post Reply