voyageur / openglide

Git mirror of openglide CVS (http://openglide.sourceforge.net/)
GNU Lesser General Public License v2.1
48 stars 17 forks source link

How i can compile under Slackware(64) 14.2 ? #23

Open inukaze opened 3 years ago

inukaze commented 3 years ago

Hi there i had GNU/Linux Slackware 14.2 (32 Bits) & Slackware64 14.2 (64 Bits) i try to do the follow :

git clone https://github.com/voyageur/openglide.git
cd openglide
./bootstrap
./configure
make

But i got this error :

32 Bits :

make  all-recursive
make[1]: se entra en el directorio '/tmp/openglide'
Making all in platform
make[2]: se entra en el directorio '/tmp/openglide/platform'
Making all in linux
make[3]: se entra en el directorio '/tmp/openglide/platform/linux'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -g -O2 -mmmx -D__unix__ -D__linux__ -I../../platform/linux  -MT library.lo -MD -MP -MF .deps/library.Tpo -c -o library.lo library.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -g -O2 -mmmx -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp  -fPIC -DPIC -o .libs/library.o
In file included from /usr/include/c++/5.5.0/cstdint:35:0,
                 from ../../sdk2_3dfx.h:23,
                 from ../../platform/window.h:19,
                 from ../../GlOgl.h:39,
                 from library.cpp:15:
/usr/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
Makefile:418: fallo en las instrucciones para el objetivo 'library.lo'
make[3]: *** [library.lo] Error 1
make[3]: se sale del directorio '/tmp/openglide/platform/linux'
Makefile:375: fallo en las instrucciones para el objetivo 'all-recursive'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio '/tmp/openglide/platform'
Makefile:665: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/tmp/openglide'
Makefile:487: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

64 Bits :

make  all-recursive
make[1]: se entra en el directorio '/tmp/openglide'
Making all in platform
make[2]: se entra en el directorio '/tmp/openglide/platform'
Making all in linux
make[3]: se entra en el directorio '/tmp/openglide/platform/linux'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -g -O2 -D__unix__ -D__linux__ -I../../platform/linux  -MT library.lo -MD -MP -MF .deps/library.Tpo -c -o library.lo library.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -g -O2 -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp  -fPIC -DPIC -o .libs/library.o
In file included from /usr/include/c++/5.5.0/cstdint:35:0,
                 from ../../sdk2_3dfx.h:23,
                 from ../../platform/window.h:19,
                 from ../../GlOgl.h:39,
                 from library.cpp:15:
/usr/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
Makefile:418: fallo en las instrucciones para el objetivo 'library.lo'
make[3]: *** [library.lo] Error 1
make[3]: se sale del directorio '/tmp/openglide/platform/linux'
Makefile:375: fallo en las instrucciones para el objetivo 'all-recursive'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio '/tmp/openglide/platform'
Makefile:665: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/tmp/openglide'
Makefile:487: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
rderooy commented 3 years ago

Your compiler is rather old. Your using version 5.5 while the current version is 10.2. The oldest supported version by the GNU project itself is v8.4.

However, you can try to run the configure step as such:

CXXFLAGS="-std=c++11" ./configure
inukaze commented 3 years ago

Your compiler is rather old. Your using version 5.5 while the current version is 10.2. The oldest supported version by the GNU project itself is v8.4.

However, you can try to run the configure step as such:

CXXFLAGS="-std=c++11" ./configure

cd /tmp su -c "rm -rf *" root git clone https://github.com/voyageur/openglide.git

Clonando en 'openglide'...
remote: Enumerating objects: 138, done.
remote: Counting objects: 100% (138/138), done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 1936 (delta 63), reused 55 (delta 24), pack-reused 1798
Recibiendo objetos: 100% (1936/1936), 1.51 MiB | 177.00 KiB/s, listo.
Resolviendo deltas: 100% (1354/1354), listo.

cd openglide ./bootstrap

/usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA
/usr/share/aclocal/xdelta.m4:7:   run info Automake 'Extending aclocal'
/usr/share/aclocal/xdelta.m4:7:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:25: installing './compile'
configure.ac:16: installing './config.guess'
configure.ac:16: installing './config.sub'
configure.ac:18: installing './install-sh'
configure.ac:18: installing './missing'
Makefile.am: installing './depcomp'

CXXFLAGS="-std=c++11" ./configure

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for target cpu type... x86-64 bit compatible
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating platform/Makefile
config.status: creating platform/linux/Makefile
config.status: creating platform/sdl/Makefile
config.status: creating platform/windows/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

make

make  all-recursive
make[1]: se entra en el directorio '/tmp/openglide'
Making all in platform
make[2]: se entra en el directorio '/tmp/openglide/platform'
Making all in linux
make[3]: se entra en el directorio '/tmp/openglide/platform/linux'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c -o clock.lo clock.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c clock.cpp  -fPIC -DPIC -o .libs/clock.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c clock.cpp -o clock.o >/dev/null 2>&1
mv -f .deps/clock.Tpo .deps/clock.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cpp  -fPIC -DPIC -o .libs/error.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cpp -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c -o openglext.lo openglext.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp  -fPIC -DPIC -o .libs/openglext.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp -o openglext.o >/dev/null 2>&1
mv -f .deps/openglext.Tpo .deps/openglext.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT library.lo -MD -MP -MF .deps/library.Tpo -c -o library.lo library.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp  -fPIC -DPIC -o .libs/library.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp -o library.o >/dev/null 2>&1
mv -f .deps/library.Tpo .deps/library.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT window.lo -MD -MP -MF .deps/window.Tpo -c -o window.lo window.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp  -fPIC -DPIC -o .libs/window.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp -o window.o >/dev/null 2>&1
mv -f .deps/window.Tpo .deps/window.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux    -o libplatform.la  clock.lo error.lo openglext.lo library.lo window.lo  -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lGL -lGLU
libtool: link: ar cru .libs/libplatform.a .libs/clock.o .libs/error.o .libs/openglext.o .libs/library.o .libs/window.o 
libtool: link: ranlib .libs/libplatform.a
libtool: link: ( cd ".libs" && rm -f "libplatform.la" && ln -s "../libplatform.la" "libplatform.la" )
make[3]: se sale del directorio '/tmp/openglide/platform/linux'
Making all in sdl
make[3]: se entra en el directorio '/tmp/openglide/platform/sdl'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c -o openglext.lo openglext.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp  -fPIC -DPIC -o .libs/openglext.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp -o openglext.o >/dev/null 2>&1
mv -f .deps/openglext.Tpo .deps/openglext.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT window.lo -MD -MP -MF .deps/window.Tpo -c -o window.lo window.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp  -fPIC -DPIC -o .libs/window.o
window.cpp: En la función ‘bool InitialiseOpenGLWindow(FxU, int, int, int, int)’:
window.cpp:65:38: aviso: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
                 putenv("SDL_WINDOWID");
                                      ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp -o window.o >/dev/null 2>&1
mv -f .deps/window.Tpo .deps/window.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux    -o libsdl.la  openglext.lo window.lo  -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lGL -lGLU
libtool: link: ar cru .libs/libsdl.a .libs/openglext.o .libs/window.o 
libtool: link: ranlib .libs/libsdl.a
libtool: link: ( cd ".libs" && rm -f "libsdl.la" && ln -s "../libsdl.la" "libsdl.la" )
make[3]: se sale del directorio '/tmp/openglide/platform/sdl'
Making all in windows
make[3]: se entra en el directorio '/tmp/openglide/platform/windows'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c -o clock.lo clock.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c clock.cpp  -fPIC -DPIC -o .libs/clock.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT clock.lo -MD -MP -MF .deps/clock.Tpo -c clock.cpp -o clock.o >/dev/null 2>&1
mv -f .deps/clock.Tpo .deps/clock.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cpp  -fPIC -DPIC -o .libs/error.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cpp -o error.o >/dev/null 2>&1
mv -f .deps/error.Tpo .deps/error.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c -o openglext.lo openglext.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp  -fPIC -DPIC -o .libs/openglext.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT openglext.lo -MD -MP -MF .deps/openglext.Tpo -c openglext.cpp -o openglext.o >/dev/null 2>&1
mv -f .deps/openglext.Tpo .deps/openglext.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT library.lo -MD -MP -MF .deps/library.Tpo -c -o library.lo library.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp  -fPIC -DPIC -o .libs/library.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT library.lo -MD -MP -MF .deps/library.Tpo -c library.cpp -o library.o >/dev/null 2>&1
mv -f .deps/library.Tpo .deps/library.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux  -MT window.lo -MD -MP -MF .deps/window.Tpo -c -o window.lo window.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp  -fPIC -DPIC -o .libs/window.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.cpp -o window.o >/dev/null 2>&1
mv -f .deps/window.Tpo .deps/window.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -std=c++11 -D__unix__ -D__linux__ -I../../platform/linux    -o libwindows.la  clock.lo error.lo openglext.lo library.lo window.lo  -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lSDL -lpthread -lGL -lGLU
libtool: link: ar cru .libs/libwindows.a .libs/clock.o .libs/error.o .libs/openglext.o .libs/library.o .libs/window.o 
libtool: link: ranlib .libs/libwindows.a
libtool: link: ( cd ".libs" && rm -f "libwindows.la" && ln -s "../libwindows.la" "libwindows.la" )
make[3]: se sale del directorio '/tmp/openglide/platform/windows'
make[3]: se entra en el directorio '/tmp/openglide/platform'
make[3]: No se hace nada para 'all-am'.
make[3]: se sale del directorio '/tmp/openglide/platform'
make[2]: se sale del directorio '/tmp/openglide/platform'
make[2]: se entra en el directorio '/tmp/openglide'
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguDepth.lo -MD -MP -MF .deps/grguDepth.Tpo -c -o grguDepth.lo grguDepth.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguDepth.lo -MD -MP -MF .deps/grguDepth.Tpo -c grguDepth.cpp  -fPIC -DPIC -o .libs/grguDepth.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguDepth.lo -MD -MP -MF .deps/grguDepth.Tpo -c grguDepth.cpp -o grguDepth.o >/dev/null 2>&1
mv -f .deps/grguDepth.Tpo .deps/grguDepth.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguMisc.lo -MD -MP -MF .deps/grguMisc.Tpo -c -o grguMisc.lo grguMisc.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguMisc.lo -MD -MP -MF .deps/grguMisc.Tpo -c grguMisc.cpp  -fPIC -DPIC -o .libs/grguMisc.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguMisc.lo -MD -MP -MF .deps/grguMisc.Tpo -c grguMisc.cpp -o grguMisc.o >/dev/null 2>&1
mv -f .deps/grguMisc.Tpo .deps/grguMisc.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grgu3df.lo -MD -MP -MF .deps/grgu3df.Tpo -c -o grgu3df.lo grgu3df.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grgu3df.lo -MD -MP -MF .deps/grgu3df.Tpo -c grgu3df.cpp  -fPIC -DPIC -o .libs/grgu3df.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grgu3df.lo -MD -MP -MF .deps/grgu3df.Tpo -c grgu3df.cpp -o grgu3df.o >/dev/null 2>&1
mv -f .deps/grgu3df.Tpo .deps/grgu3df.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguDraw.lo -MD -MP -MF .deps/grguDraw.Tpo -c -o grguDraw.lo grguDraw.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguDraw.lo -MD -MP -MF .deps/grguDraw.Tpo -c grguDraw.cpp  -fPIC -DPIC -o .libs/grguDraw.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguDraw.lo -MD -MP -MF .deps/grguDraw.Tpo -c grguDraw.cpp -o grguDraw.o >/dev/null 2>&1
mv -f .deps/grguDraw.Tpo .deps/grguDraw.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguSstGlide.lo -MD -MP -MF .deps/grguSstGlide.Tpo -c -o grguSstGlide.lo grguSstGlide.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguSstGlide.lo -MD -MP -MF .deps/grguSstGlide.Tpo -c grguSstGlide.cpp  -fPIC -DPIC -o .libs/grguSstGlide.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguSstGlide.lo -MD -MP -MF .deps/grguSstGlide.Tpo -c grguSstGlide.cpp -o grguSstGlide.o >/dev/null 2>&1
mv -f .deps/grguSstGlide.Tpo .deps/grguSstGlide.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguFog.lo -MD -MP -MF .deps/grguFog.Tpo -c -o grguFog.lo grguFog.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguFog.lo -MD -MP -MF .deps/grguFog.Tpo -c grguFog.cpp  -fPIC -DPIC -o .libs/grguFog.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguFog.lo -MD -MP -MF .deps/grguFog.Tpo -c grguFog.cpp -o grguFog.o >/dev/null 2>&1
mv -f .deps/grguFog.Tpo .deps/grguFog.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguTex.lo -MD -MP -MF .deps/grguTex.Tpo -c -o grguTex.lo grguTex.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguTex.lo -MD -MP -MF .deps/grguTex.Tpo -c grguTex.cpp  -fPIC -DPIC -o .libs/grguTex.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguTex.lo -MD -MP -MF .deps/grguTex.Tpo -c grguTex.cpp -o grguTex.o >/dev/null 2>&1
mv -f .deps/grguTex.Tpo .deps/grguTex.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT grguLfb.lo -MD -MP -MF .deps/grguLfb.Tpo -c -o grguLfb.lo grguLfb.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguLfb.lo -MD -MP -MF .deps/grguLfb.Tpo -c grguLfb.cpp  -fPIC -DPIC -o .libs/grguLfb.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT grguLfb.lo -MD -MP -MF .deps/grguLfb.Tpo -c grguLfb.cpp -o grguLfb.o >/dev/null 2>&1
mv -f .deps/grguLfb.Tpo .deps/grguLfb.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include  -std=c++11 -D__unix__ -D__linux__ -I./platform/linux  -MT GLRender.lo -MD -MP -MF .deps/GLRender.Tpo -c -o GLRender.lo GLRender.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -std=c++11 -D__unix__ -D__linux__ -I./platform/linux -MT GLRender.lo -MD -MP -MF .deps/GLRender.Tpo -c GLRender.cpp  -fPIC -DPIC -o .libs/GLRender.o
GLRender.cpp: En la función ‘void RenderAddTriangle(const GrVertex*, const GrVertex*, const GrVertex*, bool)’:
GLRender.cpp:610:61: error: ‘max’ no se declaró en este ámbito
         maxoow = 1.0f / max( atmuoow, max( btmuoow, ctmuoow ) );
                                                             ^
GLRender.cpp:610:63: error: ‘max’ no se declaró en este ámbito
         maxoow = 1.0f / max( atmuoow, max( btmuoow, ctmuoow ) );
                                                               ^
GLRender.cpp:610:63: error: redeclaración de ‘<errorprefijotipo>max’
GLRender.cpp:610:61: nota: declaración previa de ‘<errorprefijotipo>max’
         maxoow = 1.0f / max( atmuoow, max( btmuoow, ctmuoow ) );
                                                             ^
Makefile:622: fallo en las instrucciones para el objetivo 'GLRender.lo'
make[2]: *** [GLRender.lo] Error 1
make[2]: se sale del directorio '/tmp/openglide'
Makefile:665: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/tmp/openglide'
Makefile:487: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
rderooy commented 3 years ago

well... It got you one step further it seems.

Not sure why your getting the error that max is undeclared in this scope. But your already getting warnings from bootstrap that I'm not seeing.

$ ./bootstrap 
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:25: installing './compile'
configure.ac:18: installing './missing'
Makefile.am: installing './depcomp'

If it helps, here is a diff between your configure output and mine (I also used CXXFLAGS="-std=c++11" ./configure in this case).

$ diff configure.yours.out configure.mine.out
1,4c1,4
< checking build system type... x86_64-unknown-linux-gnu
< checking host system type... x86_64-unknown-linux-gnu
< checking target system type... x86_64-unknown-linux-gnu
< checking for a BSD-compatible install... /usr/bin/ginstall -c
---
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
18c18
< checking for style of include used by make... GNU
---
> checking whether make supports the include directive... yes (GNU style)
31,32c31,32
< checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
< checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
---
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
37,39c37,39
< checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
< checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
< checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
---
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
52,53c52,53
< checking for mt... mt
< checking if mt is a manifest tool... no
---
> checking for mt... no
> checking if : is a manifest tool... no
70c70
< checking if gcc static flag -static works... yes
---
> checking if gcc static flag -static works... no
73c73
< checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
---
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
82,84c82,84
< checking for ld used by g++... /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
< checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
< checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
---
> checking for ld used by g++... /usr/bin/ld -m elf_x86_64
> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
87c87
< checking if g++ static flag -static works... yes
---
> checking if g++ static flag -static works... no
90c90
< checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
---
> checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
110a111