-
Notifications
You must be signed in to change notification settings - Fork 662
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
Can't generate with CMake on VS2010 even with libQGLviewer compiled #64
Comments
Looks like it can't find the compiled library (DLL) of QGLViewer. Did you recompile it successfully as described in the README? |
According to your first screenshot QGLViewer is still ending up in the |
I tried copying all of the contents of |
Sorry, no idea since I don't have Windows with VS around. But you could still try the MinGW way, that creates fewer troubles in my experience. |
Okay, thanks for your help anyways. |
Hi, I had some issues too with that but I got it working in the end. The easiest way for me was to actually copy the .dll and the .lib to Windows\System32\ For some reason cmake never was happy until i did that, even though they were in the PATH in another folder. Maybe give it a try, it might save you a lot of trouble. |
I actually get the same error with the files copied to system32, and system32 is in my PATH. |
I see that you have the QGLViewerd2.dll there. I think that's the debug verison and you probably need to run the Release build and copy those DLLs. I'll double check tomorrow at my office PC if my files have different names. Might explain everything :-) Update : I just checked at the office. My files are indeed called QGLViewer2.lib, QGLViewer2.dll. Check if you only have the debug versions in your PATH and if so replace them and you're probably good to go! |
I moved the files as you suggested, and then removed the 2 from the filenames, and then I had issues with linking (it seemed to be attempting to link against some DLLs instead of the libs). I eventually got it working on VS2010: https://gist.github.com/yunyu/8f7c4d5a685c3daaaa8b Definitely not the proper way, but hey, it works (I've gotten pointcloud conversion and the viewer working). |
Here's my QGLViewer properties (removed the prefix as the README told me to):
The DLL is generated in
octovis\src\extern\QGLViewer
. However, when attempting to generate a VS2010 project with CMake, I get:The text was updated successfully, but these errors were encountered: