Thank you d_stranz for your reply.
I have included the errors I got when I tried to compile the project.
EDIT:
I cannot edit my first post so I am including the errors I got here. Since the images I posted weren't readable, I'll post the links to the images here:
My files after I ran autoreconf:
https://www.flickr.com/photos/50175764@N06/32410198781/
The libraries for OpenCL that I included:
https://www.flickr.com/photos/501757...n/photostream/
My workspace:
https://www.flickr.com/photos/50175764@N06/31720559053/
The errors I got:
17:27:13: Running steps for project valar-bench...
17:27:13: Configuration unchanged, skipping qmake step.
17:27:13: Starting: "/usr/bin/make"
Makefile:941: warning: overriding commands for target `eventlist.o'
Makefile:875: warning: ignoring old commands for target `eventlist.o'
Makefile:1014: warning: overriding commands for target `main.o'
Makefile:960: warning: ignoring old commands for target `main.o'
g++ -c -pipe -g -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../valar-bench -I. -I../valar-bench -I../valar-bench/clhaptic/libmisc -I../valar-bench/fir -I../valar-bench/clhaptic/libanalysis-devices -I../valar-bench/clhaptic/libprofiler -I../valar-bench/clhaptic/libtopology -I../valar-bench/clhaptic/librules -I../valar-bench/clhaptic/libinterceptor -I../valar-bench/clsurf/src -I../valar-bench/particles/Common/Base -I../valar-bench/particles/Common/Math -I../valar-bench/particles/TestBed/Demos -I../valar-bench/particles/Common/Utils -I../valar-bench/particles/TestBed -I../valar-bench/particles/Common/DeviceUtils -I../valar-bench/particles/Common/Geometry -I../valar-bench/particles -I/root/Downloads/valar-bench/valar-bench/../../usr/local/cuda-7.0/lib64 -I/root/Downloads/valar-bench/valar-bench/../../usr/local/cuda-7.0/include -I/opt/QtInstallation/5.6/gcc_64/include -I/opt/QtInstallation/5.6/gcc_64/include/QtGui -I/opt/QtInstallation/5.6/gcc_64/include/QtCore -I. -I/opt/QtInstallation/5.6/gcc_64/mkspecs/linux-g++ -o FIR_tapchange.o ../valar-bench/fir/FIR_tapchange.cpp
../valar-bench/fir/FIR_tapchange.cpp:16:19: error: CL/cl.h: No such file or directory
In file included from ../valar-bench/fir/FIR_tapchange.cpp:18:
../valar-bench/clhaptic/libmisc/opencl_utils.h:40: error: 'cl_device_id' was not declared in this scope
../valar-bench/clhaptic/libmisc/opencl_utils.h:42: error: variable or field 'ad_sync' declared void
../valar-bench/clhaptic/libmisc/opencl_utils.h:42: error: 'cl_command_queue' was not declared in this scope
.
.
.
.
17:27:13: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project valar-bench (kit: Desktop Qt 5.6.0 GCC 64bit)
When executing step "Make"
17:27:13: Elapsed time: 00:00.
17:27:13: Running steps for project valar-bench...
17:27:13: Configuration unchanged, skipping qmake step.
17:27:13: Starting: "/usr/bin/make"
Makefile:941: warning: overriding commands for target `eventlist.o'
Makefile:875: warning: ignoring old commands for target `eventlist.o'
Makefile:1014: warning: overriding commands for target `main.o'
Makefile:960: warning: ignoring old commands for target `main.o'
g++ -c -pipe -g -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../valar-bench -I. -I../valar-bench -I../valar-bench/clhaptic/libmisc -I../valar-bench/fir -I../valar-bench/clhaptic/libanalysis-devices -I../valar-bench/clhaptic/libprofiler -I../valar-bench/clhaptic/libtopology -I../valar-bench/clhaptic/librules -I../valar-bench/clhaptic/libinterceptor -I../valar-bench/clsurf/src -I../valar-bench/particles/Common/Base -I../valar-bench/particles/Common/Math -I../valar-bench/particles/TestBed/Demos -I../valar-bench/particles/Common/Utils -I../valar-bench/particles/TestBed -I../valar-bench/particles/Common/DeviceUtils -I../valar-bench/particles/Common/Geometry -I../valar-bench/particles -I/root/Downloads/valar-bench/valar-bench/../../usr/local/cuda-7.0/lib64 -I/root/Downloads/valar-bench/valar-bench/../../usr/local/cuda-7.0/include -I/opt/QtInstallation/5.6/gcc_64/include -I/opt/QtInstallation/5.6/gcc_64/include/QtGui -I/opt/QtInstallation/5.6/gcc_64/include/QtCore -I. -I/opt/QtInstallation/5.6/gcc_64/mkspecs/linux-g++ -o FIR_tapchange.o ../valar-bench/fir/FIR_tapchange.cpp
../valar-bench/fir/FIR_tapchange.cpp:16:19: error: CL/cl.h: No such file or directory
In file included from ../valar-bench/fir/FIR_tapchange.cpp:18:
../valar-bench/clhaptic/libmisc/opencl_utils.h:40: error: 'cl_device_id' was not declared in this scope
../valar-bench/clhaptic/libmisc/opencl_utils.h:42: error: variable or field 'ad_sync' declared void
../valar-bench/clhaptic/libmisc/opencl_utils.h:42: error: 'cl_command_queue' was not declared in this scope
.
.
.
.
17:27:13: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project valar-bench (kit: Desktop Qt 5.6.0 GCC 64bit)
When executing step "Make"
17:27:13: Elapsed time: 00:00.
To copy to clipboard, switch view to plain text mode
I got many other errors but I have not included them because I will be exceeding the word limit of my message. Qt is essentially not recognizing the OpenCL library.
Please let me know if my new post provides helpful information about my problem.
Bookmarks