Compiling Modules
OK so i am using MSVC2010.
I have the HLSDK. All of the files are on my cdrive in the location below Code:
c:\sdk_files\ Code:
c:\sdk_files\hlsdk\multiplayer\dlls Code:
C:\sdk_files\hlsdk\multiplayer;..\include;$(IncludePath) So any ideas why it cant find the files in \multiplayer? The SDK is the one arkshine has posted all over (compilable in msvc2008 from some website not from metamod.org) Code:
1>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\extdll.h(84): fatal error C1083: Cannot open include file: 'vector.h': No such file or directory The list looked like this Code:
C:\sdk_files\hlsdk\multiplayer; |
Re: Compiling Modules
Try to...
1. close paths with backslash, e.g. C:\sdk_files\hlsdk\multiplayer\dlls\ 2. add C:\sdk_files\hlsdk\multiplayer\pm_shared\ Or you can just follow my setup. MSVC2010 -> Solution Explorer -> *Your project* -> Propertries -> (All configurations) -> Configuration Propertries -> C/C++ -> General -> Additional include directories ... $(METAMOD_SDK)\metamod $(HL_SDK)\common $(HL_SDK)\engine $(HL_SDK)\dlls $(HL_SDK)\pm_shared *Your OS* -> Environment variables -> Setup corresponding vars (highlighted in green), examples: METAMOD_SDK D:\Developer\SDK\METAMOD\ HL_SDK D:\Developer\SDK\HLSDK_MM\Multiplayer Source\ |
Quote:
By my os what do you mean? Is it a setting in msv2010 |
Re: Compiling Modules
Ok so i did that..
My includes now look like Code:
$(METAMOD)\metamodsdk; |
Re: Compiling Modules
Quote:
http://vlaurie.com/computers2/graphics/envvar.gifhttp://vlaurie.com/computers2/graphics/addreg.gif Quote:
|
Re: Compiling Modules
Quote:
Those are my last two errors Code:
1>------ Build started: Project: take_damage_example, Configuration: Release Win32 ------ |
Re: Compiling Modules
Did you create amxxmodule.h inside your project?
|
Re: Compiling Modules
3 Attachment(s)
Quote:
So now that i have fixed all the other erros... it just goes right back to the vector.h missing... yet its in the correct path and i have the directory hlsdk\multiplayer\dlls going ..... so Not sure wtf is wrong Am i just cursed and not allowed to compile modules? EDIT again: Here are some of my screen shots |
Re: Compiling Modules
So further on this still trying and now it tells me extdll.h doesn't exist on line 16 of amxmodule.h when trying to compile the hornet gun src from arkshine's post in the rage module.
|
Re: Compiling Modules
Make sure the paths is the project is the same as yours.
|
All times are GMT -4. The time now is 07:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.