Post
Topic
Board Announcements (Altcoins)
Re: [ANN] FoxCoin - A Fully Dynamic Cyptocurrency [NOW ON 4 EXCHANGES] And Services!
by
clovers
on 09/02/2014, 12:35:22 UTC
I want to compile FoxCoin from souces on Windows, but Im having really hard time with it.

Can you tell me what versions of mingw/opnessl/berkeleydb/boost/qt are you using, and if those are not the newest versions where did you get them from? (f.e. downgrading MinGW to 4.6.2 through mingw-get, that I tried, creates issues too :/)


EDIT: This is the error I am currently getting:
Code:
In file included from bignum.h:13:0,
                 from main.h:9,
                 from checkpoints.cpp:11:
util.h:555:16: error: conflicting declaration 'typedef void* pthread_t'
 typedef HANDLE pthread_t;
                ^
In file included from c:\mingw32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits\gthr-default.h:35:0,
                 from c:\mingw32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits\gthr.h:148,
                 from c:\mingw32\i686-w64-mingw32\include\c++\ext\atomicity.h:35,
                 from c:\mingw32\i686-w64-mingw32\include\c++\bits\ios_base.h:39,
                 from c:\mingw32\i686-w64-mingw32\include\c++\ios:42,
                 from c:\mingw32\i686-w64-mingw32\include\c++\ostream:38,
                 from c:\mingw32\i686-w64-mingw32\include\c++\iostream:39,
                 from C:\deps\boost/boost/assert.hpp:82,
                 from C:\deps\boost/boost/range/iterator_range_core.hpp:21,
                 from C:\deps\boost/boost/range/iterator_range.hpp:13,
                 from C:\deps\boost/boost/assign/list_of.hpp:20,
                 from checkpoints.cpp:6:
c:\mingw32\i686-w64-mingw32\include\pthread.h:196:19: error: 'pthread_t' has a previous declaration as 'typedef uintptr_t pthread_t'
 typedef uintptr_t pthread_t;
                   ^
In file included from bignum.h:13:0,
                 from main.h:9,
                 from checkpoints.cpp:11:
util.h: In function 'pthread_t CreateThread(void (*)(void*), void*, bool)':
util.h:578:12: error: invalid conversion from 'HANDLE {aka void*}' to 'pthread_t {aka unsigned int}' [-fpermissive]
     return hthread;
            ^
makefile.mingw:72: recipe for target 'obj/checkpoints.o' failed
mingw32-make: *** [obj/checkpoints.o] Error 1

C:\FoxCoin-src3\src>