@stooray1 are you building using the Visual Studio Command Prompt? this command prompt sets up your environment(include paths, library path's, etc) and provides the headers you need. (you can find it in the start menu)
Thank you very much. I originally used boostpro to get the libraries and was not able to link them. I followed your tutorial here to build them myself (very easy and clear, by the way) and everything worked fine.
great vid helped me out big time. I tried using their auto-installer and couldn't figure out what was wrong... but once i built it myself worked with no problems
@danmalikin make sure you add cvaux210d.lib to your configuration! (so propterties>linker>dependencies) and the cvaux210d.DLL needs to be in the same directory as your application or in your PATH variable
Hi, @step 4: I installed "qt-vs-addin-1.1.7.exe". I don't know this is similar to "QT visual studio plugin 1.1.7" or not. And after that I don't understand other steps. like how can I configure visual studio 2010 to use the default qt version? Would you kindly help me please.
@chotansign that's the right plugin. to set the default qt version, open the visual control solution, select the Qt menu, select options, set the field "Default Qt/Win version:" to the Qt version you want to use, you probably only have one, I have "4.7.1". Press OK, and you are done.
What do you mean by "other steps". Were you able to build Qt?
@chotansign you can download it here: code.google.com/p/visual-control/downloads/list, select the source package. You can also download it with subversion from Google Code.
@chotansign The same library and include paths that are shown in the video tutorials for OpenCV, Tbb, and Boost! Step trough the last parts of the tutorial for an explanation of how to configure your Visual Studio projects. (Do the same steps as I do in the solutions in the tutorials.)
@danmalikin See the detailed description, you can find a link for the source code there. I do not have anything on Qt right now. I wouldn't wait for it as I do not have time creating it. look at the code.google.com/p/visual-control/wiki/Compiling at point 4 for info on Qt
@toefel18 please can you explain to be further about stage 6,7 and 8 as i tried to open the visual-control.sln to build i keep on getting this is error the solution is not a valid solution file.
@danmalikin maybe the property pages of QT are missing.. I shall add them to the repository within 8 hours (I am currently at work). The solution file is for visual studio 2010 though, It will not work with earlier versions.
@toefel18 i dnt no if im doing something wrong but this how i try to compile it, i downloaded all the files in the trunk into the folder visual and save the visual control files and create another folder inside and save the cognition file inside the visual and then create another folder inside the cognition and save the gui and the try to open visual-control.sln file so that i can build the project, but i keep on getting the this the solution is not a valid solution file, and im using vs2010
@danmalikin I just added a downloadable source package with a solution that works on my system, try that package and see if it works(you will need to modify the paths to the libraries though!): code.google.com/p/visual-control/downloads/list
@toefel18 i try to build the solution but i keep on getting this error i dnt know if it has to do with library path,
c:\users\nmdanmaliki\documents\library\visual-control\visual-control\cognition\detector\../detector.h(6): fatal error C1083: Cannot open include file: 'cv.h': No such file or directory
@toefel18 i set the include directory to the following OpenCV-2.1.0\build\bin\Debug and the library directory to the following tbb30_20101215oss\lib\ia32 but i still got the error,i really appreciate all the help u are giving me me tnx
@toefel18 i set the include directory to the following OpenCV-2.1.0\build\bin\Debug and the library directory to the following tbb30_20101215oss\lib\ia32 but i still got the error,is their anything im i doing wrong.
INCLUDE PATH to OpenCV-2.1.0\include\opencv tbb30_20101215oss\include
LIBRARY PATHS to: OpenCV-2.1.0\build\bin\Debug tbb30_20101215oss\lib\ia32\vc10
If it compiles and you have an executable, it still needs DLL's, so After everthing builds you need to copy the DLL's from tbb30_20101215oss\bin\ia32\vc10 AND OpenCV-2.1.0\build\bin\Debug
in the same directory as the executable. It should work then.
c:\users\nmdanmaliki\documents\library\visual-control\visual-control\cognition\detector\../detector.h(9): fatal error C1083: Cannot open include file: 'boost/thread/mutex.hpp': No such file or directory.
@danmalikin Okay, almost there then. You should follow the boost tutorial to build boost correctly! the project uses boost for concurrency. if you have done that. add this to your
@danmalikin libgles has to do with OpenGL ES. I do not know why it asks you for that. Check the Qt project options if OpenGL is enables for this project, if so, disable and try again.
@toefel18 this is what i did i went ti to the QT project settings Qt modules and disabled the opengl option but i still got the error, but i saw something about this, u might check this and see if its related the qt center
@danmalikin i solve the libgles problem by going to the project properties and removing the the libgles from add dependencies bt im having this error now fatal error LNK1104: cannot open file 'cxcore210d.lib, despite adding this directories to the openCV property sheet directory \OpenCV-2.1.0\build\lib and \OpenCV-2.1.0\include\opencv for the library is their something that im doing wrong ?
Thank you, great video! What about compiling Boost for 64 bit? I'm very new and unclear how to do this.
datanewb 2 days ago
@datanewb The same process
NaturalisPhaenomena 30 minutes ago
This guy's a stud. Thanks Man.
fiftyseventheory 3 weeks ago
THANK U
FW7737 1 month ago
thanks, worked :)
Mechainy 1 month ago
I got like roughly 10 long errors when typing the bjam command. Also, bootstrap mentions something about Boost.Build, not Boost.Jam for me. :S
dooooman122 3 months ago
I am getting the following error while building boost:
execnt.c(29) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
stooray1 3 months ago
@stooray1 are you building using the Visual Studio Command Prompt? this command prompt sets up your environment(include paths, library path's, etc) and provides the headers you need. (you can find it in the start menu)
toefel18 3 months ago
Do you need to do all of this every time you create a new program using Boost?
xDAZZE 5 months ago
@xDAZZE no, just once and you're set for every program that uses boost
toefel18 5 months ago
@toefel18 Thanks
xDAZZE 5 months ago
Thank you very much. I originally used boostpro to get the libraries and was not able to link them. I followed your tutorial here to build them myself (very easy and clear, by the way) and everything worked fine.
Muftobration 6 months ago
worked great, thanks.
zephedzephed 6 months ago
Thank me? No thank you!
FragZz 7 months ago
Much easier just to use the installers provided at boostpro.com
armpitpuncher 9 months ago
great vid helped me out big time. I tried using their auto-installer and couldn't figure out what was wrong... but once i built it myself worked with no problems
AstralAbraxas 9 months ago
thanx i have found the tbb dll everything works just fine, tnx for all the help really appreciate it
danmalikin 11 months ago
build is a success, however did not find the following dll in the bin tbb_debug.dll
danmalikin 11 months ago
I have solve the previous problem but im having this error now if you can help me please
>eigenfacerecognizer.obj : error LNK2019: unresolved external symbol _cvEigenDecomposite referenced in function "public: virtual bool __thiscall cognition::EigenfaceRecognizer::train(void)" (?train@EigenfaceRecognizer@cognition@@UAE_NXZ)
danmalikin 11 months ago
@danmalikin make sure you add cvaux210d.lib to your configuration! (so propterties>linker>dependencies) and the cvaux210d.DLL needs to be in the same directory as your application or in your PATH variable
toefel18 11 months ago
i'm not getting the libgles error but im getting this error now, what shoud i do
LINK : fatal error LNK1104: cannot open file 'cv210d.lib'
danmalikin 1 year ago
any suggestion for what i should do next
danmalikin 1 year ago
@danmalikin I have no Idea, sorry.
toefel18 1 year ago
@toefel18 Alright, tnx, i will let u know if i solve it
danmalikin 1 year ago
Hi, @step 4: I installed "qt-vs-addin-1.1.7.exe". I don't know this is similar to "QT visual studio plugin 1.1.7" or not. And after that I don't understand other steps. like how can I configure visual studio 2010 to use the default qt version? Would you kindly help me please.
chotansign 1 year ago
@chotansign that's the right plugin. to set the default qt version, open the visual control solution, select the Qt menu, select options, set the field "Default Qt/Win version:" to the Qt version you want to use, you probably only have one, I have "4.7.1". Press OK, and you are done.
What do you mean by "other steps". Were you able to build Qt?
toefel18 1 year ago
@toefel18, from where I can get "visual control solution"? My final execution was run the nmake.
chotansign 1 year ago
@chotansign you can download it here: code.google.com/p/visual-control/downloads/list, select the source package. You can also download it with subversion from Google Code.
toefel18 1 year ago
@toefel18 from this page (code.google.com/p/visual-control/wiki/Compiling) step no. 6, 7, 8 and 9 which include and library paths I have to show.
chotansign 1 year ago
@chotansign The same library and include paths that are shown in the video tutorials for OpenCV, Tbb, and Boost! Step trough the last parts of the tutorial for an explanation of how to configure your Visual Studio projects. (Do the same steps as I do in the solutions in the tutorials.)
toefel18 1 year ago
thank you for this, is there any video on how to compile QT, i really love this project please can i get the source code. thanx once again
danmalikin 1 year ago
@danmalikin See the detailed description, you can find a link for the source code there. I do not have anything on Qt right now. I wouldn't wait for it as I do not have time creating it. look at the code.google.com/p/visual-control/wiki/Compiling at point 4 for info on Qt
toefel18 1 year ago
@toefel18 how do i configure visual studio with Qt
danmalikin 1 year ago
@toefel18 please can you explain to be further about stage 6,7 and 8 as i tried to open the visual-control.sln to build i keep on getting this is error the solution is not a valid solution file.
danmalikin 1 year ago
@danmalikin maybe the property pages of QT are missing.. I shall add them to the repository within 8 hours (I am currently at work). The solution file is for visual studio 2010 though, It will not work with earlier versions.
toefel18 1 year ago
@toefel18 im using visual studio 2010
danmalikin 1 year ago
@toefel18 Please have uploaded the qt property pages. tnx
danmalikin 1 year ago
@toefel18please have u uploaded the Qt property pages, tnx
danmalikin 1 year ago
@danmalikin yes, they are in the repository see: code.google.com/p/visual-control/source/browse/#svn%2Ftrunk%2Fvisual-control%2Fvisual-control
toefel18 1 year ago
@toefel18 i dnt no if im doing something wrong but this how i try to compile it, i downloaded all the files in the trunk into the folder visual and save the visual control files and create another folder inside and save the cognition file inside the visual and then create another folder inside the cognition and save the gui and the try to open visual-control.sln file so that i can build the project, but i keep on getting the this the solution is not a valid solution file, and im using vs2010
danmalikin 1 year ago
@danmalikin I just added a downloadable source package with a solution that works on my system, try that package and see if it works(you will need to modify the paths to the libraries though!): code.google.com/p/visual-control/downloads/list
toefel18 1 year ago
@toefel18 to which file i'm i going to direct the library path to. tnx for all the assistance i really appreciate it
danmalikin 1 year ago
@toefel18 to which file i'm i going to direct the library path to, is it the qt library ?. tnx for all the assistance i really appreciate it
danmalikin 1 year ago
@toefel18 i know u are really busy but i really need u to tell which path im goice againng to direct the library to. tnx on
danmalikin 1 year ago
@toefel18 i try to build the solution but i keep on getting this error i dnt know if it has to do with library path,
c:\users\nmdanmaliki\documents\library\visual-control\visual-control\cognition\detector\../detector.h(6): fatal error C1083: Cannot open include file: 'cv.h': No such file or directory
danmalikin 1 year ago
@danmalikin that means you did not set up your include paths correctly, folow the opencv tutorial to set this up correctly
toefel18 1 year ago
@toefel18 i set the include directory to the following OpenCV-2.1.0\build\bin\Debug and the library directory to the following tbb30_20101215oss\lib\ia32 but i still got the error,i really appreciate all the help u are giving me me tnx
danmalikin 1 year ago
@toefel18 i set the include directory to the following OpenCV-2.1.0\build\bin\Debug and the library directory to the following tbb30_20101215oss\lib\ia32 but i still got the error,is their anything im i doing wrong.
danmalikin 1 year ago
@danmalikin set the
INCLUDE PATH to OpenCV-2.1.0\include\opencv tbb30_20101215oss\include
LIBRARY PATHS to: OpenCV-2.1.0\build\bin\Debug tbb30_20101215oss\lib\ia32\vc10
If it compiles and you have an executable, it still needs DLL's, so After everthing builds you need to copy the DLL's from tbb30_20101215oss\bin\ia32\vc10 AND OpenCV-2.1.0\build\bin\Debug
in the same directory as the executable. It should work then.
toefel18 1 year ago
@toefel18 this is the error im getting now
c:\users\nmdanmaliki\documents\library\visual-control\visual-control\cognition\detector\../detector.h(9): fatal error C1083: Cannot open include file: 'boost/thread/mutex.hpp': No such file or directory.
danmalikin 1 year ago
@danmalikin Okay, almost there then. You should follow the boost tutorial to build boost correctly! the project uses boost for concurrency. if you have done that. add this to your
INCLUDE PATH boost_1_45_0\
LIBRARY PATH boost_1_45_0\stage\lib
Success!
toefel18 1 year ago
@toefel18 this is the error im getting now,
LINK : fatal error LNK1104: cannot open file 'libgles_cm.lib
i have already configure and compile the boost
danmalikin 1 year ago
@danmalikin libgles has to do with OpenGL ES. I do not know why it asks you for that. Check the Qt project options if OpenGL is enables for this project, if so, disable and try again.
toefel18 1 year ago
@toefel18 this is what i did i went ti to the QT project settings Qt modules and disabled the opengl option but i still got the error, but i saw something about this, u might check this and see if its related the qt center
danmalikin 1 year ago
@toefel18 this is the link qtcentre.org/threads/36056-Qt-4.7.1-libgles_cm.lib-for-OpenGL-ES-can-t-be-opened
danmalikin 1 year ago
@danmalikin i solve the libgles problem by going to the project properties and removing the the libgles from add dependencies bt im having this error now fatal error LNK1104: cannot open file 'cxcore210d.lib, despite adding this directories to the openCV property sheet directory \OpenCV-2.1.0\build\lib and \OpenCV-2.1.0\include\opencv for the library is their something that im doing wrong ?
danmalikin 1 year ago
thanks
ussyless 1 year ago
Hey thanks, I do not have any tutorials on Blitz++, sorry
toefel18 1 year ago
Do you have any tutorial for Blitz++ library ?
chockumail 1 year ago
Thanks for posting . clean tutorial to build Boost C++ in visual studio
chockumail 1 year ago
Great guide really usefull:)
1987Sphere 1 year ago