michaelzfreeman@Michaels-MacBook-Air.local
~/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake
$ qmake -spec macx-xcode mandelbulber-opencl-m1.pro
Project MESSAGE: Use OpenEXR libraries for EXR files
Project MESSAGE: Use tiff library for TIFF files
Project MESSAGE: Use sndfile library for WAV files
Project MESSAGE: Use OpenCL library
michaelzfreeman@Michaels-MacBook-Air.local
~/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake
$ qmake -project
michaelzfreeman@Michaels-MacBook-Air.local
~/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake
$ qmake -o makefile mandelbulber-opencl-m1.pro
Project MESSAGE: Use OpenEXR libraries for EXR files
Project MESSAGE: Use tiff library for TIFF files
Project MESSAGE: Use sndfile library for WAV files
Project MESSAGE: Use OpenCL library
michaelzfreeman@Michaels-MacBook-Air.local
~/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake
$ make
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -ffast-math -Xpreprocessor -I/usr/local/include -I-I/usr/local/include/gsl -I/opt/homebrew/include -O3 -std=gnu++1z -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.0 -pthread -Wall -Wextra -DUSE_EXR -DUSE_TIFF -DUSE_SNDFILE -DUSE_OPENCL -DQT_MESSAGELOGCONTEXT -DSHARED_DIR_IS_APP_DIR -DQT_NO_DEBUG -DQT_UITOOLS_LIB -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/michaelzfreeman/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake"' -I. -I../../mandelbulber2 -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtUiTools.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtOpenGLWidgets.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtWidgets.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtOpenGL.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtMultimedia.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtSvg.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtGui.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtNetwork.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtTest.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../qt -I/opt/homebrew/Cellar/openexr/3.1.5_1/include -I/opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.7/include -I/opt/homebrew/Cellar/imath/3.1.7/include/Imath -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libsndfile/1.2.0_1/include -I/opt/homebrew/Cellar/flac/1.4.2/include -I/opt/homebrew/Cellar/libvorbis/1.3.7/include -I/opt/homebrew/Cellar/libogg/1.3.5/include -I/opt/homebrew/Cellar/opus/1.3.1/include/opus -I/opt/homebrew/Cellar/mpg123/1.31.2/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/mkspecs/macx-clang -F/Users/michaelzfreeman/Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib -o algebra.o ../src/algebra.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -ffast-math -Xpreprocessor -I/usr/local/include -I-I/usr/local/include/gsl -I/opt/homebrew/include -O3 -std=gnu++1z -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.0 -pthread -Wall -Wextra -DUSE_EXR -DUSE_TIFF -DUSE_SNDFILE -DUSE_OPENCL -DQT_MESSAGELOGCONTEXT -DSHARED_DIR_IS_APP_DIR -DQT_NO_DEBUG -DQT_UITOOLS_LIB -DQT_OPENGLWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_OPENGL_LIB -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/michaelzfreeman/ReturnToTheSource/mandelbulber2/mandelbulber2/qmake"' -I. -I../../mandelbulber2 -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtUiTools.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtOpenGLWidgets.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtWidgets.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtOpenGL.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtMultimedia.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtSvg.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtGui.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtNetwork.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtTest.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../qt -I/opt/homebrew/Cellar/openexr/3.1.5_1/include -I/opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR -I/opt/homebrew/Cellar/imath/3.1.7/include -I/opt/homebrew/Cellar/imath/3.1.7/include/Imath -I/opt/homebrew/Cellar/libtiff/4.4.0_1/include -I/opt/homebrew/Cellar/libsndfile/1.2.0_1/include -I/opt/homebrew/Cellar/flac/1.4.2/include -I/opt/homebrew/Cellar/libvorbis/1.3.7/include -I/opt/homebrew/Cellar/libogg/1.3.5/include -I/opt/homebrew/Cellar/opus/1.3.1/include/opus -I/opt/homebrew/Cellar/mpg123/1.31.2/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../../../Qt/QtDesignStudio/qt6_design_studio_reduced_version/mkspecs/macx-clang -F/Users/michaelzfreeman/Qt/QtDesignStudio/qt6_design_studio_reduced_version/lib -o animation_flight.o ../src/animation_flight.cpp
In file included from ../src/animation_flight.cpp:52:
In file included from ../src/files.h:41:
In file included from ../src/file_image.hpp:53:
In file included from /opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR/ImfHeader.h:26:
/opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR/ImfAttribute.h:288:41: warning: unused parameter 'version' [-Wunused-parameter]
int version) const
^
/opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR/ImfAttribute.h:297:42: warning: unused parameter 'size' [-Wunused-parameter]
int size,
^
/opt/homebrew/Cellar/openexr/3.1.5_1/include/OpenEXR/ImfAttribute.h:298:42: warning: unused parameter 'version' [-Wunused-parameter]
int version)
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:43:
In file included from ../src/opencl_engine.h:46:
../src/opencl_input_output_buffer.h:58:18: error: use of undeclared identifier 'cl'
std::shared_ptr<cl::Buffer> clPtr;
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:43:
../src/opencl_engine.h:103:23: error: unknown type name 'cl_int'; did you mean 'u_int'?
static bool checkErr(cl_int err, QString functionName);
^~~~~~
u_int
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/_types/_u_int.h:30:25: note: 'u_int' declared here
typedef unsigned int u_int;
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:43:
../src/opencl_engine.h:117:24: error: use of undeclared identifier 'cl'
QList<std::shared_ptr<cl::Program>> clPrograms;
^
../src/opencl_engine.h:118:24: error: use of undeclared identifier 'cl'
QList<std::shared_ptr<cl::Kernel>> clKernels;
^
../src/opencl_engine.h:119:24: error: use of undeclared identifier 'cl'
QList<std::shared_ptr<cl::CommandQueue>> clQueues;
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:44:
../src/opencl_worker_output_queue.h:74:15: error: use of undeclared identifier 'cl_int'
std::vector<cl_int> pixelSequence;
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:50:
In file included from ../../mandelbulber2/opencl/input_data_structures.h:36:
In file included from ../../mandelbulber2/OpenCL/fractal_cl.h:49:
In file included from ../../mandelbulber2/OpenCL/common_params_cl.hpp:50:
In file included from ../../mandelbulber2/OpenCL/image_adjustments_cl.h:51:
../../mandelbulber2/OpenCL/opencl_algebra.h:47:2: error: unknown type name 'cl_float3'; did you mean '__float2'?
cl_float3 m1;
^~~~~~~~~
__float2
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/math.h:644:8: note: '__float2' declared here
struct __float2 { float __sinval; float __cosval; };
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:50:
In file included from ../../mandelbulber2/opencl/input_data_structures.h:36:
In file included from ../../mandelbulber2/OpenCL/fractal_cl.h:49:
In file included from ../../mandelbulber2/OpenCL/common_params_cl.hpp:50:
In file included from ../../mandelbulber2/OpenCL/image_adjustments_cl.h:51:
../../mandelbulber2/OpenCL/opencl_algebra.h:48:2: error: unknown type name 'cl_float3'; did you mean '__float2'?
cl_float3 m2;
^~~~~~~~~
__float2
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/math.h:644:8: note: '__float2' declared here
struct __float2 { float __sinval; float __cosval; };
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:50:
In file included from ../../mandelbulber2/opencl/input_data_structures.h:36:
In file included from ../../mandelbulber2/OpenCL/fractal_cl.h:49:
In file included from ../../mandelbulber2/OpenCL/common_params_cl.hpp:50:
In file included from ../../mandelbulber2/OpenCL/image_adjustments_cl.h:51:
../../mandelbulber2/OpenCL/opencl_algebra.h:49:2: error: unknown type name 'cl_float3'; did you mean '__float2'?
cl_float3 m3;
^~~~~~~~~
__float2
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/math.h:644:8: note: '__float2' declared here
struct __float2 { float __sinval; float __cosval; };
^
In file included from ../src/animation_flight.cpp:58:
In file included from ../src/opencl_engine_render_fractal.h:50:
In file included from ../../mandelbulber2/opencl/input_data_structures.h:36:
In file included from ../../mandelbulber2/OpenCL/fractal_cl.h:49:
In file included from ../../mandelbulber2/OpenCL/common_params_cl.hpp:50:
In file included from ../../mandelbulber2/OpenCL/image_adjustments_cl.h:51:
../../mandelbulber2/OpenCL/opencl_algebra.h:57:11: error: use of undeclared identifier 'cl_float'
m.m1 = {{cl_float(matrix.m11), cl_float(matrix.m12), cl_float(matrix.m13), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:57:33: error: use of undeclared identifier 'cl_float'
m.m1 = {{cl_float(matrix.m11), cl_float(matrix.m12), cl_float(matrix.m13), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:57:55: error: use of undeclared identifier 'cl_float'
m.m1 = {{cl_float(matrix.m11), cl_float(matrix.m12), cl_float(matrix.m13), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:57:77: error: use of undeclared identifier 'cl_float'
m.m1 = {{cl_float(matrix.m11), cl_float(matrix.m12), cl_float(matrix.m13), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:58:11: error: use of undeclared identifier 'cl_float'
m.m2 = {{cl_float(matrix.m21), cl_float(matrix.m22), cl_float(matrix.m23), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:58:33: error: use of undeclared identifier 'cl_float'
m.m2 = {{cl_float(matrix.m21), cl_float(matrix.m22), cl_float(matrix.m23), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:58:55: error: use of undeclared identifier 'cl_float'
m.m2 = {{cl_float(matrix.m21), cl_float(matrix.m22), cl_float(matrix.m23), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:58:77: error: use of undeclared identifier 'cl_float'
m.m2 = {{cl_float(matrix.m21), cl_float(matrix.m22), cl_float(matrix.m23), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:59:11: error: use of undeclared identifier 'cl_float'
m.m3 = {{cl_float(matrix.m31), cl_float(matrix.m32), cl_float(matrix.m33), cl_float(0.0)}};
^
../../mandelbulber2/OpenCL/opencl_algebra.h:59:33: error: use of undeclared identifier 'cl_float'
m.m3 = {{cl_float(matrix.m31), cl_float(matrix.m32), cl_float(matrix.m33), cl_float(0.0)}};
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
make: *** [animation_flight.o] Error 1