Bitcoin Forum
July 05, 2024, 12:55:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 [2] 3 »
21  Alternate cryptocurrencies / Altcoin Discussion / Error compile windows wallets: on: June 02, 2018, 05:39:23 PM
Error compile windows wallets:

/mnt/wch/src/leveldb/libleveldb.a(version_set.o):version_set.cc:(.text+0x6783): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(version_set.o):version_set.cc:(.text+0x67ab): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x20): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x4d): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x153): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x193): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x205): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x313): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x351): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x37d): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x438): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x6e2): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x8a4): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0x915): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xa32): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xb05): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xb41): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xba6): undefined reference to `leveldb::port::Mutex::Lock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xc35): undefined reference to `leveldb::port::Mutex::Unlock()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xcf6): undefined reference to `leveldb::port::Mutex::Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xe03): undefined reference to `leveldb::port::Mutex::Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(cache.o):cache.cc:(.text+0xed4): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(comparator.o):comparator.cc:(.text+0x1f3): undefined reference to `leveldb::port::InitOnce(leveldb::port::OnceType*, void (*)())'
/mnt/wch/src/leveldb/libleveldb.a(comparator.o):comparator.cc:(.text+0x1b6): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(comparator.o):comparator.cc:(.text.startup+0x10): undefined reference to `leveldb::port::Mutex::Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(env_win.o):env_win.cc:(.text+0x2593): undefined reference to `leveldb::port::InitOnce(leveldb::port::OnceType*, void (*)())'
/mnt/wch/src/leveldb/libleveldb.a(env_win.o):env_win.cc:(.text+0x5e6): undefined reference to `leveldb::port::Mutex::~Mutex()'
/mnt/wch/src/leveldb/libleveldb.a(env_win.o):env_win.cc:(.text.startup+0x62): undefined reference to `leveldb::port::Mutex::Mutex()'
collect2: error: ld returned 1 exit status
22  Alternate cryptocurrencies / Altcoin Discussion / ElectrumWalle tfor Blackcoin on: June 01, 2018, 02:36:16 AM
Setup ElectrumWallet for Blackcoin 1.0.7
MAC, WINDOWS and Andriod

Please Advise.
23  Alternate cryptocurrencies / Altcoin Discussion / Error Compile Wallet by Gitain on: May 29, 2018, 11:14:09 PM
Current Path for running script:

root@ubuntu:/home/cno# ls -lrt
drwxrwxr-x  7 cno cno     4096 May 27 15:48 widecash
drwxr-xr-x 14 cno cno     4096 May 30 06:05 gitian-builder



Error:

Running build script (log in var/build.log)
./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
   from ./bin/gbuild:163:in `build_one_configuration'
   from ./bin/gbuild:300:in `block (2 levels) in <main>'
   from ./bin/gbuild:295:in `each'
   from ./bin/gbuild:295:in `block in <main>'
   from ./bin/gbuild:293:in `each'
   from ./bin/gbuild:293:in `<main>'
root@ubuntu:/home/cno/gitian-builder#



build.log

libtool: install: /usr/bin/install -c qrencode /home/ubuntu/install/bin/qrencode
make[2]: Leaving directory `/home/ubuntu/build/qrencode-4.0.0'
make[1]: Leaving directory `/home/ubuntu/build/qrencode-4.0.0'
+ cd ..
+ cd widecash
bash: line 30: cd: widecash: No such file or directory

Pls help to how to fix right directory ?
24  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 28, 2018, 01:08:13 AM
@widecash

It was a simple fix for the last make command in the script

Add  cd ../.. before the last make command:

Code:
cd ../..
make -f Makefile.Release ...

it showed error as below:

c/qt/transactiontablemodel.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "transactiontablemodel.h"
 ^
src/qt/bitcoingui.cpp:1:0: error: bad value (x86_64) for -march= switch
 /*
 ^
src/txdb-leveldb.cpp:1:0: error: bad value (x86_64) for -march= switch
 // Copyright (c) 2009-2010 Satoshi Nakamoto
 ^
src/qt/bitcoin.cpp:1:0: error: bad value (x86_64) for -march= switch
 /*
 ^
src/qt/addresstablemodel.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "addresstablemodel.h"
 ^
src/qt/optionsdialog.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "optionsdialog.h"
 ^
Makefile.Release:15242: recipe for target 'build/transactiontablemodel.o' failed
make: *** [build/transactiontablemodel.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile.Release:13697: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1
Makefile.Release:12071: recipe for target 'build/bitcoin.o' failed
make: *** [build/bitcoin.o] Error 1
Makefile.Release:10508: recipe for target 'build/txdb-leveldb.o' failed
make: *** [build/txdb-leveldb.o] Error 1
Makefile.Release:16774: recipe for target 'build/addresstablemodel.o' failed
make: *** [build/addresstablemodel.o] Error 1
Makefile.Release:17735: recipe for target 'build/optionsdialog.o' failed
make: *** [build/optionsdialog.o] Error 1


Change all instances of -march= to:

-march=native

Secondly, you should be adjusting the script accordingly to your environment, not making it x86_64 just cause mine is. You originally showed that you're using i686 platform, so you must keep it consistent throughout.

Could you share me your VMware ?
25  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 27, 2018, 07:17:05 AM
@widecash

It was a simple fix for the last make command in the script

Add  cd ../.. before the last make command:

Code:
cd ../..
make -f Makefile.Release ...

it showed error as below:

c/qt/transactiontablemodel.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "transactiontablemodel.h"
 ^
src/qt/bitcoingui.cpp:1:0: error: bad value (x86_64) for -march= switch
 /*
 ^
src/txdb-leveldb.cpp:1:0: error: bad value (x86_64) for -march= switch
 // Copyright (c) 2009-2010 Satoshi Nakamoto
 ^
src/qt/bitcoin.cpp:1:0: error: bad value (x86_64) for -march= switch
 /*
 ^
src/qt/addresstablemodel.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "addresstablemodel.h"
 ^
src/qt/optionsdialog.cpp:1:0: error: bad value (x86_64) for -march= switch
 #include "optionsdialog.h"
 ^
Makefile.Release:15242: recipe for target 'build/transactiontablemodel.o' failed
make: *** [build/transactiontablemodel.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile.Release:13697: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1
Makefile.Release:12071: recipe for target 'build/bitcoin.o' failed
make: *** [build/bitcoin.o] Error 1
Makefile.Release:10508: recipe for target 'build/txdb-leveldb.o' failed
make: *** [build/txdb-leveldb.o] Error 1
Makefile.Release:16774: recipe for target 'build/addresstablemodel.o' failed
make: *** [build/addresstablemodel.o] Error 1
Makefile.Release:17735: recipe for target 'build/optionsdialog.o' failed
make: *** [build/optionsdialog.o] Error 1
26  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 27, 2018, 04:34:31 AM
@widecash

Not totally sure what is going on, seems as if the Makefile is built incorrectly and isn't providing instruction as to where/how to use the Makefile.[Release|Debug] files.

I filed an issue with mxe's github. Hopefully they can shine a light on this one.

https://github.com/mxe/mxe/issues/2132

I also went over the script thoroughly and fixed any typos/errors as well. And the result is still the same.

But this is the proper script:

Code:
#!/bin/bash

# Working setup to cross-compile Windows binaries for Ganja (MRJA coin) hosted on a
# Ubuntu 16.04 box using non-Canonical ppas for MXE and Qt5.7:
# deb http://pkg.mxe.cc/repos/apt/debian wheezy main

# Doesn't seem to pass the QT directives through.

# Basic path bindings

PATH=/home/demon/coins/mxe/usr/bin:$PATH
MXE_PATH=/home/demon/coins/mxe
MXE_INCLUDE_PATH=/home/demon/coins/mxe/usr/x86_64-w64-mingw32.static/include
MXE_LIB_PATH=/home/demon/coins/mxe/usr/x86_64-w64-mingw32.static/lib

# Belt and braces

CXXFLAGS="-std=gnu++11 -march=x86_64"
LDFLAGS="-march=x86_64"
target="x86_64-w64-mingw32.static"

# Particulars for cross-compiling

export BOOST_LIB_SUFFIX=-mt
export BOOST_THREAD_LIB_SUFFIX=_win32-mt
export BOOST_INCLUDE_PATH=${MXE_INCLUDE_PATH}/boost
export BOOST_LIB_PATH=${MXE_LIB_PATH}
export OPENSSL_INCLUDE_PATH=${MXE_INCLUDE_PATH}/openssl
export OPENSSL_LIB_PATH=${MXE_LIB_PATH}
export BDB_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export BDB_LIB_PATH=${MXE_LIB_PATH}
export MINIUPNPC_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export MINIUPNPC_LIB_PATH=${MXE_INCLUDE_LIB}
export MINIUPNP_STATICLIB=${MXE_INCLUDE_LIB}
#export QRENCODE_INCLUDE_PATH=/home/demon/coins/qrencode/install/include
#export QRENCODE_LIB_PATH=/home/demon/coins/qrencode/install/lib
#export SECP256K1_LIB_PATH=/home/demon/coins/AmsterdamCoin/src/secp256k1/libs
#export SECP256K1_INCLUDE_PATH=/home/demon/coins/AmsterdamCoin/src/secp256k1/include
export QMAKE_LRELEASE=${MXE_PATH}/usr/${target}/qt5/bin/lrelease

# Call qmake to create Makefile.[Release|Debug]

${target}-qmake-qt5 \
    MXE=1 \
    USE_O3=1 \
    USE_QRCODE=1 \
    FIRST_CLASS_MESSAGING=1 \
    RELEASE=1 \
    USE_UPNPC=1 \
    BOOST_LIB_SUFFIX=${BOOST_LIB_SUFFIX} \
    BOOST_THREAD_LIB_SUFFIX=${BOOST_THREAD_LIB_SUFFIX} \
    BOOST_INCLUDE_PATH=${BOOST_INCLUDE_PATH} \
    BOOST_LIB_PATH=${BOOST_LIB_PATH} \
    OPENSSL_INCLUDE_PATH=${OPENSSL_INCLUDE_PATH}/openssl \
    OPENSSL_LIB_PATH=${OPENSSL_LIB_PATH} \
    BDB_INCLUDE_PATH=${BDB_INCLUDE_PATH} \
    BDB_LIB_PATH=${BDB_LIB_PATH} \
    MINIUPNPC_INCLUDE_PATH=${MINIUPNPC_INCLUDE_PATH} \
    MINIUPNPC_LIB_PATH=${MINIUPNPC_LIB_PATH} \
    MINIUPNP_STATICLIB=${MINIUPNP_STATICLIB} \
    QMAKE_LRELEASE=${QMAKE_LRELEASE} stratis-qt.pro
    #QRENCODE_INCLUDE_PATH=/home/demon/coins/qrencode/install/include \
    #QRENCODE_LIB_PATH=/home/demon/coins/qrencode/install/lib \
    #SECP256K1_LIB_PATH=/home/demon/coins/DEPS/src/secp256k1/.libs \
    #SECP256K1_INCLUDE_PATH=/home/demon/coins/DEPS/src/secp256k1/include \

# Go for it. If successful, Windows binary will be written out to ./release/COin-name-qt.exe

cd src/leveldb
TARGET_OS=NATIVE_WINDOWS make -j6 libleveldb.a libmemenv.a CC=/home/demon/coins/mxe/usr/bin/x86_64-w64-mingw32.static-gcc CXX=/home/demon/coins/mxe/usr/bin/x86_64-w64-mingw32.static-g++

make -j6 -f Makefile.Release CXXFLAGS="-DQT_GUI -DQT_NO_PRINTER -std=gnu++11 -march=x86_64" LDFLAGS="-march=x86_64"

I have it setup on my system for 64-bit builds.  32-bit builds just change x86_64 to i686

Anybody else that could help out with this would be appreciated.

Do you have Vmware of ubuntu that already configured this environment ? very appreciated if you can share me your VMware.
27  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 26, 2018, 02:11:03 PM
Add to the end of the script:

make -f Makefile.Release

i added already. error as below

Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
make: 'libleveldb.a' is up to date.
make: 'libmemenv.a' is up to date.
make: Makefile.Release: No such file or directory
make: *** No rule to make target 'Makefile.Release'.  Stop.
28  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 26, 2018, 12:32:41 PM
compile-db.sh  ?  Is this just your script for building the berkeley DB ? That's from the instructions on page 1 of this thread ?

i just confused name.

here is your script:

#!/bin/bash

# Working setup to cross-compile Windows binaries for Qt Coin hosted on a
# Ubuntu 16.04 box using non-Canonical ppas for MXE and Qt5.7:
# deb http://pkg.mxe.cc/repos/apt/debian wheezy main

# Doesn't seem to pass the QT directives through, though.

# Basic path bindings

PATH=/mnt/mxe/usr/bin:$PATH
MXE_PATH=/mnt/mxe
MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib

# Belt and braces

CXXFLAGS="-std=gnu++11 -march=i686"
LDFLAGS="-march=i686"
target="i686-w64-mingw32.static"

# Particulars for cross-compiling

export BOOST_LIB_SUFFIX=-mt
export BOOST_THREAD_LIB_SUFFIX=_win32-mt
export BOOST_INCLUDE_PATH=${MXE_INCLUDE_PATH}/boost
export BOOST_LIB_PATH=${MXE_LIB_PATH}
export OPENSSL_INCLUDE_PATH=${MXE_INCLUDE_PATH}/openssl
export OPENSSL_LIB_PATH=${MXE_INCLUDE_PATH}/openssl/lib
export BDB_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export BDB_LIB_PATH=${MXE_LIB_PATH}
export MINIUPNPC_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export MINIUPNPC_LIB_PATH=${MXE_INCLUDE_LIB}
export MINIUPNP_STATICLIB=${MXE_INCLUDE_LIB}
export QRENCODE_INCLUDE_PATH=/mnt/mxe/qrencode/install/include
export QRENCODE_LIB_PATH=/mnt/mxe/qrencode/install/lib
export SECP256K1_LIB_PATH=/home/ader/coins/AmsterdamCoin/src/secp256k1/libs
export SECP256K1_INCLUDE_PATH=/home/ader/coins/AmsterdamCoin/src/secp256k1/include
export QMAKE_LRELEASE=${MXE_PATH}/usr/${target}/qt5/bin/lrelease

# Call qmake to create Makefile.[Release|Debug]

${target}-qmake-qt5 \
    MXE=1 \
    USE_O3=1 \
    USE_QRCODE=1 \
    FIRST_CLASS_MESSAGING=1 \
    RELEASE=1 \
    O3=1 \
    USE_QRCODE=1 \
    FIRST_CLASS_MESSAGING=1 \
    RELEASE=1 \
    USE_UPNPC=1 \
    BOOST_LIB_SUFFIX=${BOOST_LIB_SUFFIX} \
    BOOST_THREAD_LIB_SUFFIX=${BOOST_THREAD_LIB_SUFFIX} \
    BOOST_INCLUDE_PATH=${BOOST_INCLUDE_PATH} \
    BOOST_LIB_PATH=${BOOST_LIB_PATH} \
    OPENSSL_INCLUDE_PATH=${OPENSSL_INCLUDE_PATH} \
    OPENSSL_LIB_PATH=${OPENSSL_LIB_PATH} \
    BDB_INCLUDE_PATH=${BDB_INCLUDE_PATH} \
    BDB_LIB_PATH=${BDB_LIB_PATH} \
    MINIUPNPC_INCLUDE_PATH=${MINIUPNPC_INCLUDE_PATH} \
    MINIUPNPC_LIB_PATH=${MINIUPNPC_LIB_PATH} \
    MINIUPNP_STATICLIB=${MINIUPNP_STATICLIB} \
    QRENCODE_INCLUDE_PATH=/mnt/mxe/qrencode/install/include \
    QRENCODE_LIB_PATH=/mnt/mxe/qrencode/install/lib \
    QMAKE_LRELEASE=${QMAKE_LRELEASE} WideCash-qt.pro
    SECP256K1_LIB_PATH=/home/ader/coins/DEPS/src/secp256k1/.libs \
    SECP256K1_INCLUDE_PATH=/home/ader/coins/DEPS/src/secp256k1/include \

# Go for it. If successful, Windows binary will be written out to ./release/COin-name-qt.exe
cd src/leveldb
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=/mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc CXX=/mnt/mxe/usr/bin/i686-w64-mingw32.static-g++


Here is result of compilation:


root@ubuntu:/mnt/wch# ./compile-blk.sh
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
make: 'libleveldb.a' is up to date.
make: 'libmemenv.a' is up to date.

29  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 26, 2018, 10:07:30 AM
@widecash
  • PATH=/path/to/mxe/usr/bin:$PATH
  • MXE_PATH=/path/to/mxe
  • MXE_INCLUDE_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/include
  • MXE_LIB_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/lib

You need to change  /path/to  to match with the locations of those directories

then

export QMAKE_LRELEASE=${MXE_PATH}/usr/${target}/qt5/bin/lrelease

will properly point to the lrelease binary

It is error as below:

Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.

Those are warnings not errors, and can be ignored.

It does not generated .exe file in released folder why ?

/mnt/wch# ./compile-db.sh
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
make: 'libleveldb.a' is up to date.
make: 'libmemenv.a' is up to date.
30  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 26, 2018, 07:49:29 AM
@widecash
  • PATH=/path/to/mxe/usr/bin:$PATH
  • MXE_PATH=/path/to/mxe
  • MXE_INCLUDE_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/include
  • MXE_LIB_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/lib

You need to change  /path/to  to match with the locations of those directories

then

export QMAKE_LRELEASE=${MXE_PATH}/usr/${target}/qt5/bin/lrelease

will properly point to the lrelease binary

It is error as below:

Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Project MESSAGE: Building with QRCode support
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building O3 optimization flag
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
31  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 26, 2018, 01:00:35 AM
How do we fix thee BIGNUM error, I think that could help a lot.


downgrade the libssl version you're using

I tried that, but I don't think I was successful, how does one do that?

Edit: and which version does one downgrade to?

Download the version from openssl.org, go down one version at a time from the one you're using.

Here's a build script you can modify accordingly to your system setup and work from there...

Code:
#!/bin/bash

# Working setup to cross-compile Windows binaries for Qt Coin hosted on a
# Ubuntu 16.04 box using non-Canonical ppas for MXE and Qt5.7:
# deb http://pkg.mxe.cc/repos/apt/debian wheezy main

# Doesn't seem to pass the QT directives through, though.

# Basic path bindings

PATH=/path/to/mxe/usr/bin:$PATH
MXE_PATH=/path/to/mxe
MXE_INCLUDE_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/path/to/mxe/usr/i686-w64-mingw32.static/lib

# Belt and braces

CXXFLAGS="-std=gnu++11 -march=i686"
LDFLAGS="-march=i686"
target="i686-w64-mingw32.static"

# Particulars for cross-compiling

export BOOST_LIB_SUFFIX=-mt
export BOOST_THREAD_LIB_SUFFIX=_win32-mt
export BOOST_INCLUDE_PATH=${MXE_INCLUDE_PATH}/boost
export BOOST_LIB_PATH=${MXE_LIB_PATH}
export OPENSSL_INCLUDE_PATH=${MXE_INCLUDE_PATH}/openssl
export OPENSSL_LIB_PATH=${MXE_INCLUDE_PATH}/openssl/lib
export BDB_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export BDB_LIB_PATH=${MXE_LIB_PATH}
export MINIUPNPC_INCLUDE_PATH=${MXE_INCLUDE_PATH}
export MINIUPNPC_LIB_PATH=${MXE_INCLUDE_LIB}
export MINIUPNP_STATICLIB=${MXE_INCLUDE_LIB}
export QRENCODE_INCLUDE_PATH=/path/to/qrencode/install/include
export QRENCODE_LIB_PATH=/path/to/qrencode/install/lib
export SECP256K1_LIB_PATH=/home/ader/coins/AmsterdamCoin/src/secp256k1/libs
export SECP256K1_INCLUDE_PATH=/home/ader/coins/AmsterdamCoin/src/secp256k1/include
export QMAKE_LRELEASE=${MXE_PATH}/usr/${target}/qt5/bin/lrelease

# Call qmake to create Makefile.[Release|Debug]

${target}-qmake-qt5 \
    MXE=1 \
    USE_O3=1 \
    USE_QRCODE=1 \
    FIRST_CLASS_MESSAGING=1 \
    RELEASE=1 \
    O3=1 \
    USE_QRCODE=1 \
    FIRST_CLASS_MESSAGING=1 \
    RELEASE=1 \
    USE_UPNPC=1 \
    BOOST_LIB_SUFFIX=${BOOST_LIB_SUFFIX} \
    BOOST_THREAD_LIB_SUFFIX=${BOOST_THREAD_LIB_SUFFIX} \
    BOOST_INCLUDE_PATH=${BOOST_INCLUDE_PATH} \
    BOOST_LIB_PATH=${BOOST_LIB_PATH} \
    OPENSSL_INCLUDE_PATH=${OPENSSL_INCLUDE_PATH} \
    OPENSSL_LIB_PATH=${OPENSSL_LIB_PATH} \
    BDB_INCLUDE_PATH=${BDB_INCLUDE_PATH} \
    BDB_LIB_PATH=${BDB_LIB_PATH} \
    MINIUPNPC_INCLUDE_PATH=${MINIUPNPC_INCLUDE_PATH} \
    MINIUPNPC_LIB_PATH=${MINIUPNPC_LIB_PATH} \
    MINIUPNP_STATICLIB=${MINIUPNP_STATICLIB} \
    QRENCODE_INCLUDE_PATH=/path/to/qrencode/install/include \
    QRENCODE_LIB_PATH=/path/to/qrencode/install/lib \
    QMAKE_LRELEASE=${QMAKE_LRELEASE} COIN-name.pro
    SECP256K1_LIB_PATH=/home/ader/coins/DEPS/src/secp256k1/.libs \
    SECP256K1_INCLUDE_PATH=/home/ader/coins/DEPS/src/secp256k1/include \

# Go for it. If successful, Windows binary will be written out to ./release/COin-name-qt.exe
cd src/leveldb
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~path/to/mxe/usr/bin/i686-w64-mingw32.static-gcc CXX=/path/to/mxe/usr/bin/i686-w64-mingw32.static-g++

I followed your instruction. it showed error as below:

sh: 1: /path/to/mxe/usr/i686-w64-mingw32.static/qt5/bin/lrelease: not found
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ar.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ca_ES.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_cs.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_da.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_de.qm'

32  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 22, 2018, 03:04:57 PM
When compile error as below:

Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
make: Makefile.Releas: No such file or directory
make: *** No rule to make target 'Makefile.Releas'.  Stop.
33  Alternate cryptocurrencies / Altcoin Discussion / Create rpc json format for my altcoin on: May 22, 2018, 08:29:39 AM

Hi all,

How can i create rpc json format for my altcoin ? is there any open source web url ?

{"jsonrpc": "2.0", "error": {"code": -32700, "message": "cannot decode JSON: Expecting value: line 1 column 1 (char 0)"}, "id": null}
{"jsonrpc": "2.0", "error": {"code": -32700, "message": "cannot decode JSON: Expecting value: line 1 column 1 (char 0)"}, "id": null}
{"jsonrpc": "2.0", "error": {"code": -32700, "message": "cannot decode JSON: Expecting value: line 1 column 1 (char 0)"}, "id": null}
{"jsonrpc": "2.0", "error": {"code": -32700, "message": "cannot decode JSON: Expecting value: line 1 column 1 (char 0)"}, "id": null}

Regards,
34  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 22, 2018, 05:08:07 AM
Hi @D3m0nKinGx

What it means for command below ?

make -j$(nproc) && make -j$(nproc) test && make install

It is optional ?

Regards,
35  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 22, 2018, 03:13:26 AM
Could you provide detail step to downgrade Openssl version 1 ?
36  Alternate cryptocurrencies / Altcoin Discussion / Error Compliation Windows Wallet on: May 21, 2018, 11:11:32 PM
Please help to provide solution for windows wallet compilation..

make[1]: Entering directory '/mnt/wch/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/mnt/wch/src/leveldb'
/bin/sh: 1: i686-w64-mingw32.static-ranlib: not found
Makefile.Release:478: recipe for target '/mnt/wch/src/leveldb/libleveldb.a' failed
make: *** [/mnt/wch/src/leveldb/libleveldb.a] Error 127
37  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 21, 2018, 05:00:40 PM
Final stage to compile it. it has error below.

Any solution ?

src/bignum.h:531:61: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)'
         int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
                                                             ^
src/bignum.h: In member function 'bool CBigNum::isOne() const':
src/bignum.h:539:30: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_one(const BIGNUM*)'
         return BN_is_one(this);
                              ^
src/bignum.h: In member function 'bool CBigNum::operator!() const':
src/bignum.h:545:31: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_zero(const BIGNUM*)'
         return BN_is_zero(this);
                               ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator+=(const CBigNum&)':
src/bignum.h:550:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
         if (!BN_add(this, this, &b))
                                   ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator*=(const CBigNum&)':
src/bignum.h:564:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
         if (!BN_mul(this, this, &b, pctx))
                                         ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator<<=(unsigned int)':
src/bignum.h:583:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)'
         if (!BN_lshift(this, this, shift))
                                         ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator>>=(unsigned int)':
src/bignum.h:594:28: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
         if (BN_cmp(&a, this) > 0)
                            ^
src/bignum.h:600:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rshift(BIGNUM*, const BIGNUM*, int)'
         if (!BN_rshift(this, this, shift))
                                         ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator++()':
src/bignum.h:609:47: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
         if (!BN_add(this, this, BN_value_one()))
                                               ^
src/bignum.h: In member function 'CBigNum& CBigNum::operator--()':
src/bignum.h:626:45: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)'
         if (!BN_sub(&r, this, BN_value_one()))
                                             ^
src/bignum.h: In function 'const CBigNum operator+(const CBigNum&, const CBigNum&)':
src/bignum.h:653:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)'
     if (!BN_add(&r, &a, &b))
                           ^
src/bignum.h: In function 'const CBigNum operator-(const CBigNum&, const CBigNum&)':
src/bignum.h:661:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)'
     if (!BN_sub(&r, &a, &b))
                           ^
src/bignum.h: In function 'const CBigNum operator-(const CBigNum&)':
src/bignum.h:669:43: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)'
     BN_set_negative(&r, !BN_is_negative(&r));
                                           ^
src/bignum.h: In function 'const CBigNum operator*(const CBigNum&, const CBigNum&)':
src/bignum.h:677:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
     if (!BN_mul(&r, &a, &b, pctx))
                                 ^
src/bignum.h: In function 'const CBigNum operator/(const CBigNum&, const CBigNum&)':
src/bignum.h:686:39: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
     if (!BN_div(&r, NULL, &a, &b, pctx))
                                       ^
src/bignum.h: In function 'const CBigNum operator%(const CBigNum&, const CBigNum&)':
src/bignum.h:695:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_nnmod(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)'
     if (!BN_nnmod(&r, &a, &b, pctx))
                                   ^
src/bignum.h: In function 'const CBigNum operator<<(const CBigNum&, unsigned int)':
src/bignum.h:703:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)'
     if (!BN_lshift(&r, &a, shift))
                                 ^
src/bignum.h: In function 'bool operator==(const CBigNum&, const CBigNum&)':
src/bignum.h:715:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
 perator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
                                                                      ^
src/bignum.h: In function 'bool operator!=(const CBigNum&, const CBigNum&)':
src/bignum.h:716:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
 perator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
                                                                      ^
src/bignum.h: In function 'bool operator<=(const CBigNum&, const CBigNum&)':
src/bignum.h:717:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
 perator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
                                                                      ^
src/bignum.h: In function 'bool operator>=(const CBigNum&, const CBigNum&)':
src/bignum.h:718:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
 perator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
                                                                      ^
src/bignum.h: In function 'bool operator<(const CBigNum&, const CBigNum&)':
src/bignum.h:719:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
 operator<(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) < 0); }
                                                                       ^
src/bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)':
src/bignum.h:720:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
38  Alternate cryptocurrencies / Altcoin Discussion / Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw on: May 21, 2018, 06:42:40 AM
Can we add QR code on QT wallet  ?

Regards
39  Alternate cryptocurrencies / Altcoin Discussion / Enhance API altcoin on: May 20, 2018, 11:20:29 AM
Hi All,

i would like to update API of my altcoin as below 3 APIs

- gettxout API call
- importaddress API call
- BIP65

Pls advise.

Thank
40  Alternate cryptocurrencies / Speculation (Altcoins) / Re: 1200$ investment - What to buy ? on: May 20, 2018, 07:04:22 AM
the best project www.widecash.org
Pages: « 1 [2] 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!