SpartanJ / SOIL2

SOIL2 is a tiny C library used primarily for uploading textures into OpenGL.
MIT No Attribution
370 stars 75 forks source link

SOIL2 in x64 #29

Closed SpartanJ closed 4 years ago

SpartanJ commented 4 years ago

Original report by Anonymous.


Hi!

I've been trying to generate my .lib using x64 and just can't seem to get it too work. Heres the cmd input I'm doing:

premake4 vs2012 --platform=x64

This may be incorrect, it's just what I've seen for other research. Please let me know the correct way to generate, if at all possible.

Thanks! :)

SpartanJ commented 4 years ago

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


After you generate the project files for Visual Studio with the command you mentioned you need to open the generated project with Visual Studio, the project files will be located at: make/windows. Then you just compile the library with Visual Studio as any other solution. If you have a more recent Visual Studio you’ll need to upgrade the default compiler to the solution, the other alternative is using premake5 instead of premake4 that supports VS projects from VS 2010 to 2019.