• 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

Problems building Windows target

Snader

Member
Joined
May 7, 2020
Messages
23
Well, back again and actually trying to build something for Windows for the first time.. but it is giving me headaches. Everything seems fine and can't pinpoint where the problem is. I have looked all over the forum,but nothing seems to help.

mingw32-make: *** [build/Debug32/main.o] Error 1
Makefile:59: recipe for target 'build/Debug32/main.o' failed
TRANS FAILED: Error executing 'mingw32-make ARCH="32" CCOPTS=" -m32 -O0" LDOPTS=" -m32 -LD:/Development/Cerberus/libs/Win32" LIBOPTS=" -lopenal32" SRCOPTS=" " VPATHOPTS=" " OUT="Debug32/CerberusGame"', return code=2
Abnormal program termination.
Exit code: -1

I am finally getting my Penguin game ready for steam, but this problem keeps me left with HTML5 only at the moment..
 
Last edited:
Which version of MinGW are you trying to use?
 
Try building as a 64 bit executable and not as a 32 bit one.
You'd find building with Visual Studio to be more reliable than using MinGW.
 
Thanks! It now builds correctly, but sound is gone and gamepad controls are completely messed up.
 
Delete the build directory and rebuild.
 
Tried that, still no sound (I do have sound in HTML5 target) and gamepad controls are different than in html5 target.


If (JoyHit(JOY_X)) Then Print "JOY_X"
If (JoyHit(JOY_Y)) Then Print "JOY_Y"
If (JoyHit(JOY_B)) Then Print "JOY_B"
If (JoyHit(JOY_A)) Then Print "JOY_A"

All output correctly as expected on HTML5, but on DESKTOP target I get:

If (JoyHit(JOY_X)) Then Print "JOY_X" ' prints JOY_B
If (JoyHit(JOY_Y)) Then Print "JOY_Y" ' prints JOY_Y
If (JoyHit(JOY_B)) Then Print "JOY_B" ' prints JOY_A
If (JoyHit(JOY_A)) Then Print "JOY_A" ' prints JOY_X

When trying an old gamepad, it the controller problem isn't there. It seems to be a problem with the Stadia controller via USB. No other programs are affected though.
 
Last edited:
Would it be useful to upgrade to a newer version of GLFW for the Stadia Controller problem I am having? I have no idea how to do this by the way...
 
GLFW has some mapping build for controllers build in.
Upgrading GLFW can be as easy as replacing the source files in the target or can need changes to the target as well.
 
When it come to upgrading GLFW. You go through the documentation and sources to make a note of any changes from the previous version. This could be the changes to source file layout, the removal of depreciate functions or addition of new functions.
You then have to replace the the glfw sources in the targets template and update all the template target platforms build files with those glfw sources.
Once that's done, you can try to build as normal. If it doesn't work, then you have to take a look at the targets native template sources to fix any issues. If it builds, but doesn't run or run correctly, then you have to open the project sources that transcc has generated into a C++ IDE for debugging. Once the issues if found, it's just a case of fixing the sources in the targets native template,
 
Back
Top Bottom