VC4C icon indicating copy to clipboard operation
VC4C copied to clipboard

VC4C build error (make compile error)

Open jjsshh3116 opened this issue 1 year ago • 4 comments

Hi! I try build openCL on raspberry pi3 b+ board. But occur error when during make at VC4C/build directory. I follow this post: (https://qengineering.eu/install-opencl-on-raspberry-pi-3.html)

Error message: Screenshot 2024-01-04 at 10 47 29

And this is the execution environment version. Screenshot 2024-01-04 at 11 25 08

Thank you for reading my article.

jjsshh3116 avatar Jan 04 '24 02:01 jjsshh3116

Hi! I try build openCL on raspberry pi3 b+ board. But occur error when during make at VC4C/build directory. I follow this post: (https://qengineering.eu/install-opencl-on-raspberry-pi-3.html)

Error message: Screenshot 2024-01-04 at 10 47 29

And this is the execution environment version. Screenshot 2024-01-04 at 11 25 08

Thank you for reading my article.

Yeah. Same problem.

I'd recommend you just comment out the lines 827,837, 980 in the ../VC4C/test/TestInstructions.cpp and ignore/recompile

kotocom avatar Jan 17 '24 21:01 kotocom

I had the same problem, and commented out. But now clinfo shows no available platforms

aruzhanabdirashova avatar Jan 21 '24 05:01 aruzhanabdirashova

I had the same problem, and commented out. But now clinfo shows no available platforms

Right, When I do the same clinfo, 0 comes out.

jjsshh3116 avatar Jan 26 '24 19:01 jjsshh3116

In my case, renaming INT_MAX to MY_INT_MAX solved issue. Suppose, INT_MAX already defined somewhere. To make clinfo show something, build VC4CL with cmake -DBUILD_ICD=ON ..

Bravo13 avatar Feb 05 '24 12:02 Bravo13