Closed nazzrim closed 5 years ago
I was able to fix the above error on my windows machine with the following defines.
Defines:
__builtin_va_start: {}
__builtin_va_end: {}
But sadly I now get the same error as on unix:
processing .\cimgui.yml ⠙[ERR] cimgui\cimgui.h:898:44: unexpected identifier vec, expected one of [')', ',', ...]
Thanks, this will be incorporated in a patch
I want to create a wrapper for cimgui but wasn't able to get c-for-go to run.
I am using a win10 x64 machine with mingw64.
Here are some commands I tried and the corresponding output:
c-for-go -out . cimgui.yml
c-for-go -out . --ccincl cimgui.yml
c-for-go -out . --ccdefs cimgui.yml
c-for-go -out . --ccdefs --ccincl cimgui.yml
I thought this may be related to #49 and was wondering if this would work on linux. So I set up a Ubuntu 18.04.3 LTS vm, installed cland, and tried it again.
I got similar errors regarding missing header files (
/usr/include
was set as include path) and when I tried with--ccincl --ccdefs
I got the following error:cimgui.h@898:44 unexpected identifier vec, expected one of [')', ',', ...]
The error corresponds to this line:
inline ImVec2_Simple ImVec2ToSimple(ImVec2 vec)