Compiling. Srry 4 noobish! (Dev c++)
Hello,
I think this question is aksed over and over again. If so, please close topic and put a link here. --- Ok, I've got Dev-C++ and I've read a file which looks like a tutorial. It asks me to edit the "serverplugin_empty.cpp". So I did. Now I want to compile it, (to dll?). But I don't know how. Sorry. Can anybody help me with this? Because if I press "Compile" it gives me errors: "/[CS MODS]/src/utils/serverplugin_empty.cpp F:\[CS MODS]\src\utils\F interface.h: No such file or directory. /[CS MODS]/src/utils/serverplugin_empty.cpp F:\[CS MODS]\src\utils\F filesystem.h: No such file or directory. " And some more. Does anyone has info for me? Thanks! |
1. Set include dirs!
2. You need GCC 3.4.1. Dev-C++ might not come with that. 3. It won't work with Dev-C++, because most likely GCC's vtable format is different from MSVC6/7, so if the DLL even loads it will probably crash. Get Visual Studio 6, 7, or 2k5 (which is free). |
N.E links? :oops: :roll:
|
ok Srry. I got Microsoft Visual C++. Its from my CD of the Visual Studio Enterprise.
Now if I want to compile, I added a lot of directories as you said and like I read in other forums here. I also added th SDK to \sourcemod\ It gives me the last error: serverplugin_empty.cpp c:\sourcemod\src\public\vector.h(245) : error C2485: 'align' : unrecognized extended attribute c:\sourcemod\src\public\vector.h(245) : error C2059: syntax error : '(' 1: I can't find the error. Everything seems to be ok in vector.h. 2: Dll? Thanks again, |
you need to install service pack 6 for visual studio 6 or you might be able to edit the common.h file , cant remember where though
I'll check edit , just do the SP6 from microsoft go here http://msdn.microsoft.com/vstudio/do...6/default.aspx |
Thank you !!
Look, that's a good reply.
Help, advanced, Information and a link. If I could rate it, 5 globes! :) Thanks |
All times are GMT -4. The time now is 08:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.