Page 2 of 3

Re: Steam X-Plane crashing with PE plugin

Posted: Thu Aug 07, 2014 10:50 am
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.

Re: Steam X-Plane crashing with PE plugin

Posted: Thu Aug 07, 2014 2:40 pm
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);
}

Re: Steam X-Plane crashing with PE plugin

Posted: Mon Aug 11, 2014 12:28 pm
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 :(

Re: Steam X-Plane crashing with PE plugin

Posted: Tue Aug 12, 2014 3:05 pm
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?

Re: Steam X-Plane crashing with PE plugin

Posted: Tue Aug 12, 2014 11:07 pm
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

Re: Steam X-Plane crashing with PE plugin

Posted: Sat Aug 23, 2014 7:50 pm
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

Re: Steam X-Plane crashing with PE plugin

Posted: Sun Aug 24, 2014 7:11 am
by Keith Smith
I'll be looking at this early this week. Just got back from vacation.

Re: Steam X-Plane crashing with PE plugin

Posted: Wed Aug 27, 2014 7:21 pm
by Kpinnow
Thanks Kevin appreciate it!

Re: Steam X-Plane crashing with PE plugin

Posted: Tue Sep 02, 2014 1:18 pm
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.

Re: Steam X-Plane crashing with PE plugin

Posted: Tue Sep 02, 2014 11:07 pm
by noisy
Hi Keith,
that's the good news. Looking forward for it