Title of State:
Employing Codex
Goal of Change:
Goal: Prove Codex can build and run a native Windows executable from scratch in THIS folder. Create a minimal graphical proof-of-concept using C + raylib. Absolute requirements (do not skip): – Output must be a Windows .exe that runs locally. – Create exactly one source file: main.c (keep it under 100 lines). – When run: open an 800×600 window titled “POC”. – Draw a 50×50 square that automatically moves left/right and bounces off the window edges. – Show FPS in the corner. – ESC closes the window. Do the job end-to-end: 1) Detect whether a working build toolchain exists (C compiler + required Windows components). 2) If missing, install what’s required (or print a precise “missing items” list and the exact install commands/steps). 3) Add raylib in the simplest reliable way for Windows (no hand-waving): either – Fetch it during the build (preferred), or – Vendor minimal required files into a local subfolder. 4) Compile in a clean build folder (e.g., .\build) and produce POC.exe. 5) Run the executable and confirm it launches. 6) Print the exact commands used for build + run so I can repeat them manually. Constraints: – No extra features, no extra libraries beyond raylib. – No multi-file architecture. – No long explanation—only: files created + commands run + where the .exe is located.
Result
POC.EXE
