Steam X-Plane crashing with PE plugin
-
- Posts: 9942
- Joined: Sat Oct 09, 2010 8:38 pm
- Location: Pompton Plains, NJ
- Contact:
Re: Steam X-Plane crashing with PE plugin
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
Hey Keith,
my C skills a little bit rusty but i've used following snippet and obtained "SUCCESS" message in my log.txt file.
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
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
Ooops. Just obtained mail with notification that my trial is ended

-
- Posts: 9942
- Joined: Sat Oct 09, 2010 8:38 pm
- Location: Pompton Plains, NJ
- Contact:
Re: Steam X-Plane crashing with PE plugin
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
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
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
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
-
- Posts: 9942
- Joined: Sat Oct 09, 2010 8:38 pm
- Location: Pompton Plains, NJ
- Contact:
Re: Steam X-Plane crashing with PE plugin
I'll be looking at this early this week. Just got back from vacation.
Re: Steam X-Plane crashing with PE plugin
Thanks Kevin appreciate it!
-
- Posts: 9942
- Joined: Sat Oct 09, 2010 8:38 pm
- Location: Pompton Plains, NJ
- Contact:
Re: Steam X-Plane crashing with PE plugin
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
Hi Keith,
that's the good news. Looking forward for it
that's the good news. Looking forward for it