-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux compile error: expected unqualified-id before numeric constant #1185
Comments
Tried with clang 16 as well. Same results.
|
Removing libfreenect2's define from both of the opencl processors lets this compile OpenCL already defines in its own files, version 2. libfreenect cannot reuse the same variable name. |
How do you go about doing that? |
Never mind figured it out by commenting out const int CL_ICDL_VERSION = 2 in opencl_depth_packet_processor.cpp and opencl_kde_depth_packet_processor.cpp |
Yep you got it! Glad I could help |
Overview Description:
Version, Platform, and Hardware Bug Found:
fd64c5d (HEAD -> master, tag: v0.2.1, origin/master, origin/HEAD) Update README.md
Linux rogally 6.5.0-1-git-13150-g535a265d7f0d #1 SMP PREEMPT_DYNAMIC Sun, 10 Sep 2023 15:32:28 +0000 x86_64 GNU/Linux
gcc 13.2.1-3 opencl-headers 2:2023.04.17-2
Steps to Reproduce:
Actual Results:
Fails to compile
Expected Results:
Compiles
Additional Information:
The text was updated successfully, but these errors were encountered: