Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Guide] Beginners guide to compiling feathercoin for Linux / Ubuntu

    Support
    6
    13
    6907
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pietjebel last edited by

      [quote]sudo apt-get install libminiupnpc-dev[/quote]

      [quote]De volgende pakketten hebben niet-voldane vereisten:
      libminiupnpc-dev : Vereisten: libminiupnpc8 (= 1.6-3ubuntu1) maar 1.6-precise2 zal geïnstalleerd worden
      E: Kan problemen niet verhelpen, u houdt defecte pakketten vast.[/quote]

      I am sure this is something to do with my ubuntu install. Do you maybe know whats going on ?

      1 Reply Last reply Reply Quote 0
      • I
        Icingsugar last edited by

        Darlings, it didn’t work for me. Is it because I use Mint 15 ?

        I assumed the instructions would work for Mint too, but I don’t get the options for QTcreator here

        [color=maroon]Menu -> Build > open file or project /Home/User/Feathercoin/Bitcoin-qt.pro

        Change output names and choose debug or release. See below to build release with QR codes.
        From the QT Creator - Build Menu run each of these options.

        Build -> Clean
        Build -> qmake
        Build -> Build[/color]

        The build menu is greyed out.

        I tried to just run the feathercoin-qt-pro file with QTcreator but to no avail. Worked for litecoin though!

        How can I enjoy the glorious world of feathercoin on linux, and stay away from stinky old windows ?

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by

          I compiling qrencode-3.4.3 on windows 7, I encountered an compily error.

          qrspec.c:553: undefined reference to `_imp__pthread_mutex_lock`
          rscode.c:237: undefined reference to `_imp__pthread_mutex_unlock`

          How to solve this issue ?

          1 Reply Last reply Reply Quote 0
          • lizhi
            lizhi last edited by

            I edited Makefile file,add “CFLAGS = -Wall -g -O2 -lpthread”, it work. :) make install success.
            I compiling 0.8.5-master-0.8 with MinGW 4.6.2 in windows 7 SP1 32bit. But mingw32-make -f Makefile.Release, I encountered an compily error. :-\

            g++ -Wl -Wl,–large-address-aware -Wl,-s -mthreads -Wl,-subsystem,windows -o release/feathercoin-qt.exe object_script.feathercoin-qt.Release -L’c:/Qt/4.8.5/lib’ -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -lqrencode D:/FTC/FeatherCoin-master/Feathercoin-0.8.5-master-0.8/src/leveldb/libleveldb.a D:/FTC/FeatherCoin-master/Feathercoin-0.8.5-master-0.8/src/leveldb/libmemenv.a -lshlwapi -LC:\boost_1_53_0\stage\lib -LC:\db-4.8.30.NC\build_unix -LC:\openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-s-1_53 -lboost_filesystem-mgw46-mt-s-1_53 -lboost_program_options-mgw46-mt-s-1_53 -lboost_thread-mgw46-mt-s-1_53 -lboost_chrono-mgw46-mt-s-1_53 -lQtGui4 -lQtNetwork4 -lQtCore4

            c:\qrencode-3.4.3/qrspec.c:530: undefined reference to `_imp__pthread_mutex_lock’
            c:\qrencode-3.4.3/qrspec.c:536: undefined reference to `_imp__pthread_mutex_unlock’

            1 Reply Last reply Reply Quote 0
            • lizhi
              lizhi last edited by

              I had solved this issue. I need to edit Makefile.Release , add " -lpthread". :)

              LIBS = -L’c:/Qt/4.8.5/lib’ -lmingwthrd -lmingw32 -lqtmain build/bitcoin-qt_res.o -lqrencode D:/FTC/FeatherCoin-master/Feathercoin-0.8.5-master-0.8/src/leveldb/libleveldb.a D:/FTC/FeatherCoin-master/Feathercoin-0.8.5-master-0.8/src/leveldb/libmemenv.a -lshlwapi -LC:\boost_1_53_0\stage\lib -LC:\db-4.8.30.NC\build_unix -LC:\openssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-s-1_53 -lboost_filesystem-mgw46-mt-s-1_53 -lboost_program_options-mgw46-mt-s-1_53 -lboost_thread-mgw46-mt-s-1_53 -lboost_chrono-mgw46-mt-s-1_53 -lQtGui4 -lQtNetwork4 -lQtCore4 -lpthread

              1 Reply Last reply Reply Quote 0
              • wrapper
                wrapper Moderators last edited by

                lizhi, well done.

                1 Reply Last reply Reply Quote 0
                • wrapper
                  wrapper Moderators last edited by

                  I’ve updated the build guides to make them clearer as step guides. In particular it wasn’t clear you had to open the project file from the Github source download folder, before doing a QT-Creator build.

                  File : open file or project e.g… /Home/User/Feathercoin/Feathercoin.pro

                  Build -> Clean
                  Build -> qmake
                  Build -> Build

                  1 Reply Last reply Reply Quote 0
                  • I
                    Icingsugar last edited by

                    Hi maybe these are typos ?

                    You have–

                    [color=maroon]File - open file or project ( /Home/User/Feathercoin/Bitcoin-qt.pr)[/color]

                    and

                    [color=maroon]File : open file or project e.g… /Home/User/Feathercoin/Feathercoin.pro[/color]

                    But I have neither - what I have is, after running the git clone, is–

                    [color=navy]/Home/user/Feathercoin[/color]

                    and in that I have

                    [color=navy]Home/user/Feathercoin/feathercoin-qt.pro[/color]

                    so I choose the feathercoin-qt.pro instead because it’s the only similar one and try that but the build menu is still greyed out.

                    Do I have to run the ‘configure’ step next instead ?
                    I’ve got a tick box for Qt 4.8.4(qt4) - should I tick that and hit configure project ?

                    An how do I change the output name ?

                    I’ve got a couple more tick boxes for ‘debug’ and ‘release’ so do I just choose one of those ?

                    I took a guess and unticked ‘debug’, hit configure and followed the steps in the build menu - the options are a little different from the ones in the guide above so I picked the closest ones I could see

                    Build -> Clean Project “feathercoin-qt”
                    Build -> Run qmake
                    Build -> Build Project “feathercoin-qt”

                    But next I don’t see the

                    “Press button 4. Compile output. > To watch the build messages and complete”

                    I’ve got two sets of buttons down the left of QTcreator, the second set has a “build project feathercoin-qt” button at fourth place so I hit that as another guess, and now I’ve got this folder

                    Home/user/build-feathercoin-qt-Desktop-Debug

                    inside that I’ve got

                    Home/user/build-feathercoin-qt-Desktop-Debug/build

                    • which is empty - and a makefile

                    I don’t now what’s going on here, I’m a build and make noob, am I missing something obvious ?

                    1 Reply Last reply Reply Quote 0
                    • I
                      Icingsugar last edited by

                      Can’t this be done just using ‘make’ ?

                      That seemed to work for other coin clients.

                      1 Reply Last reply Reply Quote 0
                      • Wellenreiter
                        Wellenreiter Moderators last edited by

                        [quote name=“Icingsugar” post=“44405” timestamp=“1387053002”]
                        Can’t this be done just using ‘make’ ?

                        That seemed to work for other coin clients.
                        [/quote]

                        There are several options to compile the wallet and wrapper described the designer approach.

                        you also could try to compile by changing into the directory containing the feathercoin-qt.pro file, do a 'qmake ’ followed by a ‘make’.

                        can be “USE_UPNP=1 USE_QRCODE=1”, but not required for the comilation and basic operation of the wallet.

                        Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                        Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post