-
Notifications
You must be signed in to change notification settings - Fork 72
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
"VEZ.h" has unknown type name errors? #62
Comments
Could you paste the exact error output of the compiler? |
Here's the output:
|
A minimal example would help the debugging. If you could, please make a .zip containing a single file that causes the problem and post it with GCC command or Makefile/CMake/etc so a developer could build and try fixing easily. |
Just create a 'main.c' file and add the line '#include "VEZ.h"'.
Also, compiling with CLANG yields the exact same result. |
I'm afraid that this problem is out of scope, because most V-EZ's code is C++. And you can't compile as C code since C doesn't have |
V-EZ's lib (.so) works perfectly with only C. The header file just has a few small mistakes with certain typedefs. |
I got V-EZ compiling for my V-EZ rust bindings. Could be useful for this issue: #71 |
When including the header file "VEZ.h" in a C source file, the compiler (GCC) will spit out a few unknown type name errors.
This ONLY happens in C files, not C++ files (not sure why).
Anyways a cheap fix is to add 'struct' in front of the unknown type names.
The text was updated successfully, but these errors were encountered: