libigl
libigl copied to clipboard
Link error on Visual Studio 2022: can't open ilg::opengl_glfw_imgui.obj
Describe your issue
I'm using MSVC on Visual Studio 2022 to compile a libigl program that uses the imgui plugin. I'm geting LINK : fatal error LNK1104: can't oper file 'igl::opengl_glfw_imgui.obj'
.
I already set igl::opengl_glfw_imgui
among the additional dependencies of the linker. I also set LIBIGL_WITH_OPENGL_GLFW_IMGUI
among the preprocessor flags. I'm using VS only to compile: CMake is not involved.
Checklist
- [x] I have read the bug report page
- [ ] CMake issue: I have tried with a fresh clone/empty build directory
Platform
- [x] Windows
- [ ] macOS Intel
- [ ] macOS Arm (e.g., M1, M2)
- [ ] Linux