• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

CX builds on headless linux?

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Hi all,

Is it possible to do HTML5/GLFW/Android builds on headless linux?

Thanks!
 
In theory it should be possible with carefully crafted shell scripts communicating over SSH on the server and client, but you would only be able to build Linux GLFW applications, unless you know what you are doing to trick transcc into cross compiling as I did with a little experiment I was messing with for MonkeyX 86c for Windows builds.
 
Thanks! Sorry I wasn't clear enough, I don't need to cross-compile, the linux GLFW is fine... just wanted to build my CX sources in a remote linux VPS, some sort of continuous builds. I managed to do HTML5 build (http://45.79.111.173/CerberusGame.html), GLFW and now trying an Android build (in Centos 7), so far so good :)

I thought I might also use it as a check up tool for new CX releases - basically compile all examples on at least html5/android/glfw on linux and see what fails, some sort of sanity checks, maybe using Jenkins for it...
 
Ok, giving up on Android :)

[root@li1210-173 tools]# /tmp/Cerberus/bin/transcc_linux -target=Android_Game -config=Release "/tmp/Cerberus/examples/mojo2/helloworld/helloworld.cxs"
TRANS cerberus compiler V2017-07-31
Parsing...
Semanting...
Translating...
Building...
Observed package id 'tools' in inconsistent location '/tmp/sdk-tools' (Expected '/tmp/sdk-tools/tools')
Checking the license for package Android SDK Build-Tools 26 in /tmp/sdk-tools/licenses
License for package Android SDK Build-Tools 26 accepted.
Preparing "Install Android SDK Build-Tools 26 (revision: 26.0.0)".
Warning: Trying to install into /tmp/sdk-tools/build-tools/26.0.0/ but package "Android SDK Tools" already exists at /tmp/sdk-tools/. It must be deleted or moved away before installing into a child directory.
Checking the license for package Android SDK Platform 26 in /tmp/sdk-tools/licenses
License for package Android SDK Platform 26 accepted.
Preparing "Install Android SDK Platform 26 (revision: 2)".
Warning: Trying to install into /tmp/sdk-tools/platforms/android-26/ but package "Android SDK Tools" already exists at /tmp/sdk-tools/. It must be deleted or moved away before installing into a child directory.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following SDK components:
[Android SDK Platform 26, Android SDK Build-Tools 26]
Please install the missing components using the SDK manager in Android Studio.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
 
Back
Top Bottom