Pages:
Author

Topic: [ANN] WDC WorldCoin | Official Developer Thread | (Read 14407 times)

hero member
Activity: 616
Merit: 500
Just  change only wallet under linux?
full member
Activity: 265
Merit: 100
New Worldcoin_qt update for Ubuntu-13.04

sudo apt-get update
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb-dev
sudo apt-get install libdb++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost1.49-all-dev
sudo apt-get install git
git clone https://github.com/worldcoinproject/worldcoin-v0.8.git
cd worldcoin-v0.8
qmake "USE_UPNP=-"
make
./worldcoin-qt



legendary
Activity: 1736
Merit: 1000
Truly decentralized stable asset
I have tried this repeatedly.  It is bullshit that Worldcoin can not get its act together on this.  Why can't I just d/l from a repository???
full member
Activity: 147
Merit: 100
Unfortunately none of the options worked for me.

 Kept being told that 'git clone https://github.com/worldcoinproject/Worldcoin.git' is not a git command...
member
Activity: 70
Merit: 10
Besides that to run the commands it's also necessary to put ./ before the worldcoined, which has already been pointed out by some other user.... so it's ./worldcoined whatevercommand

If anyone found any of the information I posted before useful and feel like donating some WTC:
WNk6BvJzRnHa63gZ2jCMeJbbo224pqa7GW
member
Activity: 70
Merit: 10
So.... I guess the problem was in the libdb4.8-dev and libdb4.8++-dev... I think some of them wasn't found and didn't get installed and I didn't realize and tried to keep on going without noticing it.


If you face the same problem as I did, replace the following:
Code:
sudo apt-get install libdb4.8-dev 
sudo apt-get install libdb4.8++-dev

for the following:
Code:
sudo apt-get install libdb-dev 
sudo apt-get install libdb++-dev

also... after installing git, the command lacks a space after the clone parameter:
Replace this:
Code:
git clonehttps://github.com/worldcoinproject/Worldcoin.git
for this:
Code:
git clone https://github.com/worldcoinproject/Worldcoin.git

I'm still compiling it, so dunno if anything else will show up... so far so good, only a bunch of Warnings throughout the compiling proccess, a lot of defined but not used variables and functions, this should be fixed, I mean, if you want to implement a function for later use or that is not finished yet, then leave it as a comment, so there is no unnecessary burden to be compiled and we can have a nice clean compiling Smiley
member
Activity: 70
Merit: 10
Got the following error when running the "make -j2 -f makefile.unix USE_UPNP=-" command, any thoughts?

caju@caju:~/Worldcoin/src$ make -j2 -f makefile.unix USE_UPNP=-
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/caju/Worldcoin/src -I/home/caju/Worldcoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/caju/Worldcoin/src -I/home/caju/Worldcoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
In file included from main.h:14:0,
                 from checkpoints.cpp:12:
db.h:15:20: fatal error: db_cxx.h: No such file or directory
 #include
                    ^
compilation terminated.
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/caju/Worldcoin/src -I/home/caju/Worldcoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/db.d -o obj/db.o db.cpp
In file included from db.cpp:7:0:
db.h:15:20: fatal error: db_cxx.h: No such file or directory
 #include
                    ^
compilation terminated.
make: *** [obj/checkpoints.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/db.o] Error 1
full member
Activity: 265
Merit: 100
Need a Quick and dirty worldcoind compile on Debian. Please make a price quotation, in Worldcoins.
Thank's Bruno
sr. member
Activity: 840
Merit: 250
Have a Dev working on a new wallet ATM.

Sounds good, what kind of wallet? The android one? or a general one?
Android would be nice  Grin

Android wallet is being developed now.
sr. member
Activity: 456
Merit: 250
I've tried this can you maybe tell me how to fix it please,this is my error
main.cpp:17:53: fatal error: boost/random/uniform_int_distribution.hpp: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1
make: *** Waiting for unfinished jobs....
net.cpp: In function 'void ThreadDNSAddressSeed2(void*)':
net.cpp:1190:52: warning: comparison is always false due to limited range of data type [-Wtype-limits]

It sounds like you don't have all the boost libraries installed. I had to install libboost1.48-all-dev instead of libboost-all-dev to pick up the boost_random library. Another option might be to see if there's a separate package for the random library (it might be called something like libboost-random-dev) and install that.
hero member
Activity: 532
Merit: 500
Have a Dev working on a new wallet ATM.

Sounds good, what kind of wallet? The android one? or a general one?
Android would be nice  Grin
member
Activity: 142
Merit: 21
Have a Dev working on a new wallet ATM.

Sounds good, what kind of wallet? The android one? or a general one?
hero member
Activity: 532
Merit: 500
Quick and dirty worldcoind compile on Ubuntu 12.04

Download and install dependencies:
Code:
sudo apt-get install build-essential 
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost-all-dev
Recommended utilities:
Code:
sudo apt-get install git

Download the source code:

Code:
git clonehttps://github.com/worldcoinproject/Worldcoin.git

Navigate to src directory:

Code:
cd Worldcoin/src

Compile the damn thing:
Code:
make -j2 -f makefile.unix USE_UPNP=-

With no errors this should build worldcoin:
Code:
ls
worldcoind should appear as the last file in the Worldcoin/src directory
Code:
addrman.cpp      irc.cpp               netbase.h              serialize.h
addrman.h        irc.h                 net.cpp                strlcpy.h
allocators.h     json                  net.h                  sync.cpp
base58.h         key.cpp               noui.cpp               sync.h
bignum.h         key.h                 obj                    test
bitcoinrpc.cpp   keystore.cpp          obj-test               ui_interface.h
bitcoinrpc.h     keystore.h            protocol.cpp           uint256.h
checkpoints.cpp  libeay32.dll          protocol.h             util.cpp
checkpoints.h    main.cpp              qt                     util.h
compat.h         main.h                rpcdump.cpp            version.cpp
crypter.cpp      makefile.linux-mingw  rpcnet.cpp             version.h
crypter.h        makefile.mingw        rpcrawtransaction.cpp  wallet.cpp
db.cpp           makefile.osx          script.cpp             walletdb.cpp
db.h             makefile.unix         script.h               walletdb.h
init.cpp         mruset.h              scrypt.c               wallet.h
init.h           netbase.cpp           scrypt.h               worldcoind

Ok, almost done!

Create the worldcoin data directory:
Code:
mkdir ~/.worldcoin

Now make the conf file:
Code:
sudo nano ~/.worldcoin/worldcoin.conf

Put this stuff in there:
Code:
rpcuser=username
rpcpassword=password
rpcport=11082
port=11081
daemon=1
server=1
gen=0
listen=1
testnet=0
maxconnections=100

Ok. GO TIME!

In the same directory as the worldcoind file:
Code:
worldcoind -daemon

You should see:
Code:
worldcoin server start

Commands:
Code:
worldcoind getinfo
worldcoind stop
worldoind getaccountaddress ""

See https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list for other commands.

Let me know if this works.

If it does. I graciously accept the following:

Love
WDC: WbE7NcXKEkQhsMyqnPxByFKfhqfFwdwH3P
LTC: LdZ5nUE9NnKKjwAGVVp4n2YVGPTM4zv2yN






I've tried this can you maybe tell me how to fix it please,this is my error
main.cpp:17:53: fatal error: boost/random/uniform_int_distribution.hpp: No such file or directory
compilation terminated.
make: *** [obj/main.o] Error 1
make: *** Waiting for unfinished jobs....
net.cpp: In function 'void ThreadDNSAddressSeed2(void*)':
net.cpp:1190:52: warning: comparison is always false due to limited range of data type [-Wtype-limits]
sr. member
Activity: 840
Merit: 250
Have a Dev working on a new wallet ATM.
sr. member
Activity: 456
Merit: 250
Try instead:

Code:
./worldcoind
sr. member
Activity: 359
Merit: 250
Quick and dirty worldcoind compile on Ubuntu 12.04

Download and install dependencies:
Code:
sudo apt-get install build-essential 
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install libboost-all-dev
Recommended utilities:
Code:
sudo apt-get install git

Download the source code:

Code:
git clonehttps://github.com/worldcoinproject/Worldcoin.git

Navigate to src directory:

Code:
cd Worldcoin/src

Compile the damn thing:
Code:
make -j2 -f makefile.unix USE_UPNP=-

With no errors this should build worldcoin:
Code:
ls
worldcoind should appear as the last file in the Worldcoin/src directory
Code:
addrman.cpp      irc.cpp               netbase.h              serialize.h
addrman.h        irc.h                 net.cpp                strlcpy.h
allocators.h     json                  net.h                  sync.cpp
base58.h         key.cpp               noui.cpp               sync.h
bignum.h         key.h                 obj                    test
bitcoinrpc.cpp   keystore.cpp          obj-test               ui_interface.h
bitcoinrpc.h     keystore.h            protocol.cpp           uint256.h
checkpoints.cpp  libeay32.dll          protocol.h             util.cpp
checkpoints.h    main.cpp              qt                     util.h
compat.h         main.h                rpcdump.cpp            version.cpp
crypter.cpp      makefile.linux-mingw  rpcnet.cpp             version.h
crypter.h        makefile.mingw        rpcrawtransaction.cpp  wallet.cpp
db.cpp           makefile.osx          script.cpp             walletdb.cpp
db.h             makefile.unix         script.h               walletdb.h
init.cpp         mruset.h              scrypt.c               wallet.h
init.h           netbase.cpp           scrypt.h               worldcoind

Ok, almost done!

Create the worldcoin data directory:
Code:
mkdir ~/.worldcoin

Now make the conf file:
Code:
sudo nano ~/.worldcoin/worldcoin.conf

Put this stuff in there:
Code:
rpcuser=username
rpcpassword=password
rpcport=11082
port=11081
daemon=1
server=1
gen=0
listen=1
testnet=0
maxconnections=100

Ok. GO TIME!

In the same directory as the worldcoind file:
Code:
worldcoind -daemon

You should see:
Code:
worldcoin server start

Commands:
Code:
worldcoind getinfo
worldcoind stop
worldoind getaccountaddress ""

See https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list for other commands.

Let me know if this works.

If it does. I graciously accept the following:

Love
WDC: WbE7NcXKEkQhsMyqnPxByFKfhqfFwdwH3P
LTC: LdZ5nUE9NnKKjwAGVVp4n2YVGPTM4zv2yN

It gives me this error:

Code:
worldcoind: command not found
member
Activity: 70
Merit: 10
Whew
member
Activity: 70
Merit: 10
Whew
member
Activity: 84
Merit: 10
Welcome to the WorldCoin development thread! This is where we post projects we currently need and where developers can work on their own projects to support the coin.

Ideally when a project is done and posted, hero members should be able to confirm there is no malicious code and make sure there are no viruses.
We would like to thank you for your continued support and hopefully we can create some awesome stuff!

Currently Needed:
Fully Working Linux Port
Android Wallet – either brand new or incorporated into a current one


Sincerely,
WorldCoin Team

Hey, do you guys need a wiki? I'd love to set one up for you. I like this coin. Very professional. I do graphic design aswell so a logo on the wiki wouldn't be a problem. I sent you a PM, let me know! Grin
newbie
Activity: 34
Merit: 0
Thank you RaymanJr.  Your suggestions worked for me.

2013-05-22 18:37:45   Withdrawal   WmVEK8sFawdB1RMKaub8atQhawzcbnS9Fr   0.90000000







Another quick and dirty compile on Ubuntu 12.04, this time for worldcoin-qt !

To be able to compiling worldcoin-qt you need to install Qt development libraries. (more details http://qt.nokia.com/downloads/ )
Code:
sudo apt-get update
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

Then download and install worldcoin-qt dependencies:
Code:
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb++-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libboost1.48-all-dev

If you don't yet have git, get it
Code:
sudo apt-get install git

Download the source code:
Code:
git clone https://github.com/worldcoinproject/Worldcoin.git

Go to newly create directory:
Code:
cd Worldcoin

Verify that you have 'worldcoin-qt.pro' in your Worldcoin directory:
Code:
ls

Following files/directories should be listed:
Code:
contrib  COPYING  doc  INSTALL  README  README.md  share  src  worldcoin-qt.pro

Build without UPNP support:
Code:
qmake "USE_UPNP=-"

Do the magic:
Code:
make

and ready for test run ! Launch your wallet application.
Code:
./worldcoin-qt

In the case you see this useful, I don't mind if you throw me with a coin..
WDC: WmVEK8sFawdB1RMKaub8atQhawzcbnS9Fr




Pages:
Jump to: