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

Paying for BASIC help


Post New Thread Reply   
 
Thread Tools Display Modes
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 07-04-2012 , 01:52   Re: Paying for BASIC help
Reply With Quote #11

Any recommendation for the VM?
Does the Debian version matter if you don't distribute plugins?
I was attempting on a server with squeeze/sid.

How dependent is win32 on visual studio (may not be an option in the future)?
Is Code Blocks or a non IDE possible?
__________________

Last edited by LumiStance; 07-04-2012 at 01:53.
LumiStance is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 07-04-2012 , 02:03   Re: Paying for BASIC help
Reply With Quote #12

Quote:
Originally Posted by LumiStance View Post
Any recommendation for the VM?
Does the Debian version matter if you don't distribute plugins?
I was attempting on a server with squeeze/sid.

How dependent is win32 on visual studio (may not be an option in the future)?
Is Code Blocks or a non IDE possible?
if you plan to use the latest debian then its okay to use debian 6 for compile too, but you cant use a binary compiled on debian 6 on debian 5 unless you made some ELF changes to the binary, which wouldnt speed up development on linux at all, but im also not sure about the GCC version if its backward-compatible with the debian 5 one

not sure, maybe if you make your own project file for those then it would work, tbh i havent tried but if you dont plan to distribute why dont you just use visual studio express? its free for non-commercial use
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 07-04-2012 at 02:06.
Zephyrus is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-04-2012 , 04:50   Re: Paying for BASIC help
Reply With Quote #13

Quote:
Originally Posted by LumiStance View Post
How dependent is win32 on visual studio (may not be an option in the future)?
Is Code Blocks or a non IDE possible?
You have to use a compiler that is ABI-compatible with MSVC, which is only MSVC.
__________________
asherkin is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-04-2012 , 08:44   Re: Paying for BASIC help
Reply With Quote #14

Code::Blocks can use the msvc compiler on Windows.
psychonic is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 07-04-2012 , 21:20   Re: Paying for BASIC help
Reply With Quote #15

Quote:
Originally Posted by LumiStance View Post
What is your procedure for recreating your build environment on a clean install of your OS?
And when is the last time you actually used that procedure?

When is the last time anyone verified that stub_mm and sample_mm still compile?
I did all that this afternoon - new SDKs, new server, compiled the MM:S plugins.
See the attached text file - it's just for Linux at the moment, may look at Windoze next.
Attached Files
File Type: txt MMS_plugin_dev_setup.txt (11.0 KB, 172 views)
__________________
.......Chuck |TxA| Old and Slow [AARP]

Last edited by Old and Slow; 07-04-2012 at 21:22. Reason: clarification
Old and Slow is offline
API
Veteran Member
Join Date: May 2006
Old 07-06-2012 , 16:18   Re: Paying for BASIC help
Reply With Quote #16

Quote:
Originally Posted by Old and Slow View Post
I did all that this afternoon - new SDKs, new server, compiled the MM:S plugins.
See the attached text file - it's just for Linux at the moment, may look at Windoze next.
Dude, you rock! We should pin this / put it in a Wiki somewhere.
__________________
API is offline
Send a message via AIM to API
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-06-2012 , 17:00   Re: Paying for BASIC help
Reply With Quote #17

Quote:
Originally Posted by pimpinjuice View Post
Dude, you rock! We should pin this / put it in a Wiki somewhere.
I'll be honest, these directions (except for the VDF files) are almost identical to how you compile SourceMod extensions... right down to the ENGINE= and DEBUG= arguments in the make line.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 07-06-2012 , 19:00   Re: Paying for BASIC help
Reply With Quote #18

Thanks for the info everybody. The online documentation is not exactly thorough on the requirements.

Quote:
Originally Posted by Old and Slow View Post
I did all that this afternoon - new SDKs, new server, compiled the MM:S plugins.
See the attached text file - it's just for Linux at the moment, may look at Windoze next.
You are awesome! Thanks.

When I get a change to walk through this, I'll make any needed changes to the wiki.
__________________

Last edited by LumiStance; 07-06-2012 at 19:01.
LumiStance is offline
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 07-06-2012 , 20:20   Re: Paying for BASIC help
Reply With Quote #19

Quote:
Originally Posted by Old and Slow View Post
Code:
Also in the Makefile, the following to minimize the compile messages:
line 142, add the @ at the front of each line:

    @$(CPP) $(INCLUDE) $(CFLAGS) -o $@ -c $<

also lines 145-147:
    @mkdir -p $(BIN_DIR)
    @ln -sf $(HL2LIB)/$(LIB_PREFIX)vstdlib$(LIB_SUFFIX)
    @ln -sf $(HL2LIB)/$(LIB_PREFIX)tier0$(LIB_SUFFIX)

and line 151:

    @if [ "$(ENGSET)" = "false" ]; then \

and line 158:

    @$(CPP) $(INCLUDE) -m32 $(OBJ_BIN) $(LINK) -ldl -lm -o $(BIN_DIR)/$(BINARY)
I think these changes need to be made to the mmsource sourcecode package.
I know I did some unneeded google searches
https://bugs.alliedmods.net/show_bug.cgi?id=5377


I did succeed in loading all the plugins, including stubplugin_mm. As I already had a working srcds server (and tried the wiki steps before), it went rather quick.
__________________
LumiStance is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 07-06-2012 , 22:14   Re: Paying for BASIC help
Reply With Quote #20

Quote:
Originally Posted by Powerlord View Post
I'll be honest, these directions (except for the VDF files) are almost identical to how you compile SourceMod extensions... right down to the ENGINE= and DEBUG= arguments in the make line.
That's straight from the Metamod examples. I haven't ever done anything with Sourcemod.

I have some additional changes to the Makefile that give the debug SO a different name to it can co-exist with the Release version, and also put it in the proper spot in a local addons directory. I also have a streamlined Makefile that just does CSS and doesn't require any arguments, it just builds both versions at the same time. Metamod is setup to support multiple versions, of course.
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow 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 11:33.


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