I'm using CMake to build a library (as a .a file) and a demo program
for that library.
My problem is that when I go to link that demo program, I get a linker
error that says one file function in the .a file can't find another
function in the .a file. Here's what the linker command line and
erro
On 27 Feb 2007 21:11:26 -0800, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
"Christian Convey" <[EMAIL PROTECTED]> writes:
> ImageReader.cpp:(.text+0x90): undefined reference to
> `uriVideoSources::ImageReader_gen::getFrame_(bool,
> uriBase::RasterImage*)'
>
On 2/28/07, Nick Clifton <[EMAIL PROTECTED]> wrote:
Hi Christian,
> /usr/bin/c++ -fPIC "CMakeFiles/simpleIO.dir/main_IO.o" -o
> simpleIO -rdynamic
> -L/home/cjc/csc583-svn/uriVisionLib/trunk/Development/Source/C++ -lGL
> -lglut -Wl,-Bstatic -luriVision -luriVision -Wl,-Bdynamic
> -Wl,-rpath,/hom
I stand corrected on so many points here that I think I'll have
bruises when I wake up tomorrow :) Thanks for all the help.
To put a happy (though embarrassing) end to the story: I was missing a
few .cpp files when constructing the library. Not a problem at
compile-time, because the headers wer