boost i code::block
Ostatnio zmodyfikowano 2014-09-09 15:15
JarekKatowice Temat założony przez niniejszego użytkownika |
» 2014-09-09 00:48:17 Znalazlem w necie jak skompilowac boost. Cos podobnie jak piszesz Monika90 tylko ze kompilowalem mingw32. (jak tu: https://www.youtube.com/watch?v=qDVRrSzsqco)
NAstepnie w Code::block skonfigurowalem identycznie jak na tym filmiku z przykladem uzycia:
https://www.youtube.com/watch?v=49d0Abl2t0E
i ten sam kod wkleilem. Niestety nie dziala pokazalo 50 bledow kompilacji i w cholere ostrzeżen o podobnym brzmieniu np.
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\system\error_code.hpp|239| required by substitution of 'template<class ErrorConditionEnum> boost::system::error_condition::error_condition(ErrorConditionEnum, typename boost::enable_if<boost::system::is_error_condition_enum<ErrorConditionEnum> >::type*) [with ErrorConditionEnum = boost::system::error_condition]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\system\error_code.hpp|239| required by substitution of 'template<class ErrorConditionEnum> boost::system::error_condition::error_condition(ErrorConditionEnum, typename boost::enable_if<boost::system::is_error_condition_enum<ErrorConditionEnum> >::type*) [with ErrorConditionEnum = int]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\filesystem\path.hpp|300| required by substitution of 'template<class Source> typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type>, boost::filesystem::path&>::type boost::filesystem::path::operator/=(const Source&) [with Source = const wchar_t*]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\filesystem\path.hpp|135| required by substitution of 'template<class Source> boost::filesystem::path::path(const Source&, typename boost::enable_if<boost::filesystem::path_traits::is_pathable<typename boost::decay<Source>::type> >::type*) [with Source = const wchar_t*]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\utility\declval.hpp|40| required by substitution of 'template<class T> typename boost::add_rvalue_reference::type boost::declval() [with T = boost::bidirectional_traversal_tag]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\type_traits\is_convertible.hpp|86| required by substitution of 'template<class From1, class To1> static decltype ((test_aux<To1>(declval<From1>()), boost::detail::is_convertible_basic_impl<From, To, false>::one())) boost::detail::is_convertible_basic_impl<From, To, false>::test(int) [with From1 = From1; To1 = To1; From = boost::bidirectional_traversal_tag; To = std::input_iterator_tag] [with From1 = boost::bidirectional_traversal_tag; To1 = std::input_iterator_tag]'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\mpl\eval_if.hpp|38| recursively required from 'struct boost::mpl::eval_if<boost::is_convertible<boost::bidirectional_traversal_tag, boost::random_access_traversal_tag>, boost::mpl::identity<std::random_access_iterator_tag>, boost::mpl::if_<boost::is_convertible<boost::bidirectional_traversal_tag, boost::bidirectional_traversal_tag>, std::bidirectional_iterator_tag, std::forward_iterator_tag> >'|
..\..\..\Desktop\Biblioteki_Moduły\c++\boost_1_56_0\boost\utility\declval.hpp|40| required by substitution of 'template<class T> typename boost::add_rvalue_reference::type boost::declval() [with T = std::bidirectional_iterator_tag]'|
....
i na koncu ||More errors follow but not being shown.| ||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 2194 warning(s) (4 minute(s), 46 second(s)) ===|
sam nie wiem co teraz.... |
|
Monika90 |
» 2014-09-09 15:15:00 Komunikaty które wkleiłeś są raczej bezużyteczne. Sprawdź czy da się skompilować taki kod: #include <boost/filesystem.hpp> #include <iostream>
int main() { std::cout << boost::filesystem::exists( "C:/" ) << std::endl; }
|
|
1 « 2 » |