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

Question about compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alfre
Member
Join Date: Feb 2010
Old 03-26-2013 , 17:31   Question about compiling
Reply With Quote #1

How to compile .amxx .so linux module?
__________________

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

Quote:
Originally Posted by alfre View Post
How to compile .amxx .so linux module?
A .amxx file is created from compiling a .sma file with the AMX Mod X compiler.

A .so file is compiled with a C++ compiler.

The two formats are not related.

You will need to be more specific if you want more detailed answers.
__________________

Last edited by fysiks; 03-26-2013 at 18:11.
fysiks is online now
alfre
Member
Join Date: Feb 2010
Old 03-26-2013 , 18:13   Re: Question about compiling
Reply With Quote #3

i want to compile sqlite.so,how to compile it?just for test.i have downloaded from official site source code
__________________

alfre is offline
Send a message via Skype™ to alfre
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 03-27-2013 , 03:54   Re: Question about compiling
Reply With Quote #4

Download Visual Studio
TheDS1337 is offline
alfre
Member
Join Date: Feb 2010
Old 03-27-2013 , 06:12   Re: Question about compiling
Reply With Quote #5

I want step to step guide how to compile.what file compile,because there is 20+ sqlite .cpp files
__________________

alfre is offline
Send a message via Skype™ to alfre
alfre
Member
Join Date: Feb 2010
Old 03-27-2013 , 13:19   linux compile errors
Reply With Quote #6

PHP Code:
In file included from basic_sql.cpp:3:
basic_sql.cpp:2:21errorsh_list.hNo such file or directory
mysql2_header
.h:4:25errorMysqlDriver.hNo such file or directory
mysql2_header
.h:5:24erroramxxmodule.hNo such file or directory
mysql2_header
.h:6:27errorThreadSupport.hNo such file or directory
mysql2_header
.h:7:26errorThreadWorker.hNo such file or directory
In file included from basic_sql
.cpp:4:
sqlheaders.h:4:24errorISQLDriver.hNo such file or directory
In file included from basic_sql
.cpp:3:
mysql2_header.h:14errorISO C++ forbids declaration of 'IQuery' with no type
mysql2_header
.h:14errorexpected ';' before '*' token
mysql2_header
.h:15error'QueryInfo' does not name a type
mysql2_header
.h:48error'AMX' was not declared in this scope
mysql2_header
.h:48error'amx' was not declared in this scope
mysql2_header
.h:50error'AMX_NATIVE_INFO' does not name a type
mysql2_header
.h:51error'AMX_NATIVE_INFO' does not name a type
mysql2_header
.h:52error'AMX_NATIVE_INFO' does not name a type
mysql2_header
.h:53error'MainThreader' does not name a type
mysql2_header
.h:54errorexpected initializer before '*' token
mysql2_header
.h:55error'SourceMod' has not been declared
mysql2_header
.h:55errorexpected initializer before 'g_Mysql'
In file included from basic_sql.cpp:4:
sqlheaders.h:8errortypedef 'SQLAFFINITY' is initialized (use decltype instead)
sqlheaders.h:8error'AMX' was not declared in this scope
sqlheaders
.h:8error'amx' was not declared in this scope
sqlheaders
.h:12error'SourceMod' has not been declared
sqlheaders
.h:12errorISO C++ forbids declaration of 'ISQLDriver' with no type
sqlheaders
.h:12errorexpected ';' before '*' token
sqlheaders
.h:13error'SQLAFFINITY' does not name a type
basic_sql
.cpp:6error'SourceMod' is not a namespace-name
basic_sql
.cpp:6errorexpected namespace-name before ';' token
basic_sql
.cpp:7error'SourceHook' is not a namespace-name
basic_sql
.cpp:7errorexpected namespace-name before ';' token
basic_sql
.cpp:9error'MysqlDriver' does not name a type
basic_sql
.cppIn function 'void FreeConnection(void*, unsigned int)':
basic_sql.cpp:15error'free' was not declared in this scope
basic_sql
.cppIn function 'void FreeQuery(void*, unsigned int)':
basic_sql.cpp:27error'struct AmxQueryInfo' has no member named 'pQuery'
basic_sql.cppIn function 'void FreeDatabase(void*, unsigned int)':
basic_sql.cpp:33error'IDatabase' was not declared in this scope
basic_sql
.cpp:33error'db' was not declared in this scope
basic_sql
.cpp:33errorexpected primary-expression before ')' token
basic_sql
.cpp:33errorexpected ';' before 'p'
basic_sql.cppAt global scope:
basic_sql.cpp:38error'cell' does not name a type
basic_sql
.cpp:68error'cell' does not name a type
basic_sql
.cpp:79error'cell' does not name a type
basic_sql
.cpp:114error'cell' does not name a type
basic_sql
.cpp:138error'cell' does not name a type
basic_sql
.cpp:159error'cell' does not name a type
basic_sql
.cpp:173error'cell' does not name a type
basic_sql
.cpp:188error'cell' does not name a type
basic_sql
.cpp:217error'cell' does not name a type
basic_sql
.cpp:278error'cell' does not name a type
basic_sql
.cpp:300error'cell' does not name a type
basic_sql
.cpp:312error'cell' does not name a type
basic_sql
.cpp:331error'cell' does not name a type
basic_sql
.cpp:351error'cell' does not name a type
basic_sql
.cpp:382error'cell' does not name a type
basic_sql
.cpp:397error'cell' does not name a type
basic_sql
.cpp:425error'cell' does not name a type
basic_sql
.cpp:437error'cell' does not name a type
basic_sql
.cpp:442error'cell' does not name a type
basic_sql
.cpp:470error'cell' does not name a type
basic_sql
.cpp:492error'cell' does not name a type
basic_sql
.cpp:520error'cell' does not name a type
basic_sql
.cpp:554error'cell' does not name a type
basic_sql
.cpp:588error'AMX_NATIVE_INFO' does not name a type
make
: *** [basic_sqlError 1 
command : make basic_sql
using gcc++ 4.4.5 debian
wanna to compile mysql_amxx_i386.so
heelp
__________________


Last edited by alfre; 03-27-2013 at 13:20.
alfre is offline
Send a message via Skype™ to alfre
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-27-2013 , 22:15   Re: Question about compiling
Reply With Quote #7

Why do you need to compile it instead of just using an already compiled version?
__________________

Last edited by fysiks; 03-27-2013 at 22:16.
fysiks is online now
alfre
Member
Join Date: Feb 2010
Old 03-28-2013 , 08:15   Re: Question about compiling
Reply With Quote #8

because i want to change some code.
__________________

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

Quote:
Originally Posted by alfre View Post
because i want to change some code.
How do you suppose you can do that change if at least you don't have any knowledge on compiling (maybe the same about C)?

Learn C, learn how to compile your own programs and then you'll be able to compile yourself.

Compiling it's always related to your development environment so there's no step-by-step how to.

There's a log of posts here explaining how to build your own environment. Just search.
__________________

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 , 11:27   Re: Question about compiling
Reply With Quote #10

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.
__________________

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 18:00.


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