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

Portable linux version #4

Open
4n0nct opened this issue Jul 1, 2021 · 6 comments
Open

Portable linux version #4

4n0nct opened this issue Jul 1, 2021 · 6 comments

Comments

@4n0nct
Copy link

4n0nct commented Jul 1, 2021

Have you succeed yourself compiling into a linux version ?
If yes, could you make a portable version and upload it in the mega archive ?

@ShizuhaAki
Copy link

It seems that I cannot compile it on my GNU/Linux yet. Though I would really want one!

@SlawekNowy
Copy link

SlawekNowy commented Nov 12, 2021

Repo author provides some dependecies pre-built. This is not the case however with OGGVorbis and openal.One can easily build it.

EDIT: you can add libzip to the list

TODO: why does repo author for some cases prefer prebuilts over source trees?

@ShizuhaAki
Copy link

Repo author provides some dependecies pre-built. This is not the case however with OGGVorbis and openal.One can easily build it.

EDIT: you can add libzip to the list

TODO: why does repo author for some cases prefer prebuilts over source trees?

I tried following the official docs, and CMake is throwing up here:

CMake Error at CMakeLists.txt:58 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/cpp-empty-test" which
  is not an existing directory.


CMake Error at CMakeLists.txt:59 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/cpp-tests" which is
  not an existing directory.


CMake Error at CMakeLists.txt:62 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/lua-empty-test/project"
  which is not an existing directory.


CMake Error at CMakeLists.txt:63 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/lua-tests/project"
  which is not an existing directory.

I'm on a Fedora 36 and I've installed all the equivalents of the dependencies.

@SlawekNowy

@SlawekNowy
Copy link

SlawekNowy commented Jun 9, 2022

Xrysnow removed tests from his fork at commit Xrysnow/cocos2d-x@bf2dbe1 , but he didn't remove references to it. See https://github.com/Xrysnow/cocos2d-x/blob/348da560fd293fff759be4616e15bc05ead5391d/CMakeLists.txt#L57

@Xrysnow
Copy link
Owner

Xrysnow commented Jun 9, 2022

Xrysnow removed tests from his fork at commit Xrysnow/cocos2d-x@bf2dbe1 , but he didn't remove references to it. See https://github.com/Xrysnow/cocos2d-x/blob/348da560fd293fff759be4616e15bc05ead5391d/CMakeLists.txt#L57

This CMakeLists.txt should never be used. Always use https://github.com/Xrysnow/LuaSTG-x/blob/master/CMakeLists.txt to build LuaSTG-x.

@SlawekNowy
Copy link

Yea LuaSTG-x's cmakelists uses select dirs from cocos. Do as he said.

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

4 participants