im unable to compile on slackware 64 current gcc version gcc -version gcc (GCC) 4.7.0
this is the error i get when compiling after typing in qmake then make on both svn repository and latest source stable release.
cd liblxistream/ && make -f Makefile
make: Entering directory `/root/lximedia/src/lxistream/liblxistream'
g++ -m64 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DS_BUILD_LIBLXISTREAM -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include -I../../../include -I../../../include -I../../../include/liblxistream -I. -x c++-header -c ../../../include/LXiStream -o LXiStream.gch/c++
In file included from ../../../include/liblxistream/saudiobuffer.h:24:0,
from ../../../include/LXiStream:10:
../../../include/liblxistream/sbuffer.h: In static member function 'static _type* LXiStream::SBuffer::align(_type*, int)':
../../../include/liblxistream/sbuffer.h:142:77: error: there are no arguments to 'intptr_t' that depend on a template parameter, so a declaration of 'intptr_t' must be available
../../../include/liblxistream/sbuffer.h:142:77: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** Error 1
make: Leaving directory `/root/lximedia/src/lxistream/liblxistream'
make: *** Error 2
make: Leaving directory `/root/lximedia/src/lxistream'
make: *** Error 2
make: Leaving directory `/root/lximedia/src'
make: *** Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
im unable to compile on slackware 64 current gcc version gcc -version gcc (GCC) 4.7.0
this is the error i get when compiling after typing in qmake then make on both svn repository and latest source stable release.
cd liblxistream/ && make -f Makefile
make: Entering directory `/root/lximedia/src/lxistream/liblxistream'
g++ -m64 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DS_BUILD_LIBLXISTREAM -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include -I../../../include -I../../../include -I../../../include/liblxistream -I. -x c++-header -c ../../../include/LXiStream -o LXiStream.gch/c++
In file included from ../../../include/liblxistream/saudiobuffer.h:24:0,
from ../../../include/LXiStream:10:
../../../include/liblxistream/sbuffer.h: In static member function 'static _type* LXiStream::SBuffer::align(_type*, int)':
../../../include/liblxistream/sbuffer.h:142:77: error: there are no arguments to 'intptr_t' that depend on a template parameter, so a declaration of 'intptr_t' must be available
../../../include/liblxistream/sbuffer.h:142:77: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** Error 1
make: Leaving directory `/root/lximedia/src/lxistream/liblxistream'
make: *** Error 2
make: Leaving directory `/root/lximedia/src/lxistream'
make: *** Error 2
make: Leaving directory `/root/lximedia/src'
make: *** Error 2
I've just fixed this issue in the svn repository. Both in the trunk and in the latest stable branch: https://lximedia.svn.sourceforge.net/svnroot/lximedia/branches/lximedia-0.3.3/