I'm trying to build master on OSX Mavericks (10.9.4) and I want to document the issues I'm running into and make sure that my reasoning in attempting to resolve them is sound.
First and foremost, here is my config_user.pri:
I was initially attempting to compile using my homebrew Qt (4.8.6), but that resulted in undefined symbols for x86_64. So I switched to system Qt (5.3) and that seemed to resolve the issue.
Then, the SDL issues began. As you can see above, I had to do some hacky things to point the compiler at my homebrew SDL (1.2.15). This worked, up to a point - most curiously, I had to make a code change to /client/src/unix/joystick.cpp:
- LOG_INPUT_MSG("Joystick name: %s" ) << SDL_JoystickName(joy);
+ LOG_INPUT_MSG("Joystick name: %s" ) << SDL_JoystickName(0);
It seems the signature of that function was different from what was expected. I did my best to infer the correct value to pass from the surrounding code.
Now, the issue that I'm running into is that no rule exists for building libdoom.pk3. I'm hoping that adding "CONFIG+=deng_packres" to my configuration will resolve the problem, but I don't have time to test that until later tonight.
Any help you guys can provide would be greatly appreciated.