Re: [Vxl-users] libmpeg2.so

You can change the name of the library by changing mpeg2 twice in these
lines in v3p/mpeg2/CMakeLists.txt
ADD_LIBRARY( mpeg2 ${mpeg2_sources} )
INSTALL_TARGETS( /lib mpeg2 )
like this:
ADD_LIBRARY( vxlmpeg2 ${mpeg2_sources} )
INSTALL_TARGETS( /lib vxlmpeg2 )
However, that name change will not propagate to the libraries that
require mpeg2, and will try to link with mpeg2, configured in other
CMakeLists.txt files in other directories. You'll have to search for
those.
Note that in VXL mpeg2 is only used only by vil1 and vidl1. These are
outdated libraries, replaced by vil2 and vidl2. It may be that you are
not really using mpeg2, and you can just let VXL link to the system
mpeg2 if anything you are building needs to link to mpeg2 at all.
Fred Wheeler
________________________________
From: Qadri [mailto:Muhammad.A.Qadri@...]
Sent: Tuesday, August 25, 2009 10:09 AM
To: vxl-users@...
Subject: [Vxl-users] libmpeg2.so
Hello,
VXL uses its own libmpeg2, correct? Well, I'm trying to get it
to build libvxl_mpeg2.so instead so that it does not conflict with my
system libpmeg2.so. I've been told that the current system one and the
vxl one are quite different (correct me if I'm wrong) and so building
against the system one does not work too well. I thought it would
require a change in v3p/mpeg2/CMakeLists.txt, but that doesn't seem to
make the change and it still generates a libmpeg2.so. How could I go
about doing this?
Thanks,
MAQ

Thread view

Hello,
VXL uses its own libmpeg2, correct? Well, I'm trying to get it to build
libvxl_mpeg2.so instead so that it does not conflict with my system
libpmeg2.so. I've been told that the current system one and the vxl one are
quite different (correct me if I'm wrong) and so building against the system
one does not work too well. I thought it would require a change in
v3p/mpeg2/CMakeLists.txt, but that doesn't seem to make the change and it
still generates a libmpeg2.so. How could I go about doing this?
Thanks,
MAQ

You can change the name of the library by changing mpeg2 twice in these
lines in v3p/mpeg2/CMakeLists.txt
ADD_LIBRARY( mpeg2 ${mpeg2_sources} )
INSTALL_TARGETS( /lib mpeg2 )
like this:
ADD_LIBRARY( vxlmpeg2 ${mpeg2_sources} )
INSTALL_TARGETS( /lib vxlmpeg2 )
However, that name change will not propagate to the libraries that
require mpeg2, and will try to link with mpeg2, configured in other
CMakeLists.txt files in other directories. You'll have to search for
those.
Note that in VXL mpeg2 is only used only by vil1 and vidl1. These are
outdated libraries, replaced by vil2 and vidl2. It may be that you are
not really using mpeg2, and you can just let VXL link to the system
mpeg2 if anything you are building needs to link to mpeg2 at all.
Fred Wheeler
________________________________
From: Qadri [mailto:Muhammad.A.Qadri@...]
Sent: Tuesday, August 25, 2009 10:09 AM
To: vxl-users@...
Subject: [Vxl-users] libmpeg2.so
Hello,
VXL uses its own libmpeg2, correct? Well, I'm trying to get it
to build libvxl_mpeg2.so instead so that it does not conflict with my
system libpmeg2.so. I've been told that the current system one and the
vxl one are quite different (correct me if I'm wrong) and so building
against the system one does not work too well. I thought it would
require a change in v3p/mpeg2/CMakeLists.txt, but that doesn't seem to
make the change and it still generates a libmpeg2.so. How could I go
about doing this?
Thanks,
MAQ