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

Metamod Source compiling problem VS 2013


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 08-04-2014 , 10:49   Metamod Source compiling problem VS 2013
Reply With Quote #1

Hi,i try to compile MMS (mm_core) code (git repo). I use Visual Studio 2013 Express Desktop version.

Compile failed because occurs errors.

Code:
Błąd    1    error C1083: Nie można otworzyć pliku dołącz: 'convar.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\provider\provider_ep2.cpp    30    1    mm_core
Błąd    2    error C1083: Nie można otworzyć pliku dołącz: 'interface.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\provider\console.h    31    1    mm_core
Błąd    3    error C1083: Nie można otworzyć pliku dołącz: 'interface.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\metamod.h    34    1    mm_core
Błąd    4    error C1083: Nie można otworzyć pliku dołącz: 'interface.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\metamod.h    34    1    mm_core
Błąd    6    error C1083: Nie można otworzyć pliku dołącz: 'interface.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\metamod.h    34    1    mm_core
Błąd    7    error C1083: Nie można otworzyć pliku dołącz: 'interface.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\metamod.h    34    1    mm_core
Błąd    5    error C1083: Nie można otworzyć pliku dołącz: 'versionlib.h': No such file or directory    c:\users\nerus\source\repos\metamod-source\core\metamod_console.cpp    29    1    mm_core
    20    IntelliSense: cannot open source file "convar.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    38    1    mm_core
    8    IntelliSense: cannot open source file "eiface.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\ISmmAPI.h    46    1    mm_core
    10    IntelliSense: cannot open source file "eiface.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    35    1    mm_core
    19    IntelliSense: cannot open source file "eiface.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    37    1    mm_core
    9    IntelliSense: cannot open source file "interface.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    34    1    mm_core
    18    IntelliSense: cannot open source file "interface.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    36    1    mm_core
    27    IntelliSense: cannot open source file "iserverplugin.h"    c:\Users\Nerus\Source\Repos\metamod-source\core\provider\provider_ep2.h    35    1    mm_core
    11    IntelliSense: identifier "CGlobalVars" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    62    2    mm_core
    17    IntelliSense: identifier "CGlobalVars" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    123    7    mm_core
    13    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    66    50    mm_core
    14    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    67    52    mm_core
    16    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    100    45    mm_core
    21    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    93    20    mm_core
    22    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    94    20    mm_core
    23    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    114    38    mm_core
    24    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    115    37    mm_core
    25    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    116    41    mm_core
    26    IntelliSense: identifier "ConCommandBase" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod_plugins.h    117    40    mm_core
    15    IntelliSense: identifier "edict_t" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    83    23    mm_core
    12    IntelliSense: identifier "IConCommandBaseAccessor" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\metamod.h    65    2    mm_core
    31    IntelliSense: identifier "ICvar" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\provider\provider_ep2.h    85    8    mm_core
    30    IntelliSense: identifier "IServerGameClients" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\provider\provider_ep2.h    84    8    mm_core
    29    IntelliSense: identifier "IServerGameDLL" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\provider\provider_ep2.h    83    8    mm_core
    28    IntelliSense: identifier "IVEngineServer" is undefined    c:\Users\Nerus\Source\Repos\metamod-source\core\provider\provider_ep2.h    82    8    mm_core
problem is on dependencies side, how i can add to this project those headers ?
I found some in Source SDK 2013 but how to add ?

Please help.
Regards,
Nerus.
Nerus is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 08-04-2014 , 10:54   Re: Metamod Source compiling problem VS 2013
Reply With Quote #2

you have to fill in the sdk paths for mmsource's makefile
__________________
WildCard65 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-04-2014 , 11:22   Re: Metamod Source compiling problem VS 2013
Reply With Quote #3

MM:S and SM's project files tend to be out of date because AlliedModders doesn't use them.

If I absolutely need to compile it, I install Python, AMBuild, and the appropriate SDKs... then update the appropriate environment variables for the SDKs and use AMBuild to build it.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Nerus
Senior Member
Join Date: Aug 2010
Location: Poland
Old 08-04-2014 , 12:26   Re: Metamod Source compiling problem VS 2013
Reply With Quote #4

Hi Again, I have question how compile Metamod Source plugins like stub_mm. I will use on CSS SRCDS.

On build i have one error like:
Quote:
Error 1 error C1083: Cannot open include file: 'ISmmPlugin.h': No such file or directory c:\users\nerus\source\repos\metamod-source\stub_mm\stub_mm.h 18 1 stub_mm
Regards,
Nerus.

Last edited by Nerus; 04-16-2015 at 12:48.
Nerus 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 16:29.


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