Can someone explain me HOW to COMPILE extension under Windows, please!
Someone to help me with setting my IDE for compiling SM extensions. I use CodeBlocks. What I have done up to now is setting the IDE to use VC2013. What I have to link? Which path I have to set in the IDE. How to use sourcemod and source sdk in the IDE. There isn't information about which path have to be set in the IDE(Maybe because I use CodeBlocks, not Visual Studio). My platform is Windows 8.1!
I used this tutorial, but I can't understand this: HTML Code:
The sample_ext project assumes that it is located in a subdirectory inside the SourceMod public directory. To change this, modify all references to ..\.. to $(SOURCEMOD15)\public and specify the SOURCEMOD15 variable as mentioned in the Optional Environment variables. PS: Don't say me to use Visual Studio, this IDE is very big(RAM), proprietary and I don't like it's association with Microsoft, many other reasons Edit: Why the tutorial says VC2003 and VC2005 instead of VC2013? |
Re: Someone, help me with setting my IDE
The VS projs/Makefile stuff of the sample extension haven't been maintained in a long time. The 1.8 sample extension folder ships with a sample AMBuild script that is recommended to use.
To compile your project with the AMBuild script, a VS install is required. |
Re: Someone, help me with setting my IDE
Ok. How to compile the example project with visual studio? There is a error for missing file sp_vm_types.h. What I am missing?
Please help me, I know that some people on this forum can do magic! :) |
Re: Someone, help me with setting my IDE
Help me, please! Where can I find sp_vm_types.h? Is there a way to compile without AMBUILD?
|
Re: Someone, help me with setting my IDE
Quote:
|
Re: Someone, help me with setting my IDE
Ok, how to compile project with AMBuild2(for example the sample plugin)? I have Visual Studio. Is there any command?
I can't find tutorial for compiling extensions. Only for creating extensions |
Re: Can someone explain me HOW to COMPILE extension under Windows, please!
Please, someone to explain me how to compile extension. I don't know what to do. I read the tutorial for creating extension, but I can't find info for this!
I have this error when I execute "python configure.py": HTML Code:
C:\libs\sourcemod-master\public\sample_ext>python configure.py |
Re: Can someone explain me HOW to COMPILE extension under Windows, please!
The current version of AMBuild has issues on Python 3.4 and newer, which is why you're getting the name `basestring` is not defined error.
I was hoping that would be fixed by now... I'd be tempted to submit a pull request, but I know very little Python and would likely screw it up even worse. Edit: There's already a pull request to fix it. Edit 2: As for the documentation, I should probably create a wiki page based on the documentation I originally wrote for this before it was merged into SM 1.8's sample_ext. |
Re: Can someone explain me HOW to COMPILE extension under Windows, please!
Oh, thank you Powerlord. So, I have to use Python 2.7 for now, until this is fixed? Is there any other procedure for compiling SM extensions?
|
Re: Can someone explain me HOW to COMPILE extension under Windows, please!
Quote:
For before, you can do 1 of 2 ways: 1) Manually write in the changes to the files in PR powerlord linked. OR 2) Merge in the PR if you cloned AMBuild from github(with the github command). After you can do option 1 from above. |
All times are GMT -4. The time now is 17:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.