spawn_async_with_pipes cross-compilation for windows
- From: "Paulo Flabiano Smorigo" <pfsmorigo gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: spawn_async_with_pipes cross-compilation for windows
- Date: Mon, 25 Aug 2008 10:36:31 -0300
Hi everybody,
I'm trying to cross-compiling my code using (mingw32) and the compiler gives me an error at the spawn_async_with_pipes line. The gcc compiles perfectly.
The line:
Glib::spawn_async_with_pipes("C:\\mplayer\\", _strPlayerArguments, Glib::SPAWN_SEARCH_PATH, sigc::slot<void>(), &m_intPlayerPID, &m_intPlayerIn, &m_intPlayerOut, &m_intPlayerError);
The message:
../release/Player.o:Player.cpp:(.text+0xb64): undefined reference to `Glib::spawn_async_with_pipes(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Glib::ArrayHandle<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Glib::Container_Helpers::TypeTraits<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, Glib::SpawnFlags, sigc::slot<void, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>
When using spawn command on Windows, he needs a diffent type of arguments?
Thanks...
P.F.Smorigo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]