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

How do I compile this? I have Vstudio .net 2003. Thanks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrewXp
Junior Member
Join Date: May 2004
Old 01-08-2005 , 16:12   How do I compile this? I have Vstudio .net 2003. Thanks
Reply With Quote #1

I have visual studio .net 2003. I havn't used it in about a year and forgot everything. How do I go about compiling sourcemod? Thanks alot.
CrewXp is offline
BAILOPAN
Join Date: Jan 2004
Old 01-08-2005 , 16:21  
Reply With Quote #2

Open up the sourcemod_sp project file. you need a crapload of include dirs, here are mine:



Everything in the "HL2SDK" section (like convar.cpp) needs to be re-included from the HL2SDK (there are found in src\tier1)

The HL2SDK src\lib\vstdlib library path should be in the Library Paths section of the same window.
__________________
egg
BAILOPAN is offline
CrewXp
Junior Member
Join Date: May 2004
Old 01-08-2005 , 19:30  
Reply With Quote #3

please escuse my nubishness, but where is hl2sdk. Thats the only thing that failed then compiling. I searced for src/tier1, but I just dont know where to look. Thanks
CrewXp is offline
CrewXp
Junior Member
Join Date: May 2004
Old 01-08-2005 , 19:34  
Reply With Quote #4

------ Build started: Project: sourcemod_sp, Configuration: Debug Win32 ------

Compiling...
sourcemod_main.cpp
c:\Documents and Settings\CrewXp\Desktop\MasterFolder\Download s\Files\sourcemod\sourcemod\core\sourcemod_hl 2api.h(17) : fatal error C1083: Cannot open include file: 'interface.h': No such file or directory
sourcemod_hl2api.cpp
---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

Thats just one missing out of 50
CrewXp is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 01-08-2005 , 20:21  
Reply With Quote #5

As far as where the HL2SDK is... Have you used the create a mod option in Steam?

If not, then under the tools category, select Source SDK. When the window comes up, select Create a Mod. And then when the wizard pops up, select the 2nd option to create a mod from scratch. And just go through the remaining options as far as where on your system that you want the source code and what not to be.

The source code files will be copied into the directory you chose. You should be able to find the src/tier1, scr/public and other things in the directory that you set in the wizard. Then you can add the include directories you need as Bailopan has shown.
DS is offline
curare
Junior Member
Join Date: Dec 2004
Old 01-15-2005 , 21:54  
Reply With Quote #6

e:\MyMod\src\public\gametrace.h(15) : fatal error C1083: Cannot open include file: 'utlvector.h': No such file or directory

Is one of the many similair errors I get when compiling.
which is odd since I did make a new mod and stuff
curare is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 01-15-2005 , 22:11  
Reply With Quote #7

I have a question for you. Do you know C++? Are you interested in looking at SM, or helping with it? If not, you really don't need to compile it. It's not going to help you admin your server at the moment. If your looking for something to admin your server, go check out the plugins forum.

I'm trying to save you a lot of effort here...
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
curare
Junior Member
Join Date: Dec 2004
Old 01-16-2005 , 10:05  
Reply With Quote #8

Quote:
Originally Posted by devicenull
I have a question for you. Do you know C++? Are you interested in looking at SM, or helping with it? If not, you really don't need to compile it. It's not going to help you admin your server at the moment. If your looking for something to admin your server, go check out the plugins forum.

I'm trying to save you a lot of effort here...
I can code C++ although i am better at c though.
And I didn't just tried to compile it just cuz i thought it will do a better job then mani plugin or something like that.

And the reason I had the question was caused by never working with .net
studio I usually work under linux with Vi or under windows with dev-cpp
curare is offline
Cr3V3TT3
Senior Member
Join Date: Jul 2004
Location: V'dauban
Old 01-16-2005 , 10:28  
Reply With Quote #9

hi
I try to compile it with dev-c++ and i miss only one file...

./memtrans-x86.obj

it is not in the cvs can someone tell me where i can find it plz?

bye, Jb
Cr3V3TT3 is offline
Send a message via MSN to Cr3V3TT3
BAILOPAN
Join Date: Jan 2004
Old 01-16-2005 , 17:49  
Reply With Quote #10

Compiler memtrans-x86.asm with nasm for windows (nasmw.exe)

www.google.com/search?q=nasm
__________________
egg
BAILOPAN 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 18:57.


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