I have the DNK3d Complete Version Cd (so I have a GRP file to use) and just a itchin' to run duke on linux. After searching the forums I have found a couple of threads related to my problem but the answer still eludes me. After determining I need jfbuild_src_20051009 and jfduke3d_src_20051009 I tried make in the jfbuild directory. Well it complained about not finding fmod.h and fmod_errors.h. Some more poking around and I need fmodapi. So I get fmodapi40604linux and install the headers in /usr/include/fmodapi and the libs in /usr/lib/fmodapi and run make again. Again it cannot find those two header files.
Some more forum poking and I find a thread about copying those two header files into the jfbuild src dirctory. Actually I copied them to the include directory of the jfbuild source tree. So now make no longer complains about not finding the two header files.
Now though make fails on "src/sound.c:29: error: syntax error before '*' token". Some more forum poking and found some other posts about the same error but I am not clear what the resolution is to this problem.
Grateful assistance for would be I.
taurnil at
Re: jfbuild_src_20051009 and linux
Grrr.
Now it should be attached.
taurnil at
Ok, I've made it a little bit further in the make. I noticed in the fmodapi40604linux there are fmod_codec.h, fmod_dsp.h, fmod_errors.h, fmod.h, fmod.hpp and fmod_output.h. I I made sure these were copied into the jfbuild_src_20051009/include directory. Then I added the missing ".h"s in the sound.c;
In file included from src/sound.c:10: include/fmod.hpp:21: error: syntax error before "FMOD" include/fmod.hpp:22: error: syntax error before '{' token include/fmod.hpp:24: warning: type defaults to `int' in declaration of `Sound'
blah blah.
If I remove the #include "fmod.hpp", I get the same errors as before.
taurnil at
Okey dokey, pardon me whilst I talk to myself. Started to figure perhaps the fmod I was using was to new, so backed down to version 375. Followed the procedure http://ubuntuforums.org/archive/index.php/t-187396.html and got much furnther but not quite there yet. Attached is the errors.
taurnil at
Welpers, this should be my last entry. Finally pulled my head out and got everything working Yeehaw! The last bit was forgot to symlink ln -s /usr/lib/libfmod-3.75.so /usr/lib/libfmod.so after that all built fine.
NOW.... it's time to go kick some arse cause I'm all outa bubblebum.