Raised This Month: $61 Target: $400
 15% 

Problem compiling sample_ext


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
malkins
Junior Member
Join Date: Jan 2022
Old 11-18-2023 , 11: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
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-22-2023 , 22:42   Re: Problem compiling sample_ext
Reply With Quote #2

You didn’t do a recursive clone, you’re missing the submodules.
__________________
asherkin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:30.


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