View Single Post
Author Message
malkins
Junior Member
Join Date: Jan 2022
Old 11-18-2023 , 10:17   Problem compiling sample_ext
Reply With Quote #1

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,
malkins is offline