Hi Sven,

> > Have you checked to which directory "make install" copies the files?
> 
> It copies the files to the /usr/bin and /usr/lib like all packages.

That should be ok.

> The compiler gives no error, it's only the linker, which does.
> I tested your tutorials:
> 
> cd '/home/sv/WX/wxPDF/Tut1' && make -k -j1 
> g++ -g -c `wx-config --cxxflags` -o tutorial1.o tutorial1.cpp
> g++ -Wall -DS4UNIX -g -o tutorial1 tutorial1.o -lhy `wx-config --libs`

Well, where is "-lwxpdfdoc"? You have to add this option explicitly since 
wx-config does not include the wxpdfdoc library.

> tutorial1.o: In function `tutorial1()':
> /home/sv/WX/wxPDF/Tut1/tutorial1.cpp:62: undefined reference to
> `wxPdfDocument::wxPdfDocument(int, wxString const&, wxPaperSize)'
> [...]
> /home/sv/WX/wxPDF/Tut1/tutorial1.cpp:66: undefined reference to
> `wxPdfDocument::~wxPdfDocument()'
> collect2: ld returned 1 exit status
> make: *** [tutorial1] Error 1
> make: Target `all' not remade because of errors.
> *** Beendet mit Status: 2 ***

Regards,

Ulrich

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to