open.mp forum
[Server] Plugin failed to load - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] Plugin failed to load (/showthread.php?tid=620)



Plugin failed to load - Hype - 2019-05-31



I'm trying to load compiled GDK map in plugin but it fails to load:

1. I followed all steps correctly, gamemode loads

2. I compiled plugin in x64 instead of x86 since I don't see option to compile it in x86.

3. I have all MS bullshit .dlls for server to run this plugin




My IDE is Microsoft Visual Studio.



There are no more options to choose.

https://imgur.com/a/JGQJQvH


RE: Plugin failed to load - JustMichael - 2019-05-31

You have to build your plugin as a x86 (32bit). SA-MP is a x86bit software and doesn't handle 64bit.



You must properly setup your project to run as x86, use the right toolchain and type on creation.



Take a look at all the plugins that have already been made, and check their setup.


RE: Plugin failed to load - Hype - 2019-05-31

(2019-05-31, 02:54 PM)JustMichael Wrote: You have to build your plugin as a x86 (32bit). SA-MP is a x86bit software and doesn't handle 64bit.



You must properly setup your project to run as x86, use the right toolchain and type on creation.



Take a look at all the plugins that have already been made, and check their setup.



I just opened solution of the project that CMake created for me.

I don't know how to compile it in x86.