AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Coding MM:S Plugins & SM Extensions (https://forums.alliedmods.net/forumdisplay.php?f=75)
-   -   Problem compiling sample_ext (https://forums.alliedmods.net/showthread.php?t=344594)

malkins 11-18-2023 10:17

Problem compiling sample_ext
 
I followed the guides and got so far as trying to build (sdk.sln in the msvc12 folder) in VS2019 but I get the error bellow:

Code:

Build started...
1>------ Build started: Project: sdk, Configuration: Debug Win32 ------
1>extension.cpp
1>c:\alliedmodders\sourcemod\public\isharesys.h(40): fatal error C1083: Cannot open include file: 'sp_vm_types.h': No such file or directory
1>smsdk_ext.cpp
1>c:\alliedmodders\sourcemod\public\isharesys.h(40): fatal error C1083: Cannot open include file: 'sp_vm_types.h': No such file or directory
1>Generating Code...
1>Done building project "sdk.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Error List:

Code:

Severity        Code        Description        Project        File        Line        Suppression State
Error        C1083        Cannot open include file: 'sp_vm_types.h': No such file or directory        sdk        c:\alliedmodders\sourcemod\public\isharesys.h        40       
Error        C1083        Cannot open include file: 'sp_vm_types.h': No such file or directory        sdk        c:\alliedmodders\sourcemod\public\isharesys.h        40       
Error (active)        E1696        cannot open source file "am-string.h"        sdk        C:\alliedmodders\sourcemod\public\IExtensionSys.h        37       
Error (active)        E1696        cannot open source file "am-string.h"        sdk        C:\alliedmodders\sourcemod\public\smsdk_ext.h        46       
Error (active)        E1696        cannot open source file "sp_vm_api.h"        sdk        C:\alliedmodders\sourcemod\public\IShareSys.h        41       
Error (active)        E1696        cannot open source file "sp_vm_api.h"        sdk        C:\alliedmodders\sourcemod\public\ISourceMod.h        41       
Error (active)        E1696        cannot open source file "sp_vm_api.h"        sdk        C:\alliedmodders\sourcemod\public\smsdk_ext.h        43       
Error (active)        E1696        cannot open source file "sp_vm_types.h"        sdk        C:\alliedmodders\sourcemod\public\IHandleSys.h        52       
Error (active)        E1696        cannot open source file "sp_vm_types.h"        sdk        C:\alliedmodders\sourcemod\public\IShareSys.h        40       
Error (active)        E0725        name must be a namespace name        sdk        C:\alliedmodders\sourcemod\public\smsdk_ext.h        111

Any ideas?

Regards,

asherkin 11-22-2023 21:42

Re: Problem compiling sample_ext
 
You didn’t do a recursive clone, you’re missing the submodules.


All times are GMT -4. The time now is 18:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.