-
Notifications
You must be signed in to change notification settings - Fork 22
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
set custom path of implot and cimplot as generator's argument #17
Comments
I am sorry but I dont understand the problem. Why should you want to edit cimplot_template.*? |
As for the problem mentioned in AllenDang/cimgui-go#43 (comment) I am not sure if it is a building problem.
If it is a building problem it should be handled as in https://github.com/sonoro1234/LuaJIT-ImGui/blob/docking_inter/CMakeLists.txt#L7 where the compiler included directories are seting the |
Oh, I'm sorry, it seems my report lacks some important information
yah, that part works like a charm!
I'd like to change include path here Line 7 in 31a7246
from cimgui.h to ../cimgui/cimgui.h , since it is a valid path for our repo.The problemm is, that CGO compiler keeps the folder structure, so the path there needs to point the exact location of cimgui.h |
googling: Perhaps this can help? https://stackoverflow.com/questions/38381357/how-to-point-to-c-header-files-in-go
|
yah, but the problemm is on the C side: cimplot's header cannot find cimgui.h, because it looks for When I manually edit cimplot.h, the problemm dissappears It is also possible that I missunderstand C, since I'm not an expert 😄 |
Not at all. It does not look for |
Oh ok, thx |
Looks like XY Problem. The problem here is that you didn't change CGo include paths, with them it |
Probably, you're right, there is everything OK with cimplot 😄 |
Hi there!
I'm having a problemm in AllenDang/cimgui-go#43
We'd like to use cimplot as a git submodule of cimgui-go, but we met the problemm with paths mentioned above.
In my opinion something like
would be more comfortable for people, who use this repository as a git submodule and cannot edit cimplot_template.* file
The text was updated successfully, but these errors were encountered: