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

Compiling. Srry 4 noobish! (Dev c++)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anxiro
Member
Join Date: Jan 2005
Old 01-16-2005 , 21:14   Compiling. Srry 4 noobish! (Dev c++)
Reply With Quote #1

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!

Last edited by anxiro; 08-25-2015 at 20:08.
anxiro is offline
Send a message via ICQ to anxiro
BAILOPAN
Join Date: Jan 2004
Old 01-16-2005 , 21:24  
Reply With Quote #2

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).
__________________
egg
BAILOPAN is offline
anxiro
Member
Join Date: Jan 2005
Old 01-16-2005 , 21:34  
Reply With Quote #3

N.E links?
anxiro is offline
Send a message via ICQ to anxiro
anxiro
Member
Join Date: Jan 2005
Old 01-17-2005 , 05:36  
Reply With Quote #4

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,

Last edited by anxiro; 08-25-2015 at 20:09.
anxiro is offline
Send a message via ICQ to anxiro
soreal
Member
Join Date: Dec 2004
Old 01-17-2005 , 11:44  
Reply With Quote #5

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
soreal is offline
anxiro
Member
Join Date: Jan 2005
Old 01-17-2005 , 15:12   Thank you !!
Reply With Quote #6

Look, that's a good reply.
Help, advanced, Information and a link. If I could rate it, 5 globes!
Thanks
anxiro is offline
Send a message via ICQ to anxiro
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 03:24.


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