Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to compile this ancient software #1

Open
denilsonsa opened this issue Sep 12, 2023 · 1 comment
Open

Trying to compile this ancient software #1

denilsonsa opened this issue Sep 12, 2023 · 1 comment

Comments

@denilsonsa
Copy link

denilsonsa commented Sep 12, 2023

I spent quite some time trying to compile this ancient abandoned software. I managed to compile it, but it crashes when running.

If anyone wants to try, here are the "fixes" I've made:

  • I took a look at the old Gentoo ebuild.
  • Install dssi, and probably a few other dependencies.
  • Install vst2sdk, the old deprecated VST2 SDK.
  • Replace AEffEditor.hpp with aeffeditor.h at VstPlugin.h
  • Replace the second return false with return NULL at ProcessingGraph.h
  • Add -I "/usr/include/vst36" to DEPFLAGS
  • Add -fpermissive and -std=c++03 and -D "VST_FORCE_DEPRECATED=0" to CFLAGS
  • Figure out where to set those flags in a good way. For now, I just changed the autogenerated jost.make
  • Replace va_copy with __va_copy at line 10738 of juce_amalgamated.cpp
  • Replace if (index >= 0) with if (inputIndex >= 0 || outputIndex >= 0) at line 298186 of juce_amalgamated.cpp

These are not real fixes, just the bare minimum to make the code compile.

make CONFIG=Release
# A binary will be available at bin/jost

make CONFIG=Debug
# A binary will be available at bin/jost_debug

After all these steps, and after too many warning messages from the compiler.

When I run the Release binary, I immediately get an error:

ERROR: Program executed illegal instruction.. terminating

The Debug binary runs, but it is unstable.

Sidenote: Interestingly, this ancient JUCE version exposes the Alsa MIDI ports, while the newer JUCE code doesn't.


Conclusion: you will have better luck running Carla (which supports all kinds of plugin formats) or the simpler Jalv (which only supports LV2).

@trebmuh
Copy link
Member

trebmuh commented Sep 14, 2023

Thanks for this feedback @denilsonsa .
I'll let this open in case of someone would want to continue this quest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants