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

Can the JUCE version be built on Linux? On Windows? #133

Open
znmeb opened this issue Mar 13, 2021 · 7 comments
Open

Can the JUCE version be built on Linux? On Windows? #133

znmeb opened this issue Mar 13, 2021 · 7 comments
Assignees
Labels
Milestone

Comments

@znmeb
Copy link

znmeb commented Mar 13, 2021

It looks like the JUCE version is only for Macs. I don't have a Mac but I have several Linux systems and a high-end Windows gaming desktop. Is there some way I can build the latest JUCE port on these systems, or am I constrained to the older versions?

@philburk philburk self-assigned this Mar 14, 2021
@philburk
Copy link
Owner

philburk commented Mar 14, 2021

JUCE is supposed to provide cross platform support on Linux, Mac, Windows, Android, etc. So I decided to try it.

I installed JUCE on Ubuntu 18.04
I then loaded the file "hmsl/native/juce/JuceHMSL.jucer" and added an Export Target for LinuxMakefile.

git submodule update --init  # to load pforth
cd native/juce/Builds/LinuxMakefile
make

I got a missing "GL/gl.h" include file. So I entered:

sudo apt install mesa-common-dev

Now I am getting an error with assert and import.
There are also a lot of JUCE files that need updating.

I would love to get this running on Linux but it may not happen today. Stay tuned.

@philburk philburk added this to the v0.6 milestone Mar 14, 2021
@znmeb
Copy link
Author

znmeb commented Mar 14, 2021

@philburk Thanks! If you do get it running on 18.04 I'll take a shot at porting it to arm64 / NVIDIA Jetson.

@znmeb
Copy link
Author

znmeb commented Apr 10, 2021

Another thought / question: does the pForth implementation of HMSL still run without the JUCE GUI framework? I took a look at the JUCE license page and it's confusing / not something I have the energy or funding to deal with.

@philburk
Copy link
Owner

I have not tried to build the Windows version of HMSL in a long time.
But it might work. I think Microsoft will still run WIn32 apps.

not something I have the energy or funding to deal with.

JUCE is free for personal use and open source projects.

@znmeb
Copy link
Author

znmeb commented Apr 11, 2021

I'd be building on Linux, not Windows.

@marclava
Copy link

marclava commented May 19, 2021

Hi Phil,

I used HMSL at the beginning of the 90's on a Mac Plus; this is how I learned a bit about Forth (and OOP)... I'd love to try HSML again, but I'm also a converted Linux user. I added a Linux Makefile target using Projucer (self-compiled 6.0.5 GPL version), but HMSL does not compile on Linux because support for Me2000 is missing. Is it possible to compile HMSL without Me2000?

Thanks

@philburk philburk modified the milestones: v0.6, v0.7 Feb 21, 2022
@philburk
Copy link
Owner

philburk commented Oct 19, 2024

Is it possible to compile HMSL without Me2000?

The ME2000 is a portable General MIDI synth originally written for polyphonic ringtones.
It provides a built-in synth for HMSL for consistent output.
It should be able to build an ME2000 library for Linux. Source is here:
https://github.com/philburk/mobileer-synth

If you want to remove the use of the ME2000 you would need to disable it from LocalSynth.cpp.
I just added conditional compilation. Build with -DHMSL_DISABLE_ME2000 as a compiler switch.

cf49471

If the ME2000 is removed then HMSL could be used with just the external MIDI:

midi_port_external midi-port !

Now your HMSL MIDI will be sent out from HMSL and can be used as Input to Logic Pro or other apps.

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

No branches or pull requests

3 participants