Author

Topic: Window Compile Error Need Help 0.05 BTC (Read 781 times)

hero member
Activity: 714
Merit: 500
NEED CRYPTO CODER? COIN DEVELOPER? PM US FOR HELP!
March 24, 2014, 05:03:55 PM
#3
If the above solves your problem then great else pm me i will definitely get it going as far as you are paying for troubleshooting  Wink Smiley
sbn
member
Activity: 70
Merit: 10
March 24, 2014, 02:34:08 PM
#2
Just include the following lines before you include the header file:

#ifndef BOOST_SYSTEM_NO_DEPRECATED
#define BOOST_SYSTEM_NO_DEPRECATED 1
#endif



Source: http://stackoverflow.com/questions/1814548/boostsystem-category-defined-but-not-used

1PSSmJ6gdBdAAqJnKZfb6kNce1bpDYaufZ
newbie
Activity: 17
Merit: 0
March 24, 2014, 01:40:02 PM
#1
Window Compile Error Need Help 0.05 BTC

Will pay if you can solve my this issue

Code:
In file included from ..\..\boost_1_55_0/boost/thread/shared_mutex.hpp:18:0,
                 from ..\..\boost_1_55_0/boost/thread/detail/thread_group.hpp:9

                 from ..\..\boost_1_55_0/boost/thread/thread.hpp:13,
                 from ..\..\boost_1_55_0/boost/thread.hpp:13,
                 from src\util.h:26,
                 from src\addrman.h:9,
                 from src\net.h:21,
                 from src\rpcnet.cpp:6:
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp: In instantiation of 'T
oost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sha
ed_mutex::state_data]':
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:124:103:   required from
here
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere
cing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                                                               *reinterpret_cas
(&comparand));

                   ^
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefere
cing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere
cing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
             return *reinterpret_cast(&res);
                                                    ^
..\..\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefere
cing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from src\cryptopp/simple.h:10:0,
                 from src\cryptopp/filters.h:6,
                 from src\cryptopp/randpool.h:5,
                 from src\cryptopp/osrng.h:10,
                 from src\schnorr.h:11,
                 from src\hash.h:17,
                 from src\net.h:22,
                 from src\rpcnet.cpp:6:
src\cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter
:ConstByteArrayParameter(const T&, bool) [with T = std::basic_string]':
src\cryptopp/filters.h:793:132:   required from here
src\cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wun
sed-variable]
 #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAs
ert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)

                                      ^
src\cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOI
'
 #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
                                       ^
src\cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN'
 #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAs
ert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)

                 ^
src\cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT
INSTANCE'
 #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(as
ertion, __LINE__)
                                            ^
src\cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASS
RT'
         CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
         ^
In file included from src\cryptopp/filters.h:11:0,
                 from src\cryptopp/randpool.h:5,
                 from src\cryptopp/osrng.h:10,
                 from src\schnorr.h:11,
                 from src\hash.h:17,
                 from src\net.h:22,
                 from src\rpcnet.cpp:6:
src\cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParameter
Template::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]'

src\rpcnet.cpp:246:1:   required from here
src\cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable

   AlgorithmParametersTemplate* p = new(buffer) AlgorithmParametersTemplate<
>(*this);
                                   ^
In file included from src\cryptopp/simple.h:10:0,
                 from src\cryptopp/filters.h:6,
                 from src\cryptopp/randpool.h:5,
                 from src\cryptopp/osrng.h:10,
                 from src\schnorr.h:11,
                 from src\hash.h:17,
                 from src\net.h:22,
                 from src\rpcnet.cpp:6:
src\cryptopp/misc.h: At global scope:
src\cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const
char_t*, bool)' defined but not used [-Wunused-function]
 static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
                    ^
In file included from ..\..\boost_1_55_0/boost/system/system_error.hpp:14:0,
                 from ..\..\boost_1_55_0/boost/thread/exceptions.hpp:22,
                 from ..\..\boost_1_55_0/boost/thread/win32/thread_primitives.h
p:16,
                 from ..\..\boost_1_55_0/boost/thread/win32/basic_timed_mutex.h
p:14,
                 from ..\..\boost_1_55_0/boost/thread/win32/mutex.hpp:9,
                 from ..\..\boost_1_55_0/boost/thread/mutex.hpp:14,
                 from src\allocators.h:10,
                 from src\serialize.h:22,
                 from src\netbase.h:10,
                 from src\net.h:19,
                 from src\rpcnet.cpp:6:
..\..\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system:
posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
..\..\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system:
errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
..\..\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system:
native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
Makefile.Release:3235: recipe for target 'build/rpcnet.o' failed
mingw32-make: *** [build/rpcnet.o] Error 1


Trying compile my window wallet and got Error 1, and terminated. Will pay 0.005 BTC for anyone that can help.
Jump to: