BitShares Forum

Main => Technical Support => Topic started by: speedy on October 24, 2015, 11:52:13 am

Title: Cant compile light_client
Post by: speedy on October 24, 2015, 11:52:13 am
On the head of the bitshares branch of bitshares-2, Ubuntu 15.10:

Code: [Select]
make light_client

/home/me/source/bitshares-2/programs/light_client/Transaction.hpp:37:17: error: ISO C++ forbids declaration of ‘Q_ENUM’ with no type [-fpermissive]
    Q_ENUM(Status);

Does anyone have any ideas on that compile error?

Btw I couldnt find any documentation on building the light wallet anywhere. Its even not listed under in the Applications section in http://docs.bitshares.eu/apps/index.html

I know I can just compile the web wallet and use that as a light wallet, but Im paranoid and would prefer to segregate my private keys away from a general web browser that is used on a million other sites.
Title: Re: Cant compile light_client
Post by: valzav on October 24, 2015, 01:52:52 pm
C++ light client is obsolete, please use node.js version, you need to build web wallet from this repo  https://github.com/BitShares/bitshares-2-ui
after you built it via "npm run build" in web dir, you need to go to ../electron and type "npm run release", find light wallet in ./releases
Alternatively you can download light wallet from here https://github.com/bitshares/bitshares-2/releases
Title: Re: Cant compile light_client
Post by: speedy on October 24, 2015, 06:22:42 pm
Ah of course thanks!