Oppai_benchmark rewrite in C.
Diffrent complier has diffrent score. Change the optimizition level, the score also change.
on linux NVIDIA driver's(not nouveau) OpenGL has bugs. F**k you NVIDIA!
Dependences: ISO C99 OpenGL(3.3 or later) glfw3(libglfw-dev/glfw) ncurses(libncurses-dev/ncurses)/pdcurses(on Windows) pthread
OpenGL and glfw are not needed on Android. Does not support GUI on Android. You can use termux, it is similar to the Linux terminal.
Install visualstudio and vcpkg https://github.com/microsoft/vcpkg
git clone https://github.com/jibejb/Oppai_benchmark_c.git
vcpkg install pthreads:x64-windows-static
vcpkg install glfw3:x64-windows-static
vcpkg install pdcurses:x64-windows-static
cd Oppai_benchmark_c
mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=[your path]/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static
cmake --build . --config Release
cd .\Release
.\oppai_benchmark -h
git clone https://github.com/jibejb/Oppai_benchmark_c.git
cd Oppai_benchmark_c
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
./oppai_benchmark -h
Oppai_benchmark: https://github.com/PenguinCabinet/Oppai_benchmark
thpool: https://github.com/Pithikos/C-Thread-Pool
Linux C编程一站式学习: https://akaedu.github.io/book/
ChatGPT: https://chatgpt.com/
LearnOpenGL CN : https://learnopengl-cn.github.io/
......