Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 969 Bytes

README.md

File metadata and controls

53 lines (37 loc) · 969 Bytes

wxGL examples

This folder contains OpenGL examples.

wxwidgets

  • GLCanvas shows how to create an open GL caneva with wxGLCanvas and wxGLContext.

Build and run

To build this project, open "Terminal" and type following lines:

Windows

mkdir build && cd build
cmake ..
start wxGL.sln

Select any project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./wxGL.xcodeproj

Select any project and type Cmd+R to build and run it.

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./wxGL.cbp > /dev/null 2>&1

Select any project and type F10 to build and run it.

Linux :

mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject