DK22Pac / plugin-sdk

An SDK for developing ASI/CLEO plugins for GTA San Andreas, GTA Vice City and GTA III
zlib License
435 stars 118 forks source link

VisualStudio2019 "plugin-sdk" build error #123

Open elmascapo777777 opened 3 years ago

elmascapo777777 commented 3 years ago

Hi, I am totally new to the topic. I wanted to compile "plugin.sln", but got errors... Tried to fix these issues but failed... : -MSB8051 -C1900 -LNK1257

I am using the latest Visual Studio Community Version (2019) version 16.11.

I appreciate the help.

user-grinch commented 3 years ago

Show the entire error message.

elmascapo777777 commented 3 years ago

Now my problem is another ... : Error LNK1181 cannot open input file 'plugin.lib' VehicleSpawner C: \ Users \ fakaf \ Desktop \ plugin-sdk \ examples \ VehicleSpawner \ LINK 1

user-grinch commented 3 years ago

You need to build the SDK first. here

elmascapo777777 commented 3 years ago

I did all the steps, but in the part of "build plugin.sln" in "release mode" this happens: -LNK1257 : Severity Code Description Project File Line Status suppressed Error LNK1257 plugin_vc code generation error C: \ Users \ fakaf \ Desktop \ plugin-sdk \ plugin_vc \ LINK 1

-C1900 Severity Code Description Project File Line Status suppressed Error C1900 Il 'P1', version '20210202', does not match 'P2', version '20180423' plugin_vc C: \ Users \ fakaf \ Desktop \ plugin-sdk \ plugin_vc \ LIB 1

-MSB8051 Severity Code Description Project File Line Status suppressed Warning MSB8051 Windows XP as a target option is deprecated and will not be included in future versions of Visual Studio. See https://go.microsoft.com/fwlink/?linkid=2023588 for more information. plugin_iii C: \ Program Files (x86) \ Microsoft Visual Studio \ 2019 \ Community \ MSBuild \ Microsoft \ VC \ v150 \ Platforms \ Win32 \ PlatformToolsets \ v141_xp \ Toolset.targets 39

user-grinch commented 3 years ago

Look up the error codes on google. Try to do a full rebuild in x86.