Skip to content

zachgalbs/nnsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nnsim

A C++ project using raylib for rendering.

Prerequisites

  • CMake 3.20 or higher
  • C++17 compatible compiler
  • raylib library (install path exposed via the RAYLIB_ROOT or RAYLIB_DIR environment variable)

Building the Project

macOS

# Install dependencies (if using Homebrew)
brew install cmake raylib

# Create build directory
mkdir build
cd build

# Configure and build
cmake ..
cmake --build .

# Run the executable
./nnsim

Windows

# Install dependencies
# Option 1: Using vcpkg (recommended)
vcpkg install raylib

# Option 2: Download raylib from https://www.raylib.com/
# After installing, point CMake at the unpacked folder:
setx RAYLIB_ROOT C:\raylib\raylib

# Create build directory
mkdir build
cd build

# Configure and build (using Visual Studio)
cmake ..
cmake --build . --config Release

# Run the executable
.\Release\nnsim.exe

Linux

# Install dependencies (Ubuntu/Debian)
sudo apt-get install cmake libraylib-dev

# Create build directory
mkdir build
cd build

# Configure and build
cmake ..
cmake --build .

# Run the executable
./nnsim

Project Structure

  • main.cpp - Main application entry point
  • CMakeLists.txt - CMake build configuration
  • .gitignore - Git ignore rules for build artifacts and IDE files

Contributing

When collaborating on this project:

  • Never commit build artifacts (executables, object files, etc.)
  • Keep the build directory out of version control
  • Test builds on your platform before pushing changes

About

car that drives itself

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors