Skip to content

Two basic graphics applications demonstrating 2D and 3D graphics drawing using SDL2, OpenGL and C++.

Notifications You must be signed in to change notification settings

FrankMakesStuff/franks-drawing-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

franks-drawing-library

I wrote two projects that showcase the bare essentials with getting graphics applications up and running using GCC/MinGW. In my case specifically, all code was written in the freeware Dev-C++ IDE. To compile, the following flags must be used for the linker on the command-line:

  -lopengl32
  -lglu32
  -lSDL2main
  -lSDL2
  -lSDL2_image
  -static-libgcc

The compiler must also be told to compile with the ISO C++11 standard (-std=C++11) this has been enabled within the project file.

(In Dev-C++ under the Project->Project Options menu, and ensure the ISO C++11 standard is enabled: Project Options->Compiler->Code Generation->Language Standard (-std)=ISO C++11 ).

The Makefile(s) should have this information contained, but I have since updated the Dev-CPP project files to include these settings, as well.

Possibly more to come later, but this version is more-or-less complete. -- Frank, May 12, 2020

About

Two basic graphics applications demonstrating 2D and 3D graphics drawing using SDL2, OpenGL and C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published