Problems with CServer and error compiling for Desktop

Hardcoal

New member
Joined
Jul 4, 2020
Messages
28
i was trying on mojo2.. and fantomcx


anyway ive another more urgent questions..

- Just not long ago. whenever i wanted to compile using cerberusX to HTML5 target, it opened a little "cerberus X miniserver".
and i could compile as much as i like when this window remained open..

now. suddenly he forces me to close this window before I can compile again..
why is that? and can it be restored to normal?

- im trying to compile to desktop and i get this error

mingw32-make: *** [build/Release64/context.o] Error 1
TRANS FAILED: Error executing 'mingw32-make ARCH="64" CCOPTS=" -m64 -fpic -O3 -DNDEBUG" LDOPTS=" -m64 -s -LD:/PORTABLE/Cerberus/libs/Win64" LIBOPTS=" -lopenal32" OUT="Release64/CerberusGame"', return code=2
Abnormal program termination.
Exit code: -1
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
Never had this problem with cserver and never heard about it. I recommend restarting your computer and what about virus scanners you have that might block communication?

Regarding the second problem. Do you have MingW installed? The one we recommend in the docs? Did you set the path to it in the config file?

Btw. I recommend posting different topics in the propriet sub forum next time
 
Last edited:

Hardcoal

New member
Joined
Jul 4, 2020
Messages
28
I reinstalled MinGW to the one that Cerberus X automatically install and same error.. so..
I dunno..

Ill keep trying .. thanks
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
CX does not install any compiler. You have to do this yourself. Please post the path to your MingW directory and attach your config file. Also there is no installation. Just download the version we recommend, unzip it at a location of your choice and point the path in the config file to it.
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
I hope you are using TED and not a 3rd party ide. If you do use another one, I suggest using Ted at least once to see if you get the same error there.

Setting up the desktop target is damn easy.
 

dawlane

Well-known member
CX Code Contributor
Tutorial Author
Joined
Jun 21, 2017
Messages
1,033
mingw32-make: *** [build/Release64/context.o] Error 1
TRANS FAILED: Error executing 'mingw32-make ARCH="64" CCOPTS=" -m64 -fpic -O3 -DNDEBUG" LDOPTS=" -m64 -s -LD:/PORTABLE/Cerberus/libs/Win64" LIBOPTS=" -lopenal32" OUT="Release64/CerberusGame"', return code=2
Abnormal program termination.
Exit code: -1
I will have a guess that you've got the latest version MinGW32-w64 installed?
MinGW32-w64 64 bit versions after 8.1.0 are know to have issues with not only CerberusX, but also wxWidgets.

The HTML5 target doesn't require any compiler. The original MonkeyX was release with only being able to create HTML5 output. If you wanted to create applications for other targets, then a licence had to be bought. It would have saved the original author a headache creating a demo version and having to pay for a licence to use Qt for the IDE.

MinGW is only required if you intend to use the C++ Tools target. If you want to release desktop GLFW applications, you should go with Visual Studio.

On the HTML issues. Test out different web browsers.
 

Hardcoal

New member
Joined
Jul 4, 2020
Messages
28
the reason i was trying to compile to desktop is because i thought i may be faster
since the html5 is slow and also now i have to close the server each time i want to recompile

im not sure what version of mingw i got..i simple let the Blide editor install automatically what it had
 

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497

MikeHart

Administrator
CX Code Contributor
3rd Party Module Dev
3rd Party Target Dev
3rd Party Tool Dev
Joined
Jun 19, 2017
Messages
3,497
The only thing I can think of is a wrong version of Jungle and/or MingW. Maybe wrong settings in the config file. You don’t want or can not share more information and don’t follow our suggestions. I can’t help you then.
 

Hardcoal

New member
Joined
Jul 4, 2020
Messages
28
my computer is acting weird lately.. i had dll errors that were caused by ram hardware errors..
and things dont work as they should.
i even ran a virtual machine and they still didnt work properly ..

i know it sound wild .. but i think my mother board is flawed..
im gonna do bios update and see
 

dawlane

Well-known member
CX Code Contributor
Tutorial Author
Joined
Jun 21, 2017
Messages
1,033
@Hardcoal How old is the motherboard and power supply?
Has the system been over clocked?
 
Top Bottom