You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dennis@nvidia-k8s:~/Documents/OpenCL/OpenCL-examples/mandelbrot$ make
gcc -std=c99 -Wall -DUNIX -g -DDEBUG -m64 -o mandelbrot mandelbrot.c clbuild.c -lOpenCL
In file included from /usr/include/CL/cl.h:32,
from defs.h:10,
from mandelbrot.c:5:
/usr/include/CL/cl_version.h:34:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
| ^~~~~~~
mandelbrot.c: In function ‘main’:
mandelbrot.c:62:4: warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
62 | queue = clCreateCommandQueue(context, device, 0, &err);
| ^~~~~
In file included from defs.h:10,
from mandelbrot.c:5:
/usr/include/CL/cl.h:1781:1: note: declared here
1781 | clCreateCommandQueue(cl_context context,
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/cl.h:32,
from defs.h:10,
from clbuild.c:1:
/usr/include/CL/cl_version.h:34:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
| ^~~~~~~
/usr/bin/ld: /tmp/ccrQKADv.o: in function main': /home/dennis/Documents/OpenCL/OpenCL-examples/mandelbrot/mandelbrot.c:93: undefined reference to ceil'
collect2: error: ld returned 1 exit status
make: *** [Makefile:55: mandelbrot] Error 1
The text was updated successfully, but these errors were encountered:
dennis@nvidia-k8s:~/Documents/OpenCL/OpenCL-examples/mandelbrot$ make
gcc -std=c99 -Wall -DUNIX -g -DDEBUG -m64 -o mandelbrot mandelbrot.c clbuild.c -lOpenCL
In file included from /usr/include/CL/cl.h:32,
from defs.h:10,
from mandelbrot.c:5:
/usr/include/CL/cl_version.h:34:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
| ^~~~~~~
mandelbrot.c: In function ‘main’:
mandelbrot.c:62:4: warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]
62 | queue = clCreateCommandQueue(context, device, 0, &err);
| ^~~~~
In file included from defs.h:10,
from mandelbrot.c:5:
/usr/include/CL/cl.h:1781:1: note: declared here
1781 | clCreateCommandQueue(cl_context context,
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/CL/cl.h:32,
from defs.h:10,
from clbuild.c:1:
/usr/include/CL/cl_version.h:34:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
| ^~~~~~~
/usr/bin/ld: /tmp/ccrQKADv.o: in function
main': /home/dennis/Documents/OpenCL/OpenCL-examples/mandelbrot/mandelbrot.c:93: undefined reference to
ceil'collect2: error: ld returned 1 exit status
make: *** [Makefile:55: mandelbrot] Error 1
The text was updated successfully, but these errors were encountered: