kristoisberg / samp-gps-plugin

Modern and feature-rich pathfinding plugin for open.mp and SA-MP.
41 stars 9 forks source link

Error trying to compile in Centos6. Problem with 32bit library compiled with 64bit system #5

Open Emialcaraz opened 4 years ago

Emialcaraz commented 4 years ago

Hello, I'm tryng to compile the plugin because when I run the release version on my samp server I have this error: Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/GPS.so)) //////////////////////////////////////////////////// make /////////////// root: make gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin.cpp gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./lib/sdk/amxplugin2.cpp gcc -std=c++17 -c -m32 -fPIC -O3 -w -DLINUX -I./lib/sdk/amx/ ./src/*.cpp In file included from /usr/local/include/c++/9.2.0/random:49, from ./src/natives.cpp:4: /usr/local/include/c++/9.2.0/bits/random.h:103:26: error: expected unqualified-id before ‘int128’ 103 | { typedef unsigned int128 type; }; | ^~~~ make: *** [all] Error 1

////////////////////////////////////////////////////////////////// samp-gps-plugin-master]# gcc --version: gcc (GCC) 9.2.0 //////////////////////////////////////////////////////////////////

What can be the problem? thanks.