Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2) unzip vxl-1.11.0.zip to e.g. /home/ashwinkumar/tmp
3) mkdir /home/ashwinkumar/tmp/build-vxl
***( Some ( most ? ) applications to be build with 'cmake'
***needs a build directory outside "application/" )
4) cd /home/ashwinkumar/tmp/build-vxl
5) cmake ../vxl-1.11.0/
6) make (.. runs for an hour or so )
7) ctest ( if you wish )
8) sudo make install
will install it all to /usr/local/
thanks for the reply.... it solved most of my probs... but i still had some errors
In file included from /home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/algo/vtol_extract_topology.cxx:2:
/home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/algo/vtol_extract_topology.h: In member function ‘vtol_intensity_face_sptr vtol_extract_topology<LABEL_TYPE>::chain_tree_node::make_face(vil_region_finder<LABEL_TYPE, std::equal_to<pix_type> >*, const vtol_extract_topology_data_image_type*) const’:
/home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/algo/vtol_extract_topology.h:291: error: invalid use of incomplete type ‘struct vtol_intensity_face’
/home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/vtol_intensity_face_sptr.h:9: error: forward declaration of ‘struct vtol_intensity_face’
/home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/algo/vtol_extract_topology.h:295: error: invalid use of incomplete type ‘struct vtol_intensity_face’
/home/ash/Desktop/newproject/vxl-1.8.0/contrib/gel/vtol/vtol_intensity_face_sptr.h:9: error: forward declaration of ‘struct vtol_intensity_face’
make[2]: *** [contrib/gel/vtol/algo/CMakeFiles/vtol_algo.dir/vtol_extract_topology.o] Error 1
make[1]: *** [contrib/gel/vtol/algo/CMakeFiles/vtol_algo.dir/all] Error 2
make: *** [all] Error 2
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Ubuntu 8.04, may be missing 'libexpat1-dev' ?
'g++' upgrade to 'g++-4.2.4' ? Not much difference
from version 4.2.3, but who knows ?
( Run cmake again for libexpat, if it was missing.)
....
Please run the command 'g++ --version'
....
How many % did build before errors ? 20% ? 90% ?
....
Please show from 10 to 15 lines above where the
error appears. ( If compiling is still failing.)
....
i have the g++-4.2.4 and i also hav the libexpat1-dev library!!
am having a new problem!! could u tell where can i get the development library for mpeg2??
am gettin an error in cmake now saying
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
-- Looking for C++ include inttypes.h
-- Looking for C++ include inttypes.h - found
-- Looking for memalign
-- Looking for memalign - not found.
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
-- Found EXPAT: /usr/lib/libexpat.so
-- Performing Test DIRECTSHOW_SOURCE_COMPILES
-- Performing Test DIRECTSHOW_SOURCE_COMPILES - Failed
-- Could NOT find DIRECTSHOW (missing: DIRECTX_INCLUDE_DIR DIRECTSHOW_INCLUDE_DIR DIRECTSHOW_STRMIIDS_LIBRARY DIRECTSHOW_QUARTZ_LIBRARY DIRECTSHOW_SOURCE_COMPILES)
-- Found PythonLibs: /usr/lib/python2.5/config/libpython2.5.so
-- Could NOT find MPEG2 (missing: MPEG2_INCLUDE_DIR)
when i try to isntall the package using apt-get it shows mpeg2 already exists....but i continue to get the error if i try to cmake!!
i tried in wizard mode with cmake and it had so many library paths not found!!!
is there a simpler way to go abt it?? can i get all the dependecy library packages somewhere..pls help me!!
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
.
The package name is probably 'libmpeg2-4-dev'
( From the "universe" repository.)
....
When "configure" ( or cmake ) asks for <package>
it always means <package-dev>
....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
I wonder, which version of cmake, you are using ?
I have used ver 2.4.7 and 2.6, none behaved exactly like e.g. # 7
( cmake 2.6 has a function named "find_mpeg2", which works poorly )
Use it, as is, or edit to your requirements.
Seems to 1) find mpeg2 and 2) bypass the DIRECTSHOW / DIRECTX stuff.
....
I did not compile vxl-1.11.0 with mpeg2, if you can't either, be it
1.8 or 1.11, mpeg2 could be disabled. ( Uninstall packages ).
....
actually iam tryin to install vxl for using it with open gazer ....
open gazer needs older version of libraries.... i am trying to install them...i couldnt find the libgtkmm-2.4dev 2.8 and many other packages...in the meanwhile iam encountering problems with vxl too as i have said in the previous posts...
its really messed up...i need this working urgently....
> > should provide the most, none depends on libmpeg2-4,
may be you can remove it, to accomplish compiling of vxl. ?
Just temporarily, you can install it again, if needed for
other things.
....
Also remember, vxl should be compiled "with shared libraries" :
Quote : Important: in vxl's ccmake, set BUILD_SHARED_LIBS to ON.
( " -DBUILD_SHARED_LIBS:BOOL=ON " )
....
thanks for ur help!!
i seemed to have installed opengazer but with some warnings... am yet to test it though ...iam searching for a driver for webcam...any suggestions on how to go about it
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
May be you already observed this : Building vxl without
libmpeg2-4 support, vxl is building a libmpeg2.so !
( /usr/bin/cmake ../vxl-1.11.0 -DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF \
-DVXL_USE_LFS:BOOL=ON )
.....
About web camera, suggest : Start a new thread with the
question. Brand + type no. to be specified, please.
....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.