Re: [hatari-devel] OSx problems

[ Thread Index | Date Index | More Archives ]

On Jun 1, 2014, at 9:47 AM, Thomas Huth <th.huth@xxxxxx> wrote:

> Am Sun, 1 Jun 2014 08:05:55 -0500
> schrieb Bob Carpenter <hatari@xxxxxxxxxx>:
>> Thomas,
>> The Tuxfamily error disappeared. The Hatari bundle compiles on OS X
>> and Jerome’s changes are there. However, the help file is not
>> included in the bundle. When I use the help menu, I get the default
>> OS X Mavericks help. Looking in the bundle, the help files were not
>> included.
> How did you compile? Did you use the CMake generated project file? In
> that case, you might need to regenerate it again with CMake before
> recompiling, in case the build system is not smart enough to do this on
> its own.

I made the mistake of using an earlier Xcode project file that I had already changed. When I downloaded the code again, regenerated the Xcode project file and attempted to compile it, I received a compilation error. The error said that Main_RequestQuit did not have the proper number of parameters. In every other instance except PrefsController.m, the call said Main_RequestQuit(0). It was simply Main_RequestQuit() in PrefsController. It appears this function changed from returning void to returning an integer value. 

I changed PrefsController.m to return 0 and Hatari compiled again. However, the help files are still not being included in the project. I started from a fresh Hatari directory and regenerated the project with CMake so I would think that would be enough.

I posted the diff file for PrefsController.m on my Dropbox public folder.

Bob C

Mail converted by MHonArc 2.6.19+