Emulator Issues #3742
closedUnable to Compile
0%
Description
What steps will reproduce the problem?
- Checkout the fresh code using svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only
- compiled using scon
What is the expected output? What do you see instead?
Expected I guess should have compiled.
Instead I see the following error
Source/Core/Common/Src/OpenCL.cpp: At global scope:
Source/Core/Common/Src/OpenCL.cpp:136: error: ‘cl_context’ does not name a type
Source/Core/Common/Src/OpenCL.cpp:141: error: ‘cl_command_queue’ does not name a type
Source/Core/Common/Src/OpenCL.cpp:146: error: ‘cl_program’ does not name a type
Source/Core/Common/Src/OpenCL.cpp:189: error: ‘cl_kernel’ does not name a type
Source/Core/Common/Src/OpenCL.cpp: In function ‘void OpenCL::Destroy()’:
Source/Core/Common/Src/OpenCL.cpp:212: error: ‘g_cmdq’ was not declared in this scope
Source/Core/Common/Src/OpenCL.cpp:214: error: ‘clReleaseCommandQueue’ was not declared in this scope
Source/Core/Common/Src/OpenCL.cpp:217: error: ‘g_context’ was not declared in this scope
Source/Core/Common/Src/OpenCL.cpp:219: error: ‘clReleaseContext’ was not declared in this scope
Source/Core/Common/Src/OpenCL.cpp: At global scope:
Source/Core/Common/Src/OpenCL.cpp:226: error: variable or field ‘HandleCLError’ declared void
Source/Core/Common/Src/OpenCL.cpp:226: error: ‘cl_int’ was not declared in this scope
Source/Core/Common/Src/OpenCL.cpp:226: error: expected primary-expression before ‘const’
Source/Core/Common/Src/OpenCL.cpp:289: error: expected ‘}’ at end of input
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
scons: *** [Build/Linux-i686-release/Source/Core/Common/Src/OpenCL.o] Error 1
scons: building terminated because of errors.
Dolphin version with the problem? Other Dolphin version without the
problem?
32-bit or 64-bit and any other build parameters?
32 bit
OS version and versions of tools/libraries used?
Linux virus 2.6.34.7-63.fc13.i686.PAE #1 SMP Fri Dec 3 12:28:58 UTC 2010 i686 i686 i386 GNU/Linux
Please provide any additional information below.