Skip to content

Building In Crynn

Weston McNamara edited this page Jun 16, 2021 · 7 revisions

Setting up building in Crynn can be a bit confusing, so this article should help.

What you should know:

  • Considering Crynn is not intended for beginners, you should already be fairly experienced with C++, Visual Studio and building and linking C++ projects.

  • Crynn is configured as an exe when you download it for easy testing, but its intended to be statically linked to your other projects.

New to Crynn?

If you've downloaded Crynn, and are ready to begin testing, simply open the Crynn.sln file and run the debugger. Generally this is the green button at the top, but you can usually also press F5.

This should run Crynn automatically, and you should see a black window open with no errors. If you see an error, repeat the steps or open an issue.

Build Info:

  • Check the "Project Creation" article in the Crynn wiki first.

  • If you add a new C++ project and want to link it with Crynn, you will need to go into the Crynn project settings and copy these settings from Crynn to your project:

    • Additional Include Directories (C/C++ > General > Additional Include Directories)
    • Post Build Events (Build Events > Post-Build Event)

Note

  • Ensure your project subsystem is set to build as a console app
  • Be sure that Crynn, and Physics and any other default projects are added to the project references.

references example

If you're still having trouble building Crynn feel free to open a new issue.

Clone this wiki locally