POC4 C++ is out!!

Comments

  • kershykershy Member Posts: 46
    > Enjoy!

    I will, thank you.
  • aatkinaatkin Member Posts: 75 ✭✭
    edited April 2014
    Great! Many Thanks!
  • gojiragojira Member Posts: 3
    What are the file names - the links on the page are obsolete
  • gojiragojira Member Posts: 3
    I got by with the poc4 branch from github
  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    @gojira, links are all valid, if you look at the naming convention there is a method to this madness :) If you are still experiencing issues let me know!
  • gojiragojira Member Posts: 3
    Thanks - looks like I just needed to refresh the page - all the links had been March dates but now are 0409/0408 dates.

    Now on Ubuntu 14.04 compile fails here:

    [ 63%] Building CXX object test/CMakeFiles/testeth.dir/vm.cpp.o
    c++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See for instructions.
    make[2]: *** [test/CMakeFiles/testeth.dir/vm.cpp.o] Error 4
    make[1]: *** [test/CMakeFiles/testeth.dir/all] Error 2
    make: *** [all] Error 2
  • salhadaarsalhadaar Member Posts: 26
    Ubuntu 13.10 here. Installed all the dependencies and I get the following error -

    CMake Error at alethzero/CMakeLists.txt:29 (find_package):
    By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
    has asked CMake to find a package configuration file provided by
    "Qt5WebKit", but CMake did not find one.
  • salhadaarsalhadaar Member Posts: 26
    UPDATE - I installed qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev (because of some random comment I read)

    Now it's compiling but when it gets to 89% I get ...

    MainWin.h:112: Parse error at "address"
    AUTOMOC: error: process for /home/user/cpp-ethereum/build/walleth/moc_MainWin.cpp failed

    moc failed...
  • awrelllawrelll BucurestiMember Posts: 65 ✭✭
    I recently did a fresh Mavericks install and after that i downloaded the POC4 C++. I got this :

    http://pastebin.com/tfZrUVk1
  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    @awrell are you running a custom, external or somewhat non-stock HDD or SSD?
  • awrelllawrelll BucurestiMember Posts: 65 ✭✭
    edited April 2014
    Hey Stephan, i got a Samsung SSD 840 Series, 120,03 GB, integrated. Is this important?
    Thank you for your reply :)
  • awrelllawrelll BucurestiMember Posts: 65 ✭✭
    i did a manual build and it works great! no problems :)
  • ppohjappohja Member Posts: 10
    Hi,
    I've got a similar setup to awrelll, and it crashes in the same way.

    Will test manual build next.
  • awrelllawrelll BucurestiMember Posts: 65 ✭✭
    manual build should work with no problems. let me know if i can help
  • ppohjappohja Member Posts: 10
    Yeah, it compiled and runs fine.
  • der_trollder_troll Member Posts: 7
    Hi, I'm kind of a Ubuntu semi noob, so I need some help compiling.
    Running Ubuntu 13.10. Trying to compile from the source that I downloaded from GitHub.

    I'm stuck at 89%:
    ...../cpp-ethereum/walleth/MainWin.h:112: Parse error at "address"
    AUTOMOC: error: process for ...../cpp-ethereum/build/walleth/moc_MainWin.cpp failed:
    ...../cpp-ethereum/walleth/MainWin.h:112: Parse error at "address"

    moc failed...
    make[2]: *** [walleth/CMakeFiles/walleth_automoc] Error 1
    make[1]: *** [walleth/CMakeFiles/walleth_automoc.dir/all] Error 2
    make: *** [all] Error 2


    Does anyone know what the problem is?
  • heavyplayerheavyplayer Member Posts: 4
    @der_troll?
    You need to upgrade your Qt library. PoC4 requires Qt5.1+ (better to use Qt5.2 or Qt5.3 if you can)
  • jjjjjj Member Posts: 9
    Any ideas on this one?
    [ 71%] Building CXX object test/CMakeFiles/testeth.dir/TestHelper.cpp.o
    make[2]: *** No rule to make target `/usr/lib/libboost_system.so', needed by `test/testeth'. Stop.
    make[1]: *** [test/CMakeFiles/testeth.dir/all] Error 2
    make: *** [all] Error 2
  • kershykershy Member Posts: 46
    @jjj?
    Did you install libboost1.53-all-dev (for Ubuntu 13.10) or libboost-all-dev (for Ubuntu 14.04)?
  • arayboaraybo Member Posts: 17
    FYI, the 'Linux Source Package' link on https://code.ethereum.org/ fetches a file containing only binaries.
  • arayboaraybo Member Posts: 17
    @der_troll, @heavyplayer?

    Re ...../cpp-ethereum/walleth/MainWin.h:112: Parse error at "address"

    I got this problem with Qt 5.2 installed. The problem for me appears to be that Ubuntu, as installed, includes some qt4 and qt5 elements, that are presumably there to support applications built with Qt. This includes qtchooser, which is installed in /usr/bin, and it does not get reconfigured when Qt 5.2 is installed. This seems to be misleading Cmake into running a 5.0 version of moc.

    I worked around this problem by adding these lines to the top-level Etherium CMakeLists.txt file:

    set(CMAKE_PREFIX_PATH ~/Qt5.2.1)
    set(Qt5WebKit_DIR ${CMAKE_PREFIX_PATH}/5.2.1/gcc_64/lib/cmake/Qt5WebKit)
    set(Qt5WebKitWidgets_DIR ${CMAKE_PREFIX_PATH}/5.2.1/gcc_64/lib/cmake/Qt5WebKitWidgets)
    set(Qt5Widgets_DIR ${CMAKE_PREFIX_PATH}/5.2.1/gcc_64/lib/cmake/Qt5Widgets)

    Where ~/Qt5.2.1 is where I have Qt 5 installed (I used the qt-opensource-linux-x64-5.2.1.run installer (not the online installer), and that was its default.)

    I would guess you could also fix things without these changes if you can repair the qtchooser installation.


  • der_trollder_troll Member Posts: 7
    It worked after I upgraded Ubuntu to 14.04.
Sign In or Register to comment.