[Flac-dev] I can't use libFLAC++

Leonidas Andreadis redryderbb_gr at yahoo.com
Wed Apr 11 07:26:09 PDT 2007


Hi,

I've been trying to use the FLAC lib for c++. I need
to implement basic encoder function in my application,
so i tried to include encoder.h , set everything to
the default path, and included
stream_encoder.cpp,stream encoder.cpp files in the
project. Include is

#include "FLAC++/encoder.h"

i write something like this

FLAC::Encoder::File test;

i build, compile goes ok but then i get

[Linker Error] Unresolved external
'_FLAC__stream_encoder_set_ogg_serial_number'
referenced from H:\FLAC VISUAL\PIGEOS
KODIKAS\STREAM_ENCODER.OBJ
[Linker Error] Unresolved external
'_FLAC__stream_encoder_set_bits_per_sample' referenced
from H:\FLAC VISUAL\PIGEOS KODIKAS\STREAM_ENCODER.OBJ

and a lot of other similar linker errors.

Am i doing it wrong? Should i follow instructions in
Readme to build the library?

Thanks


       
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/


More information about the Flac-dev mailing list