i wrote program that uses gtk and gstreamer
when i try to compile it and it has header iostream i see this error:
/tmp/ccWyxYzY.o: In function `__static_initialization_and_destruction_0(int, int)':
test.cpp:(.text+0x8ec): undefined reference to `std::ios_base::Init::Init()'
test.cpp:(.text+0x8f1): undefined reference to `std::ios_base::Init::~Init()'
collect2: ld returned 1 exit status
when i remove iostream its ok.
whats my problem?
my command to compile it is:
gcc test.cpp -o program `pkg-config --cflags --libs gstreamer-interfaces-0.10 gtk+-3.0 gstreamer-0.10` -fpermissive
