Bitcoin Forum
June 29, 2024, 09:25:49 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HELP! get this error compiling windows wallet  (Read 1698 times)
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 12, 2015, 05:11:16 AM
Last edit: April 16, 2015, 02:07:00 AM by sp00lin9
 #1

solved Smiley
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 12, 2015, 04:44:57 PM
 #2

any ideas?
you didn't add include directory with boost...
Or did you check thread.hpp file?  Is the file exists?
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 12, 2015, 05:17:42 PM
 #3

any ideas?
you didn't add include directory with boost...
Or did you check thread.hpp file?  Is the file exists?


Yes the file exists, its located at

C:\deps\boost_1_55_0\boost
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 12, 2015, 05:24:39 PM
 #4

Open your Makefile.Release file.
And write here your INCPATH
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 12, 2015, 05:57:36 PM
 #5

Which INCPATH? there are so many lol
I know only one...
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 12, 2015, 06:23:55 PM
 #6

Which INCPATH? there are so many lol
I know only one...


Code:
INCPATH       = -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++"

sorry i searched it & it came up a bunch of times but this is what i have
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 12, 2015, 06:48:31 PM
 #7

Code:
INCPATH       = -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++"

sorry i searched it & it came up a bunch of times but this is what i have
I don't see here boost...
Try
Code:
INCPATH       = -I"c:\deps\boost_1_55_0\" -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++"
Also add LC:/deps/boost_1_55_0/stage/lib  to your LIBS variable(at file Makefile.Release)

Then try
(without qmake)
mingw32-make -f Makefile.Release
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 12, 2015, 06:50:43 PM
 #8

Code:
INCPATH       = -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++"

sorry i searched it & it came up a bunch of times but this is what i have
I don't see here boost...
Try
Code:
INCPATH       = -I"c:\deps\boost_1_55_0\" -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++"
Also add LC:/deps/boost_1_55_0/stage/lib  to your LIBS variable(at file Makefile.Release)

Then try
(without qmake)
mingw32-make -f Makefile.Release

Awesome, thank you so much, will try when I get home. I can't do it all through team viewer on my phone lol
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 16, 2015, 06:19:18 AM
 #9

Thanks, I was able to get past that issue with your help but this is where i am now

 Undecided
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 16, 2015, 07:47:21 AM
 #10

Could you give the source of what you are trying to build?
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 16, 2015, 03:41:03 PM
 #11

Could you give the source of what you are trying to build?

https://github.com/JamesAndersson/OHLC

Its a dead coin, I'm just practicing.

Thank you so much
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 17, 2015, 07:28:43 AM
 #12

Strange, I did not have such an error

My changes: https://github.com/fsb4000/OHLC/commit/15e9f1e8f04fe5b27b7e9afa7f8109788b8bfbd0

MINIUPNP_STATICLIB for miniupnp 1.9 compatibility
#ifndef Q_MOC_RUN for Boost 1.57-Qt4 compatibility (without it I got BOOST_JOIN error)
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 17, 2015, 06:43:05 PM
 #13

Strange, I did not have such an error

My changes: https://github.com/fsb4000/OHLC/commit/15e9f1e8f04fe5b27b7e9afa7f8109788b8bfbd0

MINIUPNP_STATICLIB for miniupnp 1.9 compatibility
#ifndef Q_MOC_RUN for Boost 1.57-Qt4 compatibility (without it I got BOOST_JOIN error)

Are you suggesting i try with boost 1.57? or edit the file paths in your changes to the .PRO file to utilize my 1.55?
fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
March 18, 2015, 10:07:03 AM
 #14

Are you suggesting i try with boost 1.57? or edit the file paths in your changes to the .PRO file to utilize my 1.55?
edit paths and BOOST_LIB_SUFFIX. boost 1.55 should be fine. I used boost 1.57 because I already had boost 1.57, no more reason
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 19, 2015, 05:25:27 AM
 #15

i double checked all my paths, added what you said, reinstalled all the deps & same error.

wth Huh
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
March 19, 2015, 05:26:43 PM
 #16

Would you happen do know of a detailed guide that you know works that i may be able to follow?

Ive found 2 but even when i follow their every exact instruction, it still doesnt work.
sp00lin9 (OP)
Hero Member
*****
Offline Offline

Activity: 490
Merit: 500


View Profile
April 15, 2015, 08:57:32 PM
 #17

I'm having trouble building this DarkShibeCoin Wallet /:



I have the requested file everywhere necessary, its at the very last last bit of compiling:

Code:
-lboost_thread_win32-mgw49-mt-s-1_55

DarkShibeCoin.pro:
Code:
BOOST_LIB_SUFFIX=-mgw49-mt-s-1_55
BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1j/include
OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1j
MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.4
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.4/.libs
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build

Makefile.Release:
Code:
LIBS=-L"c:\Qt\4.8.6\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -lqrencode C:/Darkshibe/src/leveldb/libleveldb.a C:/Darkshibe/src/leveldb/libmemenv.a -lshlwapi -LC:/deps/boost_1_55_0/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcrypto -ldb_cxx -lshlwapi -lmswsock -lboost_system-mgw49-mt-s-1_55 -lboost_filesystem-mgw49-mt-s-1_55 -lboost_program_options-mgw49-mt-s-1_55 -lboost_thread_win32-mgw49-mt-s-1_55 -lboost_chrono-mgw49-mt-s-1_55 -lQtGui -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!