luis605 / Lit-Engine

A game engine with the speed and portability of cpp made with raylib.
Other
26 stars 1 forks source link

I'm having difficulty compiling to Windows #39

Closed WOLFxxxxxx closed 2 days ago

WOLFxxxxxx commented 4 days ago

luis605 commented 4 days ago

What seems to be your issue? Is it an error or is it something else?

WOLFxxxxxx commented 3 days ago

a1 a2

a3

luis605 commented 3 days ago

I believe I see the problem. Instead of compiling with MSVC, you should use MinGW makefiles instead use cmake .. -G "MinGW Makefiles" --fresh. Inside the ReadME, there are the correct installation and building commands you can follow. If you have any other problems, feel free to reply here.

WOLFxxxxxx commented 3 days ago

a1 a2

luis605 commented 3 days ago

GCC seems to be more permissive when casting types. Since I'm primarily using Linux, I don't run into those issues with frequency. I will update the type casting soon and you should be able to build and run the engine.

WOLFxxxxxx commented 3 days ago

Thanks ♥️

luis605 commented 3 days ago

I have push a new commit with the compilation fixes. It should solve the compilation errors.

luis605 commented 2 days ago

Closing issue as completed.