Skip to content
ReenigneArcher edited this page Oct 15, 2024 · 7 revisions

This is part of the Getting Started guide. Please read the full guide if you have trouble.


Before you can build any code with nxdk, you need to set it up. We provide a script that makes this process easy, it starts a subshell with all necessary environment variables set, performs a version check for clang etc. If you have used a Python venv before, this should sound familiar to you. Simply run the activate script in the bin directory, and the terminal you ran it from will be ready to use nxdk.

To build the mesh sample, you can run:

cd samples/mesh
eval "$(../../bin/activate -s)"
make

This will generate a single executable, default.xbe, in the bin/ directory which can be executed on your Xbox (or XQEMU emulator).

Next

Continue here