-
Notifications
You must be signed in to change notification settings - Fork 23
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
Does anyone success run this codes on Visual Studio in Windows7, I meet some problems #2
Comments
Hi, sorry for the trouble you are having. C++ -- CMakeLists.txt and everything CMake generates should be in the build directory. I suspect you set the CMake build directory to the C++ folder. |
Hi Kmyid,
TILDE-1.0.3 Where is the source code: C:/Users/n9544453/Documents/TILDE-1.0.3/c++ TILDE_LIBRARY_PROJECT TILDE Now I click Configure, CMake-gui.exe says OPENMP FOUND OPENMP FOUND I searched on Internet to solve this problem and followed this solution http://stackoverflow.com/questions/14990343/cmake-error-targets-given-no-library-destination-for-shared-library-target Then I added ARCHIVE DESTINATION ${PROJECT_SOURCE_DIR} in C:\Users\n9544453\Documents\TILDE-1.0.3\c++\Lib\CMakeLists.txt – line 56. Repeat step 4, I get OPENMP FOUND OPENMP FOUND I open ‘Lib and Demo.sln’ in ‘C:\Users\n9544453\Documents\TILDE-1.0.3\c++\build’ and click Build ALL_BUILD At last, It shows Code || Description || Project || File || Line For the first problem, I deleted TILDE-1.0.3 in my directory and use ‘C:\Users\n9544453\Documents\c++ as my new directory. It fixed. For the second problem C2131, I modified libTILDE.cpp. and added delete [] pixelin1; delete [] pixelin2; in Line 295. At last C2131 fixed For the third problem, I rebuild TILDE and TILDE_static and get success. But for demo and ALL_BUILD, the problem remains in project. |
Hi Again, Sorry that you had to go through all this hassle. I will update you through this issue once I have it solved. Thanks, |
Hi, Maybe it's a bit too late, but I recently had to compile this library in windows and it worked without much trouble. I however did not use visual studio. Instead i used mingw and CMake. I also used Qt Creator as the IDE. Cheers, |
Hi, Thanks a lot for your efforts. I'll try compile them by mingw and Cmake ^_^ Cheers, |
Also,Ithink you can safely delete eigen from dependencies in cmakelists. I'll push an update Today |
First, I download the codes and unzip them to my C Drive. After that, I use CMake, VS2012, openCV 3.0 to generate the project. CMake Shows
OPENMP FOUND
OPENMP FOUND
Configuring done
Generating done
Then I build ALL_BUILD, the project says "LNK1104 cannot open file '..\Lib\Debug\TILDE.lib'" and a lot of grammar errors due to my complier isn't compatible to C++11.
Then I immediately download VS2015 from Microsoft. and try to generate above project again by using above method again. VS only report "LNK1104 cannot open file '..\Lib\Debug\TILDE.lib'" and a lot of warnings.
I think the openCV in my desktop may be problematic. So I download openCV 2.4.11 from opencv.org and try use CMAKE to generate opencv Project. Jesus, I failed. I note that my graphic card is AMD, rather than NVIDIA. I cannot use CUDA. Then I generate the openCV project without CUDA. I succussed to build the Debug, win 32. In the following step, The TILDE project is generated by CMAKE, openCV 2.4.11, VS2015. But at last, I still get "LNK1104 cannot open file '..\Lib\Debug\TILDE.lib'".
I don't know which step of my above method is wrong?
Could anyone tell me how to run this example correctly. I am a beginner in openCV, Visual Studio and C++. All my previous work is done in matlab. It really make me crazy.
Thank you for reading. Please help me.
The text was updated successfully, but these errors were encountered: