Raised This Month: $ Target: $400
 0% 

Question about compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Bos93
Veteran Member
Join Date: Jul 2010
Old 03-28-2013 , 13:03   Re: Question about compiling
Reply With Quote #11

alfre,do you have linux? if not, yoy need to install Oracle VM VirtualBox
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
alfre
Member
Join Date: Feb 2010
Old 03-28-2013 , 16:44   Re: Question about compiling
Reply With Quote #12

i have host.i found step to step in this forum,but cant compile
__________________

alfre is offline
Send a message via Skype™ to alfre
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-28-2013 , 17:01   Re: Question about compiling
Reply With Quote #13

Quote:
Originally Posted by alfre View Post
thanks for help.Joropito,i know better C than you ;p.But its linux thats why i dont know how to compile.On windows no problem compiling this module.
Do you mean you have 20+ years of programming experience ?


You say you can't compile, what are the errors ? How do you compile ?

You may also post the changes and someone could try to compile it.
__________________

Last edited by Arkshine; 03-28-2013 at 17:02.
Arkshine is offline
alfre
Member
Join Date: Feb 2010
Old 03-28-2013 , 18:02   Re: Question about compiling
Reply With Quote #14

i using this http://forums.alliedmods.net/showthread.php?t=191353
errors : http://forums.alliedmods.net/showthread.php?t=211895
__________________

alfre is offline
Send a message via Skype™ to alfre
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 03-28-2013 , 18:14   Re: Question about compiling
Reply With Quote #15

Quote:
Originally Posted by alfre View Post
Hi alfre

You know C and also you know english.

The errors says everything, you may know it because you have very good knowledge about C.
It's a simple and normal error when programming in this language, you should fix yourself because you know C. I don't get why you where asking for help... maybe you're so lazy.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
alfre
Member
Join Date: Feb 2010
Old 03-28-2013 , 18:51   Re: Question about compiling
Reply With Quote #16

MAN! its linux!
__________________

alfre is offline
Send a message via Skype™ to alfre
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-29-2013 , 01:14   Re: Question about compiling
Reply With Quote #17

If you are more familiar with Windows you should get a Windows based server then the issue is moot.
__________________
fysiks is offline
alfre
Member
Join Date: Feb 2010
Old 03-30-2013 , 08:40   Re: Question about compiling
Reply With Quote #18

PHP Code:
root@vps1192094:~/mysqlx# make basic_sql
g++ -I. -I/root/hlsdk/multiplayer -I/root/hlsdk/multiplayer/common -I/root/hlsdk/multiplayer/dlls -I/root/hlsdk/multiplayer/engine -I/root/hlsdk/multiplayer/game_shared -I/root/metamod/metamod -I/root/mysql/include -Ithread -Imysql -Isdk -DLINUX -DLINUX -DAMX_NOPROPLIST -Wall -DHAVE_STDINT_H -static-libgcc -fno-rtti -fno-exceptions -Wno-write-strings -Wno-deprecated -DNDEBUG -O2 -funroll-loops -fomit-frame-pointer -pipe -fvisibility=hidden -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -o Release/basic_sql.-c basic_sql.cpp
In file included from sdk
/amxxmodule.h:16,
                 
from mysql2_header.h:5,
                 
from basic_sql.cpp:3:
/
root/hlsdk/multiplayer/dlls/extdll.h:29warningignoring #pragma warning
/root/hlsdk/multiplayer/dlls/extdll.h:30warningignoring #pragma warning
/root/hlsdk/multiplayer/dlls/extdll.h:31warningignoring #pragma warning
/root/hlsdk/multiplayer/dlls/extdll.h:32warningignoring #pragma warning
/root/hlsdk/multiplayer/dlls/extdll.h:33warningignoring #pragma warning
In file included from basic_sql.cpp:3:
mysql2_header.h:53error'MainThreader' does not name a type
basic_sql
.cppIn function 'cell SQL_SetAffinity(AMX*, cell*)':
basic_sql.cpp:452error'stricmp' was not declared in this scope
make
: *** [Release/basic_sql.oError 1
root
@vps1192094:~/mysqlx# 'stricmp' was not declared in this scope 
wtf?
CFLAGS += -DLINUX -DAMX_NOPROPLIST -Wall -DHAVE_STDINT_H -static-libgcc -fno-rtti -fno-exceptions -Wno-write-strings -Wno-deprecated
CPPFLAGS += -fno-exceptions -fno-rtti
I fixed previous problem changing PROJECT = mysql to PROJECT = basic_sql
But i cant compile..
__________________


Last edited by alfre; 03-30-2013 at 08:40.
alfre is offline
Send a message via Skype™ to alfre
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 05:59.


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