-
Notifications
You must be signed in to change notification settings - Fork 161
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
(Question) Error while building the project in Ubuntu #25
Comments
that works finr for me. Which Ubuntu do you have ? What Boost packages do you have installed ? |
My ubuntu version is 12.04. Package `libboost-dev' is not installed and no info is available. But i had installed it using apt-get. Can you please tell me how to install Boost package? Thanks a lot for replying ! |
fyi i had used to do the installation for which a 188Mb downld took place but i think libboost-dev didnt get installed. |
then try again with: |
thanx for your help and time. After writing above comment i redid same command and it worked. |
It worked until i used make command. it is giving me following error - Scanning dependencies of target Project_lib |
do you have that file in the include folder ? maybe you have an old version of the code, just "git pull". |
i moved the include folder to src and rewrote the include paths. now it has given the following message Happy that its built. |
It's on the front page, at the bottom |
as mentioned in demo.cpp file Usage: PartsBasedDetector model_file image_file [depth_file], i did the same thing and it gives command not found error. (i did replace the arguments with actual file names). thanks for your help. Also, really appreciate your work. |
please copy/paste the exact output of your command and the console output. |
Linking CXX shared library libProject.so |
well, that is basic Linux stuff, you might want to brush that up first (or develop on Windows if you are more familiar with it). Find PartsBasedDetector (not sure where it is built) and run: |
accept your suggestion..i do need to learn ubuntu basics..i had to use it as my hosting is ubuntu based. |
are you using ROS and catkin or compiling it from scratch ? |
i am compiling it from scratch.
Linking CXX shared library libProject.so (As mentioned earlier i had to move the include folder and rewrite the include path to point it correctly to the header files.) Like we had discussed, I think the above should create a PartsBasedDetector file which can be used to execute the project but I am unable to locate the file. Just to let you know all the steps I have followed, i also tried cmake on the CMakeLists.txt present in the root folder (pbd) but following error occurred (while using both make and make -j8) I am not able to figure out where I am going wrong. Please correct me where I am going wrong. Thanks for your help ! |
You should probably get familiar with CMake. |
Hey all,
Can you help me out a bit. I am trying to run this project and am following the given cmake routine but i am facing following error-
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /var/www/ccpp/PartsBasedDetector-master
used as include directory in directory /var/www/ccpp/PartsBasedDetector-master/src
-- Configuring incomplete, errors occurred!
I've also reinstalled Boost library but it is still the same.
Basically I want get this project running but I am not able to do that. Can anyone help with an overview.
Any help is much appreciated.
Thanks !
The text was updated successfully, but these errors were encountered: