-
Notifications
You must be signed in to change notification settings - Fork 3
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
builder error: 'cimgui.h' not found #2
Comments
Hi; are you using Linux ? Windows ? |
I am using Manjaro Linux. |
First of all, sorry for the delay. |
In the meantime I figured out that the same mainig example seems to build and run fine, when used within my other sdl test repo (vig is a submodule there) Could you please try the following ? If that works for you too, then that may indicate that the local build failure within vig has been overlooked because I mostly developed vig as a submodule |
Thanks for reply. When I am running the command make mrproper all then I am getting following error: cc -std=gnu99 -w -I ./thirdparty/stdatomic/nix -o v1.exe ./vc/v.c -lm -lpthread |
Now that is strange. It means that you don't manage to build the same (recent'ish) V version as me.. |
Yes I am able to install v properly. Even when I am running command v install nsauzede.vsdl2 as per instruction given on the page then it is also installing properly and I am able to run the example with command v run ~/.vmodules/nsauzede/vsdl2/examples/tvintris/tvintris.v. Similarly when I executed the command v install nsauzede.vig then it also worked. However when I am trying to run the command v run ~/.vmodules/nsauzede/vig/examples/mainig/mainig.v then I am getting following error message: builder error: 'cimgui.h' not found I think something is wrong with cimgui installation. Can you please give me a hint? |
I think I now understand what happens : you seem to have cloned
=> This is to ensure that my current Then, I could try and figure out what's wrong with other use cases of Thanks. |
Thanks. Now it is working. I am able to run and view the output of the program mainig_v.exe. Thanks a lot. |
Great. |
I have been able to get closer, but it appears that the V compiler has indeed changed and will not compile vig.v. See my issue on V's GitHub. I changed the header paths to the full path. I also switched |
I should note that I am also on Manjaro Linux too because it's the best ; ). |
Hello all. I pushed some commit to try and fix the issue Please test & report |
Forgot to mention that you should git clone vig and try as below:
Note that separate |
Sorry to burst your bubble, but I am still having issues. When running the last command you gave, I get the following:
|
Wow, that did not format correctly 😂, sorry! |
@Jah-On can you please perform the following and put back the result ?
Just to see where you run your command from and whether you have obtained the proper files.. |
@nsauzede ls -l: -rw-r--r-- 1 jah-on jah-on 1691 Nov 13 23:59 Makefile -rw-r--r-- 1 jah-on jah-on 820 Nov 13 23:59 README.md drwxr-xr-x 1 jah-on jah-on 280 Nov 13 23:59 cimgui -rw-r--r-- 1 jah-on jah-on 169990 Nov 13 23:59 cimgui.h -rwxr-xr-x 1 jah-on jah-on 1660576 Nov 13 23:59 cimgui.so drwxr-xr-x 1 jah-on jah-on 12 Nov 13 23:59 examples -rw-r--r-- 1 jah-on jah-on 3443 Nov 13 23:59 imgui_impl_opengl3.h -rw-r--r-- 1 jah-on jah-on 30736 Nov 13 23:59 imgui_impl_opengl3.o -rw-r--r-- 1 jah-on jah-on 1677 Nov 13 23:59 imgui_impl_sdl.h -rw-r--r-- 1 jah-on jah-on 15456 Nov 13 23:59 imgui_impl_sdl.o -rw-r--r-- 1 jah-on jah-on 563286 Nov 13 23:59 libcimgui.a -rw-r--r-- 1 jah-on jah-on 58 Nov 13 23:59 v.mod -rw-r--r-- 1 jah-on jah-on 4909 Nov 13 23:59 vig.v` |
hmm |
I have an issue on the V repository for cimgui. You should post your findings there and maybe they can tweak the compiler. |
I am getting a similar error trying to make on msys2 Windows 10
|
Solved my issue |
When I am trying to run the program vig/examples/mainig/mainig.v then I am getting the error message "builder error: 'cimgui.h' not found" although I have installed imgui as well as cimgui. The file cimgui.h is in the same folder in which mainig.v is saved. So what could be error? How to specify the path of the header file cimgui.h while running program of https://github.com/nsauzede/vig? Please help me so that I can start using this package.
The text was updated successfully, but these errors were encountered: