ps3dev / PSL1GHT

A lightweight PS3 SDK
www.psl1ght.com
MIT License
207 stars 63 forks source link

Segmentation Fault CGCOMP on Msys2/Mingw #113

Open devildwarf opened 3 years ago

devildwarf commented 3 years ago

I compiled CGCOMP on Mingw64 in Msys2 and everytime i try to run cgcomp with a command such as -f it gives Segmentation Fault, this didnt happen on the older builds (before June 2020). Annotation 2020-10-17 205933

Also compiled on cygwin and didn't have this issue

bucanero commented 3 years ago

there's a recent change in cgcomp build flags: https://github.com/ps3dev/PSL1GHT/commit/6e565a70e927f55813babe86dc6f64149535f908

perhaps this solves your issue with mingw?

devildwarf commented 3 years ago

Hi, sorry for the late reply, my health hasnt been good recently (nothing serious but it has made me less active) Anyway the changes made no difference, just tried with the latest cgcomp and im still getting segmentation faults image still works fine in cygwin but this happens in Mingw

crystalct commented 3 years ago

If cgcom works fine on Mingw when you use absolute paths, for example: cgcomp -f /home/myname/alpha.fcg /home/myname/alpha.fpo then the problem is the same on cygwin before my fix....