Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could NOT find SparseHash_new (missing: SPARSEHASE_NEW_INCLUDE_DIR)
#1
Hello.

I use Debian 6 and i have som problem with compiling the source.
Here is my log:
Code:
root@debian:/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources# sh build.sh
-- BuildType set to Devel by default
-- Disable the stripping by default in Devel build !!!
-- Disable the building of po files by default in Devel build !!!
-- Could NOT find SparseHash_new (missing:  SPARSEHASE_NEW_INCLUDE_DIR)
-- Don't build zerospu2. It is super-seeded by spu2x
-- Configuring done
-- Generating done
-- Build files have been written to: /home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/build
[  3%] Built target translations_pcsx2_Iconized
[  6%] Built target translations_pcsx2_Main
[ 11%] Built target Utilities
[ 13%] Built target x86emitter
Scanning dependencies of target pcsx2-dev
[ 13%] Building CXX object pcsx2/CMakeFiles/pcsx2-dev.dir/PluginManager.cpp.o
[ 13%] Building CXX object pcsx2/CMakeFiles/pcsx2-dev.dir/System.cpp.o
[ 13%] Building CXX object pcsx2/CMakeFiles/pcsx2-dev.dir/gui/MainFrame.cpp.o
[ 13%] Building CXX object pcsx2/CMakeFiles/pcsx2-dev.dir/gui/MemoryCardFile.cpp.o
Linking CXX executable pcsx2-dev
[ 45%] Built target pcsx2-dev
[ 45%] Built target CDVDiso
[ 48%] Built target CDVDlinuz
[ 48%] Built target CDVDnull
[ 48%] Built target dev9null-0.5.0
[ 48%] Built target FWnull-0.7.0
[ 49%] Building CXX object plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GS.cpp.o
In file included from /home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GSUtil.h:24,
                 from /home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:24:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.h: In member function ‘bool GIFRegTEX0::IsRepeating()’:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.h:810: warning: comparison between signed and unsigned integer expressions
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp: In function ‘void GSReplay(char*, int)’:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: template argument for ‘template<class _Alloc> class std::allocator’ uses local type ‘GSReplay(char*, int)::Packet*’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error:   trying to instantiate ‘template<class _Alloc> class std::allocator’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: template argument 2 is invalid
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: invalid type in declaration before ‘;’ token
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1386: error: request for member ‘push_back’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: request for member ‘begin’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: unable to deduce ‘auto’ from ‘<expression error>’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: request for member ‘end’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: request for member ‘begin’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: unable to deduce ‘auto’ from ‘<expression error>’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: request for member ‘end’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1452: error: request for member ‘clear’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1324: warning: unused variable ‘start’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp: At global scope:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:69: warning: ‘s_isgsopen2’ defined but not used
make[2]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GS.cpp.o] Fel 1
make[1]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/all] Fel 2
make: *** [all] Fel 2
[  3%] Built target translations_pcsx2_Iconized
[  6%] Built target translations_pcsx2_Main
[ 11%] Built target Utilities
[ 13%] Built target x86emitter
[ 45%] Built target pcsx2-dev
[ 45%] Built target CDVDiso
[ 48%] Built target CDVDlinuz
[ 48%] Built target CDVDnull
[ 48%] Built target dev9null-0.5.0
[ 48%] Built target FWnull-0.7.0
[ 49%] Building CXX object plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GS.cpp.o
In file included from /home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GSUtil.h:24,
                 from /home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:24:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.h: In member function ‘bool GIFRegTEX0::IsRepeating()’:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.h:810: warning: comparison between signed and unsigned integer expressions
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp: In function ‘void GSReplay(char*, int)’:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: template argument for ‘template<class _Alloc> class std::allocator’ uses local type ‘GSReplay(char*, int)::Packet*’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error:   trying to instantiate ‘template<class _Alloc> class std::allocator’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: template argument 2 is invalid
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1330: error: invalid type in declaration before ‘;’ token
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1386: error: request for member ‘push_back’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: request for member ‘begin’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: unable to deduce ‘auto’ from ‘<expression error>’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1398: error: request for member ‘end’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: request for member ‘begin’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: unable to deduce ‘auto’ from ‘<expression error>’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1447: error: request for member ‘end’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1452: error: request for member ‘clear’ in ‘packets’, which is of non-class type ‘int’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:1324: warning: unused variable ‘start’
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp: At global scope:
/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources/plugins/GSdx/GS.cpp:69: warning: ‘s_isgsopen2’ defined but not used
make[2]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GS.cpp.o] Fel 1
make[1]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/all] Fel 2
make: *** [all] Fel 2
root@debian:/home/desktop/Hämtningar/pcsx2-1.0.0-r5350-sources#

I've installed libsparsehash-dev_1.6-1_all.deb but it isin't working for me.
What do i need to do?
Reply

Sponsored links

#2
It is not a sparsehash issue but of gcc (g++ exactly). You must use at least 4.5
Reply




Users browsing this thread: 1 Guest(s)