• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Plugin failed to load
#1


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
Away
  Reply
#2
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.
Remember to always refer to J0sh as `J0sh...`



@ Networks/Servers

San Andreas Gaming Network (Owner/Founder)

San Andreas Gaming (Owner/Founder)

Grand Theft Cop's n Robber's (Owner)

Britannia Roleplay (Owner/Founder) [Retired]

Alpine RP (Owner/Founder)

Aluminium Network (Maintainer) [Disbanded]

AlphaDM (Tech Support) [Disbanded]



# Services

forum.open.mp (Forum Manager) (Formerly Burgershot.gg

open.mp (Member)



~ Languages/Frameworks

Pawn, C, C, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,

Angular, React, Vue, Svelte, Laravel, Rocket
  Reply
#3
(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.
Away
  Reply


Forum Jump: