Using Boost.Process on Windows
Hello, I'm trying to compile start_child example of Boost.Process with this configuration: Windows 64 bits MinGW g++ 4.6.2 boost_1-51 Boost.Process 0.5 And I have this error: error: no matching function for call to 'boost::system::system_error::system_error(DWORD, const boost::system::error_category& (&)(), const char [54])' note: candidates are: boost::system::system_error::system_error(int, const boost::system::error_category&, const char*) ... This difficulty was mentioned on the list "[Boost-users] [Process] Can't build example" at date 12/4/10. Am i missing something ? Thank you in advance Best regard Ronan Trépos -- Trépos Ronan INRA unité BIA, équipe MAD, Toulouse http://carlit.toulouse.inra.fr/wikiz/index.php/Ronan_TREPOS tel : 05 61 28 51 89
On Fri, 14 Sep 2012 12:47:39 +0200, Ronan Trépos
I'm trying to compile start_child example of Boost.Process with this configuration:
Windows 64 bits MinGW g++ 4.6.2 boost_1-51 Boost.Process 0.5
And I have this error:
error: no matching function for call to 'boost::system::system_error::system_error(DWORD, const boost::system::error_category& (&)(), const char [54])' note: candidates are: boost::system::system_error::system_error(int, const boost::system::error_category&, const char*) ...
This difficulty was mentioned on the list "[Boost-users] [Process] Can't build example" at date 12/4/10.
what example are you trying to build exactly? Is it a file in the libs/process/example directory of Boost.Process 0.5? I'm also a bit confused as you mention a message from 12/4/10. Even if the 12 refers to 2012, Boost.Process 0.5 exists only since 18 August? Boris
[...]
Hi Boris,
Thank you for your quick reply..
Quoting Boris Schaeling
On Fri, 14 Sep 2012 12:47:39 +0200, Ronan Trépos
wrote: Hi Ronan,
I'm trying to compile start_child example of Boost.Process with this configuration:
Windows 64 bits MinGW g++ 4.6.2 boost_1-51 Boost.Process 0.5
And I have this error:
error: no matching function for call to 'boost::system::system_error::system_error(DWORD, const boost::system::error_category& (&)(), const char [54])' note: candidates are: boost::system::system_error::system_error(int, const boost::system::error_category&, const char*) ...
This difficulty was mentioned on the list "[Boost-users] [Process] Can't build example" at date 12/4/10.
what example are you trying to build exactly? Is it a file in the libs/process/example directory of Boost.Process 0.5? I'm also a bit confused as you mention a message from 12/4/10. Even if the 12 refers to 2012, Boost.Process 0.5 exists only since 18 August?
Sorry for the confusion, the date is december the 4th in 2010. So you are right, the previous message does not refer to Boost 0.5 (I can't tell which one actually), but the error message is the exactly the same. The previous message is there (I'm not sure you have access) https://groups.google.com/forum/#!msg/boost-list/Tvccy0BY85U/GA9-oOhuvOwJ The example I tried was indeed the first provided into the Process library 0.5. libs/process/example/start_child.cpp ( I downloaded the library there : http://www.highscore.de/boost/process/index.html ) Best regards Ronan
Boris
[...]
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Sat, 15 Sep 2012 17:51:54 +0200, Ronan Trepos
[...]The example I tried was indeed the first provided into the Process library 0.5.
libs/process/example/start_child.cpp
( I downloaded the library there : http://www.highscore.de/boost/process/index.html )
Ah, that's an old version. Version 0.5 must be downloaded from http://www.highscore.de/boost/process0.5/. With version 0.5 there should be no problem with Boost.Filesystem (at least not if you use Boost 1.51.0 which I strongly recommend). Boris
participants (3)
-
Boris Schaeling
-
Ronan Trepos
-
Ronan Trépos