Zeex / sampgdk

Write SA-MP gamemodes in C/C++
http://zeex.github.io/sampgdk
Apache License 2.0
153 stars 83 forks source link

#error Unsupported architecture #197

Closed NewbProgramming closed 6 years ago

NewbProgramming commented 6 years ago

I followed this tutorial here: https://github.com/Zeex/sampgdk/wiki/Setting-up-GDK-with-CMake

When I go to build the project I get this error:

if !defined _M_IX86 && !defined i386 && !defined RC_INVOKED

error Unsupported architecture

endif

Which is line 61 of sampgdk.h

I'm on Windows 10 64-bit using the latest Microsoft Visual Studio 2017 to compile.

NewbProgramming commented 6 years ago

Switched my compiler on CMake from Visual Studio 15 64-bit to Visual Studio 15 and now it compiled.

Sorry for creating issue when it was my fault. Thank you. :)