pblasser / shbobo

USB synthesizer controllers and their source
MIT License
37 stars 6 forks source link

adding ELF 64-bit #11

Open michal-cab opened 3 years ago

michal-cab commented 3 years ago

actually i am trying to compile also other stuff as fish, justinstoo and got compiling errors. it would be really helpful to add either 64bit elf files or add some compiling instructions/prereqs. :)

pblasser commented 3 years ago

well lets start with compiling errors on justintstoo gimme a listing. fish is gonna be hard because of all the juce stuff and thats why i am moving away to java. ironically 90s regressive. youll see more of that in the future. i dont know what 64bit elves are.

michal-cab commented 3 years ago

well, @debian 10 - it is necessary to change paths in jusinstoo makefile to "see" SDL2:

but than i got this: g++ main.cpp -D"LINUSTORWALDS" -lusb-1.0 -lstdc++ -lm -ldl -lpthread -lsndio -I/usr/include/SDL2/ /usr/lib/x86_64-linux-gnu/libSDL2.a -ojustintstoo /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSDL2.a(SDL_alsa_audio.o): undefined reference to symbol 'snd_pcm_chmap_print@@ALSA_0.9' /usr/bin/ld: //lib/x86_64-linux-gnu/libasound.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [makefile:29: main] Error 1

i am not sure about this line: /usr/bin/ld: //lib/x86_64-linux-gnu/libasound.so.2: - why there is missing /usr/ and just // as debian 10 libasound.so.2 is present in /usr/lib/x86_64-linux-gnu/libasound.so.2

:-o

znmeb commented 4 months ago

I haven't tried Fish yet, but I think I can compile all of the others on Debian 12 ("bookworm"). I don't really need Fish on Linux; Jish works fine and I think the makefile built it.

Let me know if you want me to do a pull request with a build script for everything that works.

znmeb commented 4 months ago

Also, maybe this is the place to ask this:

https://github.com/montoyamoraga/shbobo-studies/issues/1

znmeb commented 4 months ago

I've mostly got this working on Debian 11, but the lack of build instructions, missing dependencies and the fact that the Linux source doesn't seem to have been touched for three years means I need to drop this and move on unless I have some guidance from the author(s) of the code.