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

Extension Compilation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-27-2020 , 10:06   Extension Compilation
Reply With Quote #1

I for the life of me can't figure out what library I'm missing that's causing this issue. Can someone help me here?

PHP Code:
/home/user/alliedmodders/hl2sdk-l4d2/public/tier1/utlmemory.hIn member function void CUtlMemory<TI>::Swap(CUtlMemory<TI>&):
/
home/user/alliedmodders/hl2sdk-l4d2/public/tier1/utlmemory.h:330:2errorthere are no arguments to V_swap that depend on a template parameterso a declaration of V_swap must be available [-fpermissive]
  
V_swapm_nGrowSizemem.m_nGrowSize ); 
Also Jit include issues.

PHP Code:
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.hAt global scope:
/
home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:54:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_EAX      0;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:55:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_ECX      1;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:56:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_EDX      2;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:57:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_EBX      3;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:58:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_ESP      4;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:59:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_SIB      4;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:60:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_NOIDX    4;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:61:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_IMM_BASE 5;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:62:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_EBP      5;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:63:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_ESI      6;
       ^~~~~~~~~~~
       
u_int8_t
/home/user/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:64:7errorjit_uint8_t does not name a typedid you mean u_int8_t?
 const 
jit_uint8_t kREG_EDI      7;
       ^~~~~~~~~~~ 
__________________
Spirit_12 is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 09-27-2020 , 10:38   Re: Extension Compilation
Reply With Quote #2

Wrong forum.
(Also sorry, i can't help you with compilation.)
__________________
MAGNAT2645 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-27-2020 , 10:46   Re: Extension Compilation
Reply With Quote #3

I was thinking of posting it under extensions, but most of the stuff there was for released. I don't mind this moved there, if you feel that's a better place for this thread.
__________________
Spirit_12 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-07-2020 , 04:08   Re: Extension Compilation
Reply With Quote #4

Make sure you’re using clang to build and that all your repositories are up to date and submodules in sync.
__________________
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 18:34.


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