BitShares Forum

Main => Technical Support => Topic started by: bitcoinerS on September 19, 2014, 03:25:40 pm

Title: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 03:25:40 pm
Having problems compiling 0.4.16-RC1 on Ubuntu 14.10.

Code: [Select]
[code][ 92%] Building CXX object programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o
In file included from /home/bitcoiners/local/bitsharesx/programs/utils/web_update_utility/main.cpp:1:0:
/home/bitcoiners/local/bitsharesx/programs/utils/web_update_utility/update_utility.hpp:5:26: fatal error: WebUpdates.hpp: No such file or directory
 #include <WebUpdates.hpp>
                          ^
compilation terminated.
programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/build.make:54: recipe for target 'programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o' failed
make[2]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:1826: recipe for target 'programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/all' failed
make[1]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/all] Error 2
Makefile:103: recipe for target 'all' failed
make: *** [all] Error 2
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: toast on September 19, 2014, 03:26:53 pm
git submodule update  ?
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 03:28:44 pm
git submodule update  ?

yes, did update. same result.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: emski on September 19, 2014, 03:30:27 pm
git submodule update  ?

yes, did update. same result.
git submodule init ?
should be done before update.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 03:33:14 pm
Found the problem. Had to

Code: [Select]
rm CMakeCache.txt
cmake .


now it compiles.

Actually this did not solve the problem, just removed web_wallet build from configuration. So now I did

Code: [Select]
cmake -DINCLUDE_QT_WALLET=ON .
and getting the same error again.

fatal error: WebUpdates.hpp: No such file or directory
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 03:41:34 pm
git submodule update  ?

yes, did update. same result.
git submodule init ?
should be done before update.

both git submodule init and update were done.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: Riverhead on September 19, 2014, 03:43:24 pm
No compile issues here. Maybe clone it again?

git pull
git checkout v0.4.16-RC1
git submodule init
git submodule update
git cmake -DINCLUDE_QT_WALLET=ON .
make bitshares_client
make buildweb
make BitSharesX
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: speedy on September 19, 2014, 03:46:04 pm
Try specifying the target:

make BitSharesX

I was just making everything before.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 04:04:54 pm
No compile issues here. Maybe clone it again?

git pull
git checkout v0.4.16-RC1
git submodule init
git submodule update
git cmake -DINCLUDE_QT_WALLET=ON .
make bitshares_client
make buildweb
make BitSharesX

Ok. Cloned another copy of the repo and did steps above. All compiles fine. After that ran

make

and got the same error again.
WebUpdates.hpp: No such file or directory
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: Riverhead on September 19, 2014, 04:19:33 pm
If everything compiled fine what are you trying to make?? You're done :)
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 04:28:41 pm
If everything compiled fine what are you trying to make?? You're done :)

Obviously not.

make would not fail if all was fine.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: speedy on September 19, 2014, 04:38:32 pm
If everything compiled fine what are you trying to make?? You're done :)

Obviously not.

make would not fail if all was fine.

But you dont need to type "make" - that builds every single target. You just need "make BitSharesX"
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: speedy on September 19, 2014, 04:42:12 pm
Hmm the wallet graphs have disappeared in 0.4.16 :(
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 04:42:35 pm
If everything compiled fine what are you trying to make?? You're done :)

Obviously not.

make would not fail if all was fine.

But you dont need to type "make" - that builds every single target. You just need "make BitSharesX"

Yes, I can do without that target and still use the client. However I would like to make sure all targets  build successfully.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: bitcoinerS on September 19, 2014, 04:43:16 pm
Hmm the wallet graphs have disappeared in 0.4.16 :(

Not for me.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: Riverhead on September 19, 2014, 04:48:01 pm
If everything compiled fine what are you trying to make?? You're done :)

Obviously not.

make would not fail if all was fine.

But you dont need to type "make" - that builds every single target. You just need "make BitSharesX"


Gotcha, thought you were just looking to upgrade, my bad. I just did the entire make and am getting the same error. I'll poke at it and post back if I figure something out.
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: speedy on September 19, 2014, 05:13:04 pm
Hmm the wallet graphs have disappeared in 0.4.16 :(

Not for me.

Hmm...
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: Riverhead on September 19, 2014, 05:32:33 pm
They aren't the fancy new ones with candles
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: speedy on September 19, 2014, 09:57:35 pm
They aren't the fancy new ones with candles

Are you also only seeing the candlestick charts in the 0.4.15 version? I reverted back to get them.

Also Im trying to find where the web_wallet source code the highcharts library is referenced, but I cant see it  ???
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: Riverhead on September 19, 2014, 10:46:04 pm
Yup
Title: Re: fatal error: WebUpdates.hpp: No such file or directory
Post by: ozvic on September 20, 2014, 02:33:43 pm
Same issue but a ...

'make bitshares-client' fixed it for me.

Guess I was trying to make everything but don't need the GUI.