[openbeosmediakit] Jam/Linker error

  • From: "David McPaul" <dmcpaul@xxxxxxxxxxxxxx>
  • To: openbeosmediakit@xxxxxxxxxxxxx
  • Date: Sat, 06 Dec 2003 18:44:29 +1100 EST

Heya,

I think I am missing something in my jam file.

When trying to link I am getting this error.

Link ../../../../../tests/kits/media/avi_reader_test/avi_reader_test
../../../../../objects/x86.R1/tests/kits/media/avi_reader_test/
MediaMetaData.o:/boot/home/Programming/current/src/tests/kits/media/
avi_reader_test/../../../../../src/add-ons/media/plugins/avi_reader/
MediaMetaData.cpp:143: undefined reference to 
`_get_format_for_description(media_format *, _media_format_description 
const &)'

I presume I am missing the media library to link against.

Here is the Jam file I am using

SubDir OBOS_TOP src tests kits media avi_reader_test ;

UsePrivateHeaders media ;

SimpleTest avi_reader_test
        : main.cpp
        FileDataIO.cpp
        MediaPlugin.cpp
        ReaderPlugin.cpp
        AVIReaderPlugin.cpp
        MediaMetaData.cpp
        : media be root
;

# Tell Jam where to find these sources
SEARCH on [ FGristFiles AVIReaderPlugin.cpp MediaMetaData.cpp ]
        = [ FDirName $(OBOS_TOP) src add-ons media plugins avi_reader ] ;

SEARCH on [ FGristFiles MediaPlugin.cpp ReaderPlugin.cpp ]
        = [ FDirName $(OBOS_TOP) src kits media ] ;

Cheers
David


--
"His mind is like a steel trap -- full of mice"
                -- Foghorn Leghorn

Other related posts: