Skip to content

Trying to compile this ancient software #1

Open
@denilsonsa

Description

@denilsonsa

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions