Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Can't build PCSX2 svn r5083 (and later)
#1
Hello,
I'm trying to build PCSX2 from svn under Arch Linux x86_64, but it fails (for two reasons):
In r5074 the files plugins/GSdx/GSVertexTrace.x64.avx.cpp , plugins/GSdx/GSVertexTrace.x64.cpp , plugins/GSdx/GSVertexTrace.x86.avx.cpp , and plugins/GSdx/GSVertexTrace.x86.cpp , but plugins/GSdx/CMakeLists.txt wasn't update to reflect that, so cmake throws an exceptions. Deleting the relative lines from that file fixes this and that revision build fine, like the following ones up to r5082 included.
Make fails since r5083, though. The following is the last part from make's log from the latest revision to date (r5087):
Code:
[ 80%] Building CXX object plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GSState.cpp.o
In file included from /home/bexie/pcsx2/plugins/GSdx/GSState.h:24:0,
                 from /home/bexie/pcsx2/plugins/GSdx/GSState.cpp:23:
/home/bexie/pcsx2/plugins/GSdx/GS.h: In member function ‘bool GIFRegALPHA::IsOpaque() const’:
/home/bexie/pcsx2/plugins/GSdx/GS.h:552:74: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GS.h:552:132: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GS.h: In member function ‘bool GIFRegALPHA::IsOpaque(int, int) const’:
/home/bexie/pcsx2/plugins/GSdx/GS.h:553:143: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.h: In constructor ‘GSState::GSState()’:
/home/bexie/pcsx2/plugins/GSdx/GSState.h:190:6: warning: ‘GSState::m_frameskip’ will be initialized after [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.h:173:16: warning:   ‘GSVertexTrace GSState::m_vt’ [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:29:1: warning:   when initialized here [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.h:173:16: warning: ‘GSState::m_vt’ will be initialized after [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.h:143:8: warning:   ‘float GSState::m_q’ [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:29:1: warning:   when initialized here [-Wreorder]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::GIFRegHandlerPRIM(const GIFReg*)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:631:2: warning: unused variable ‘__dummy’ [-Wunused-variable]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::ApplyTEX0(GIFRegTEX0&)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:749:12: error: declaration of ‘int i’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:697:10: error:  shadows template parm ‘int i’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In function ‘bool GSC_GodOfWar2(const GSFrameInfo&, int&)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:3352:88: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In function ‘bool GSC_Black(const GSFrameInfo&, int&)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:3822:240: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In function ‘bool GSC_Yakuza(const GSFrameInfo&, int&)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4065:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4066:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4067:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In function ‘bool GSC_Yakuza2(const GSFrameInfo&, int&)’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4089:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4090:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:4091:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::ApplyTEX0(GIFRegTEX0&) [with int i = 0]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:791:2:   instantiated from ‘void GSState::GIFRegHandlerTEX0(const GIFReg*) [with int i = 0]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:216:91:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:707:2: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::ApplyTEX0(GIFRegTEX0&) [with int i = 1]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:791:2:   instantiated from ‘void GSState::GIFRegHandlerTEX0(const GIFReg*) [with int i = 1]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:217:91:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:707:2: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 0u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 0u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:236:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 1u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 1u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:237:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 2u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 2u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:238:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 3u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 3u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:239:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 4u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 4u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:240:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 5u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 5u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:241:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 6u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 6u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:242:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp: In member function ‘void GSState::VertexKick(uint32) [with unsigned int prim = 7u, uint32 = unsigned int]’:
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:492:2:   instantiated from ‘void GSState::GIFPackedRegHandlerXYZF2(const GIFPackedReg*) [with unsigned int prim = 7u, unsigned int adc = 0u]’
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:243:2:   instantiated from here
/home/bexie/pcsx2/plugins/GSdx/GSState.cpp:2323:61: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
make[2]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/GSState.cpp.o] Error 1
make[1]: *** [plugins/GSdx/CMakeFiles/GSdx-0.1.16.dir/all] Error 2
make: *** [all] Error 2

I'm building with the following commands, borrowed from the pcsx2-svn PKGBUILD (differing only for the missing '-DCMAKE_BUILD_TYPE="Debug"' flag):
Code:
$ cmake CMakeLists.txt -DPACKAGE_MODE=TRUE -DFORCE_INTERNAL_SDL=TRUE -DFORCE_INTERNAL_SOUNDTOUCH=FALSE -DCMAKE_INSTALL_PREFIX="/usr" -DPLUGIN_DIR="/usr/lib32/pcsx2" -DGAMEINDEX_DIR="/usr/share/pcsx2" -DXDG_STD=TRUE

$ make

Am I the only one experiencing this issue and/or should I file a bug report?
Reply

Sponsored links

#2
Thank you very much for you report. I will try to fix the issue, no need to create an additional bug report.
Reply
#3
I fix the issue on r5088. Enjoy :d
Reply




Users browsing this thread: 1 Guest(s)