Compile Extension step by step
Hello guys. I need some help for compilation of extensions. I have flashtools extension source code, and i want to compile it for other engine, for l4d2 (for example). I have been installed ubuntu, gcc, and ide code::blocks. Also sourcemod-central and hl2sdk-l4d2. Well, what i need to do now? I mean, i dont understand, how to setting code::blocks for compile? Someone compile by code:blocks and can help me with settings? How alliedmodders always compile extensions for linux? Thanks in advance
|
Re: Compile Extension step by step
Quote:
|
Re: Compile Extension step by step
Quote:
2. Set the pathways to your hl2sdk, metamod & sourcemod etc. Example: I replace Code:
HL2SDK_CSGO = ../../hl2sdk-csgo Code:
HL2SDK_CSGO = /home/malak/sdks/hl2sdk-csgo Code:
ENGINE=csgo 4. In your terminal CD the directory containing your Makfile then type/enter this: Code:
make |
Re: Compile Extension step by step
For example (windows):
take this extension https://forums.alliedmods.net/showthread.php?t=159876 Then go to: Start/Пуск -> Settings (Optional)-> Control Panel/Панель управление -> System/Система -> Advanced/Дополнительные параметры системы -> Environment Variables/Параметры среды ADD: HL2SDKOBVALVE C:\...\...\hl2sdk MMSOURCE C:\...\...\mmsource SOURCEMOD C:\...\...\sourcemod-central Most recent sdk packs you can find here: https://github.com/alliedmodders |
Re: Compile Extension step by step
Well, hopefully at some point the sample extension that comes with SourceMod will start shipping with AMBuild files. This hopefully will make those more widespread.
|
Re: Compile Extension step by step
Thanks so much guys for huge help!
|
Re: Compile Extension step by step
What i'm doing wrong? Installed: Ubuntu, gcc, g++ and other thing.
Code:
root@ubuntu:/home/test/collisionhook# make ENGINE=original |
Re: Compile Extension step by step
That extension does not support the EP1 engine.
|
Re: Compile Extension step by step
Quote:
|
All times are GMT -4. The time now is 09:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.