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

Linux arm cross compile #4986

Closed
baconpaul opened this issue Sep 4, 2021 · 1 comment · Fixed by #4989
Closed

Linux arm cross compile #4986

baconpaul opened this issue Sep 4, 2021 · 1 comment · Fixed by #4989
Labels
ARM Compiling and running Surge on ARM architectures Infrastructure Issues related to repository, CI/CD, installers, etc. Linux Issues which only occur on Linux
Milestone

Comments

@baconpaul
Copy link
Collaborator

Try and make it work again with Lua? Rumors are it does r

@baconpaul baconpaul added this to the Surge XT 1.0 milestone Sep 4, 2021
@mkruselj mkruselj added ARM Compiling and running Surge on ARM architectures Infrastructure Issues related to repository, CI/CD, installers, etc. Linux Issues which only occur on Linux labels Sep 4, 2021
@baconpaul
Copy link
Collaborator Author

2216  sudo apt-get -y install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev build-essential bison flex libssl-dev bc gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
 2217  rm -rf ignore/xc
 2218  cmake -Bignore/xc -DCMAKE_TOOLCHAIN_FILE=cmake/linux-arm-ubuntu-crosscompile-toolchain.cmake -DCMAKE_BUILD_TYPE=DEBUG -GNinja

results in

-- LuaJIT: Using host compiler /usr/bin/gcc -m32
CMake Error at libs/LuaJitLib/CMakeLists.txt:183 (MESSAGE):
  Cannot compile a useful lua.

    Function dlopen() seems not to be supported on your platform.
    Apparently you are not on a Windows platform as well.
    So lua has no way to deal with shared libraries!


-- Configuring incomplete, errors occurred!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM Compiling and running Surge on ARM architectures Infrastructure Issues related to repository, CI/CD, installers, etc. Linux Issues which only occur on Linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants