• 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

Can I use vs2017 for coding

Leginus

New member
Joined
Sep 13, 2017
Messages
4
Hi. Is it possible to use Visual Studio 2017 for actually coding cerberusx? I have tried installing the vsix extension but failed terribly on all accounts.

Thanks
 
Hi. Is it possible to use Visual Studio 2017 for actually coding cerberusx? I have tried installing the vsix extension but failed terribly on all accounts.

Thanks
I got it to work just fine a couple of years ago, so yes it's definitely possible. I tried again just recently and I also failed terribly. There is a thread here somewhere with instructions that I followed last time. I will look again as I want to try using VS again myself. If I have any luck I will let you know what I did.
 
Hi. Is it possible to use Visual Studio 2017 for actually coding cerberusx? I have tried installing the vsix extension but failed terribly on all accounts.

Thanks
I just tried getting it to work again, no luck though. Not getting any errors, it appears to compile but then just says done. I tend to use Jungle and Mollusk.
 
The CerberusX vsix extension is meant for Visual Studio Code and not Visual Studio 2017. The log out put from the VSIX installer will say that it uses Visual Studio code extensions. So the answer to using Visual Studio 2017 as a coding editor would for Cerberus be a no. Unless you want to modify the C++ code generated.

To use Visual Studio 2017 to compile Cerberus Code.
Make sure that the path to MSBuild is set in the file Cerberus/bin/config.winnt.txt is set to
Code:
MSBUILD_PATH="${PROGRAMFILES(x86)}\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"

Next start up Visual Studio and open the Visual Studio solution located in Cerberus/targets/glfw3/template/msvc

In the Soulution Explorer, right click CerberusGame and select Properties for the context menu.

In the Cerberus Properties Page Dialog. At the top, change Configuration drop down to All Configurations and Platforms drop down to All Platforms.

Make select General from the left hand panel.
On the right panel in the section with the heading General, make sure that:
Windows SDK Version is pointing to the latest Windows SDK that is installed.
Platform Toolset is set to Visual Studio 2017 (v141)

Click Apply and then OK.

Save the solution: Main Menu->File->Save CerberusGame or use Ctrl+S.

Close Visual Studio.

Make sure that at the top of your main project build file that the line below is added.
Code:
#GLFW_USE_MINGW=False

To actually use Visual Studio to work on pre translated code. Just open up the solution file in the *.buildv2021-xx-xx->glfw32->msvc in Visual Studio 201x.
Also make sure that the required support files are in the builds output directory in side *.buildv2021-xx-xx->glfw32->msvc.
e.g. the data, external, internal and OpenAL32.dll
 
Last edited:
Thanks for everybody's reply. It answers my question perfectly. :) I have quite a big project in jungle using monkey, so I didn't want to start messing with it to use cerberus at this stage, so using a different IDE (and one i use daily) to mess was the idea, but not to worry I will look at getting it to work in Jungle. Thanks again everyone
 
@Podge could you please share what you did to make it build a file?
Mike, I don't even know if it is making a build file. My output is:

/Applications/Cerberus/bin/transcc_macos -config=Debug -run -target="Desktop_Game_(Glfw3)" "x:\Current Robo Rally Build\Test Area\w\w.cxs"
Done.

I have no idea why MacOS is in there, needless to say it's not working for me. I did have 100% working about a year ago with VSC.
 
/Applications/Cerberus/bin/transcc_macos -config=Debug -run -target="Desktop_Game_(Glfw3)" "x:\Current Robo Rally Build\Test Area\w\w.cxs"
Done.

I have no idea why MacOS is in there, needless to say it's not working for me.
So you are on Windows, right? And you are using the extension for VS-Code by AdamRedwoods!?
To my knowledge he stopped working on it when it was running on his mac machine.
@Holzchopf is working on a new version, but this is only building for html5 target at the moment AFAIK. The extension for VSCode is the thing I am tackling next after I got the new CX-Docs ready for shipping, but it will take some more weeks for sure.
 
Back
Top Bottom