Raised This Month: $51 Target: $400
 12% 

Compile Extension On Linux?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 07-24-2015 , 05:13   Compile Extension On Linux?
Reply With Quote #1

Hello guys, I need this extension compiled for Linux, but I'm not familiar in the world of C++ and Sourcemod extensions unfortunately.

Here is the extension: https://github.com/KissLick/sourcemod-sendproxy-manager

I have tested the Windows version and it works perfectly on the latest CSGO.

If somebody can help me compile this I would very much appreciate it.
SM9 is offline
thorgot
AlliedModders Donor
Join Date: Aug 2013
Old 07-24-2015 , 05:39   Re: Compile Extension On Linux?
Reply With Quote #2

Just so you don't have to go through the hours of pain I did on Tuesday, I've attached it. Confirmed by running a test plugin (the CSS noblock one) on my test CSGO linux server, but no promises it will work since I haven't put it through its proper paces yet.

Source can be found at the link you provided, no modifications were made.
Attached Files
File Type: so sendproxy.ext.2.csgo.so (225.2 KB, 202 views)
thorgot is offline
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Old 07-24-2015 , 06:12   Re: Compile Extension On Linux?
Reply With Quote #3

Thank you so much, that is a lot of help
SM9 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-24-2015 , 19:41   Re: Compile Extension On Linux?
Reply With Quote #4

Seeing as you already go a so, I'll leave steps incase you want to compile it yourself in the future: easiest way is to install clang, download the SM source, run sourcemod/tools/checkout-deps.sh, install ambuild(part of checkout-deps.sh), set enviro variables as required by the AMBuildScript for the sendproxy manager extension, run: python ../configure.py in a subfolder in the sendproxy manager source folder, then run ambuild if all goes right, you should have a binary for linux built.
__________________
WildCard65 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-24-2015 , 20:13   Re: Compile Extension On Linux?
Reply With Quote #5

Quote:
Originally Posted by WildCard65 View Post
Seeing as you already go a so, I'll leave steps incase you want to compile it yourself in the future: easiest way is to install clang, download the SM source, run sourcemod/tools/checkout-deps.sh, install ambuild(part of checkout-deps.sh), set enviro variables as required by the AMBuildScript for the sendproxy manager extension, run: python ../configure.py in a subfolder in the sendproxy manager source folder, then run ambuild if all goes right, you should have a binary for linux built.
...you forgot the step where you grab the SM 1.8 source so you have the AMBuild stuff for sampleext.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-24-2015 at 20:16.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-25-2015 , 07:25   Re: Compile Extension On Linux?
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
...you forgot the step where you grab the SM 1.8 source so you have the AMBuild stuff for sampleext.
But the repo linked by thread poster already has an AMBuildScript
__________________

Last edited by WildCard65; 07-25-2015 at 07:25.
WildCard65 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 07-25-2015 , 14:58   Re: Compile Extension On Linux?
Reply With Quote #7

This whole process of compiling C++ to binaries just gives me a headache. Why does it have to be this hard?
Potato Uno is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 07-25-2015 , 18:50   Re: Compile Extension On Linux?
Reply With Quote #8

it doesn't, if the gcc script weren't outdated all you'd have to do would be to set the appropriate sdk var, install gcc and run it
Miu is offline
Reply



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 02:04.


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