Cerberus X v2018-04-21 released

MikeHart

Administrator
Joined
Jun 19, 2017
Location
Germany
With AGK? No. TGC only provides MSVC compatible libs.
If you want to use mojo/mojo2 then you can use MingW.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Location
Germany
Just to let you know guys, CX is now available for OSX again. I have concentrated on getting a release done, so no bug fixing for this platform in this release. But that will come soon.
 

Gerdich

New Member
Joined
Apr 26, 2018
You did a very good job with CX for AppGameKit! What does mean "for OSX". Is it AGK for OSX?
 

MikeHart

Administrator
Joined
Jun 19, 2017
Location
Germany
Thank you!

No, not for now. I had problems building a release of Cerberus X for OSX due to incompatible hardware and software.
So Cerberus X was lately available only for Windows. OSX and Linux was missing.

But now you can code on Windows and OSX again. Linux will hopefully follow in the near future.

The AGK Desktop target for OSX will come definitely, but it isn't functional in this OSX release.
 

Gerdich

New Member
Joined
Apr 26, 2018
Good news!!

One wishful feature of the far future: If Cerberus X could produce also the basic code of tier1 that would be very useful for testing on all devices.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Location
Germany
One wishful feature of the far future: If Cerberus X could produce also the basic code of tier1 that would be very useful for testing on all devices.
Mmh, how would you translate the OOP parts of the CX code to AGKs Tier1 code?
 

Gerdich

New Member
Joined
Apr 26, 2018
Yes, you are right. Agk "OOP" Tier 2 code is in fact very flat and translates mostely pure C code. But what can we do if anybody writes High Level Cerberus Code, with real OOP? I didn't think about that. In theory every C++ code can be reduces to a von Neumann Architecture. But in the practice this may be difficult.
 

dawlane

Well-Known Member
CX Code Contributor
Joined
Jun 21, 2017
@MikeHart : The only thing I wouldn't be able to check on Linux would be AGK as I don't own the current version.
 

dawlane

Well-Known Member
CX Code Contributor
Joined
Jun 21, 2017
@MikeHart : I've added a few tweaks to the rebuildall.sh file. You can now pass a parameter of either qt4, qt5 or the path to the bin directory to the Qt SDK kit you wish to use.

Code:
#Quick and nasty linux shell rebuild all
# You can pass either qt4 or qt5 or pass the path to the location of qmake

#Make transcc
echo "building transcc"
g++ -O3 -DNDEBUG -o ../bin/transcc_linux transcc/transcc.build/cpptool/main.cpp -lpthread

#Make makedocs
echo "building makedocs"
../bin/transcc_linux -target=C++_Tool -builddir=makedocs.build  -clean -config=release +CPP_GC_MODE=0 makedocs/makedocs.cxs
mv makedocs/makedocs.build/cpptool/main_linux ../bin/makedocs_linux
rm -rf makedocs/makedocs.build

#Make cserver
echo "building cserver"
../bin/transcc_linux "-target=Desktop_Game_(Glfw3)" -builddir=cserver.build -clean -config=release +CPP_GC_MODE=1 cserver/cserver.cxs
mv cserver/cserver.build/glfw3/gcc_linux/Release/CerberusGame ../bin/cserver_linux
mv cserver/cserver.build/glfw3/gcc_linux/Release/data ../bin/data
rm -rf cserver/cserver.build

#Make launcher
echo "building launcher"
../bin/transcc_linux -target=C++_Tool -builddir=launcher.build -clean -config=release +CPP_GC_MODE=0 launcher/launcher.cxs
mv launcher/launcher.build/cpptool/main_linux ../Cerberus
rm -rf launcher/launcher.build

#Make ted

function version { echo "$@" | gawk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }'; }

echo "building ted"

rm -rf build-ted-Desktop-Release
mkdir build-ted-Desktop-Release
cd build-ted-Desktop-Release

if [ "$1" = "qt5" ] || [ "$1" = "qt4" ]; then
    if [ "$1" = "qt4" ]; then
        export QT_SELECT=qt4
    else
        export QT_SELECT=qt5
    fi
else
        export QTDIR=$1
        export PATH=$QTDIR:$PATH
fi

if [ qmake 2>/dev/null ];then
    QMAKE_VERSION=`qmake --version | sed -n 2p | awk '{ print $4 }'`
    echo "Current version of Qt is $QMAKE_VERSION."

    if [ "$(version "$QMAKE_VERSION")" -gt "$(version "5.5.1")" ]; then
        echo "Ted requires a version of Qt with webkit. The last version to support it was Qt 5.5.1."
        exit 1
    fi
fi

qmake ../ted/ted.pro
make
cd ..
rm -rf build-ted-Desktop-Release
 
Top Bottom