Skip to content

Reply To: Install issue olb-1.5r0

#6583
at8i
Participant

Hello,
This is the error I get when I try compiling without any change in configuration.

make -C zlib
cc -c -o build/adler32.o ./adler32.c
cc -c -o build/crc32.o ./crc32.c
cc -c -o build/deflate.o ./deflate.c
cc -c -o build/infback.o ./infback.c
cc -c -o build/inffast.o ./inffast.c
cc -c -o build/inflate.o ./inflate.c
cc -c -o build/inftrees.o ./inftrees.c
cc -c -o build/trees.o ./trees.c
cc -c -o build/zutil.o ./zutil.c
cc -c -o build/compress.o ./compress.c
cc -c -o build/uncompr.o ./uncompr.c
cc -c -o build/gzclose.o ./gzclose.c
cc -c -o build/gzlib.o ./gzlib.c
cc -c -o build/gzread.o ./gzread.c
cc -c -o build/gzwrite.o ./gzwrite.c
ar rc build//libz.a ./build/adler32.o ./build/crc32.o ./build/deflate.o ./build/infback.o ./build/inffast.o ./build/inflate.o ./build/inftrees.o ./build/trees.o ./build/zutil.o ./build/compress.o ./build/uncompr.o ./build/gzclose.o ./build/gzlib.o ./build/gzread.o ./build/gzwrite.o
cp zlib/build/libz.a lib/
make -C tinyxml
c++ -c tinystr.cpp -o build/tinystr.o
In file included from tinystr.cpp:32:
./tinystr.h:82:50: error: use of undeclared identifier ‘nullptr’
TiXmlString ( const TiXmlString & copy) : rep_(nullptr)
^
./tinystr.h:89:58: error: use of undeclared identifier ‘nullptr’
TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(nullptr)
^
./tinystr.h:96:72: error: use of undeclared identifier ‘nullptr’
TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(nullptr)
^
3 errors generated.
make[2]: *** [build/tinystr.o] Error 1
make[1]: *** [tinyxml] Error 2
make: *** [dependencies] Error 2

Changing the default compiler path to other ones and also installing tinyxml, zlib and GCC and setting ‘USE_EMBEDDED_DEPENDENCIES := OFF’ resulted in the same error. I think I am not correctly making adjustment to compiler path.

I will try and solve the problem if I have the time, right now the Multipass is just another terminal which I compile everything after making changes, a bit of a hassle but not a really annoying one.