Jump to content

Compiled with CC_BUILD_GL11, still complains about needing to be compiled with CC_BUILD_GL11

Posted

I can't seem to figure out how to compile ClassiCube to work with OpenGL 1.1.

I've tried passing it in a few ways

  • CCFLAGS="-DCC_BUILD_GL11" make linux

  • export CFLAGS="-DCC_BUILD_GL11"

and even CGLAGS += -DCC_BUILD_GL11 directly in the Makefile, to no avail.

Would appreciate any advice on this front.

Featured Replies

all i see are numbers and letters

I believe in Jesus Christ as my personal Lord and Savior. If you do, put this in your signature.

Disagreement =/= Hatred.

  • Author

The solution I found was just going into Core.h and forcing DEFAULT_GFX_BACKEND to be CC_GFX_BACKEND_GL11

On 12/14/2025 at 12:26 PM, UnknownShadow200 said:

What system you are targetting that only has OpenGL 1.1 support?

You would need to use EXTRA_CFLAGS="-DCC_GFX_BACKEND=CC_GFX_BACKEND_GL11" when running make.

I'm trying to write an OpenGL 1.1-compatible Software Renderer, and Classicube seemed to be a good test platform for this application.

READ THE RULES BEFORE YOU POST

Create an account or sign in to comment