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

Meta_api.o error on compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-29-2015 , 20:37   Re: Meta_api.o error on compiling
Reply With Quote #11

Hmm, actually it would seem that AMBuild current version is not that cross-platform friendly (It might be better in a next version). Right now it's likely not read in cygwin context.

As solution, you could setup a VM, using VirutalBox, or VMWare. It would be much better to compile proper binaries inside the OS environment. It's very easy, and it will compile faster too.

You could also fix MakeFile. Well I might give a try tomorrow and will post here. But you should consider a VM.
__________________

Last edited by Arkshine; 03-29-2015 at 20:37.
Arkshine is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 03-30-2015 , 03:20   Re: Meta_api.o error on compiling
Reply With Quote #12

It would be great if you fix MakeFile.
And I'm must define __linux__ only in amxmodx.h for linux .so, right?
FromTheFuture is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 04-01-2015 , 11:48   Re: Meta_api.o error on compiling
Reply With Quote #13

Now I'm trying to compile .so on Linux via ambuild, and get this errors
Spoiler

Last edited by FromTheFuture; 04-01-2015 at 11:49.
FromTheFuture is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-01-2015 , 13:04   Re: Meta_api.o error on compiling
Reply With Quote #14

What version of gcc you're using? I think you need gcc 4.7 or clang 3.4.

I suggest you compile with clang, it's faster.

apt-get install clang
export CC=clang; export CXX=clang
python ../configure.py --enable-optimize --symbol-files
ambuild
__________________

Last edited by Arkshine; 04-01-2015 at 13:12.
Arkshine is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 04-01-2015 , 13:17   Re: Meta_api.o error on compiling
Reply With Quote #15

GCC 4.7.2-5 Debian

Last edited by FromTheFuture; 04-01-2015 at 13:20.
FromTheFuture is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 04-01-2015 , 13:30   Re: Meta_api.o error on compiling
Reply With Quote #16

Finally I did it, thank you very much.
I'm compile with --no-mysql, its normal? Because have errors with him.
And how to change Debug/Release mode and compile amxmodx only, without different modules?
FromTheFuture is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-01-2015 , 13:36   Re: Meta_api.o error on compiling
Reply With Quote #17

The output log seems like unrelated to mysql. Not sure what you did exactly.

In debug mode, you use --enable-debug

You can't select AMXX only, but it's okay, because you will compile all one time and after that, it will compile only the files which have been changed.
__________________
Arkshine is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 04-01-2015 , 13:46   Re: Meta_api.o error on compiling
Reply With Quote #18

Where I can see all these commands?
At compile time I'm get many warnings, it is not dangerous?
And I think that ambuild manual need to be updated with gcc import instruction for .so compiling on windows and other fixes.
FromTheFuture is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-01-2015 , 13:50   Re: Meta_api.o error on compiling
Reply With Quote #19

What warning you're talking about? It should be compiled fine at it is, with provided HLSDK/Metamod from github. The automatic 1.8.3-dev builds use AMBuild without issues and no warnings.
__________________

Last edited by Arkshine; 04-01-2015 at 13:53.
Arkshine is offline
FromTheFuture
Senior Member
Join Date: Jan 2013
Old 04-01-2015 , 13:55   Re: Meta_api.o error on compiling
Reply With Quote #20

I have not had time to look, they quickly disappeared.
What about gcc import?
FromTheFuture 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 11:35.


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