Lameguy64 / TIMedit

Graphical TIM converter and management tool for PlayStation homebrew development
Mozilla Public License 2.0
29 stars 9 forks source link

Compiling TIMEdit on Mac OSX #2

Open ElvargThemSelf opened 3 years ago

ElvargThemSelf commented 3 years ago

I'm having issues compiling TIMEdit on Mac OSX. I tried to edit the Makefile to satisfy my compiler, but the only issue I have is linking the res file and image, which apparently doesn't link properly. My question is can skip the linking part entirely and run the program normally as it should?

Lameguy64 commented 3 years ago

The res file is only used for the Win32 build to include an icon and some Windows specific EXE metadata to the executable. It should not be required for Linux and in this case Mac targets.

ElvargThemSelf commented 3 years ago

Ok, but is it also necessary to build the png file, or is it just Win32 build only?

Also on note: When trying to run the built program it gives me a segmentation fault and I have no clue what causes it.

Lameguy64 commented 3 years ago

Hmm, that's odd. Sadly I don't think I can provide much help as I'm not familiar with building for OSX and have no access to a Mac to figure it out myself.

Key-Real commented 4 months ago

same on my Arch Linux.

I removed everything around this icon.png

btw. 1) all #include <Fl/.....> should be #include <FL/.......> check for case sensitivity 2) You only need -lfltk_images not thouse _png and so on