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

    [Solved] Compile issues with a Feathercoin Fork

    Newbies - New Members Must Start Here
    6
    36
    16379
    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.
    • I
      ironsniper last edited by

      if there is one just for windows i am not seeing it and nothing with zxing in it except for the linux/unix ones and the error comes up during the ./configure and it complains about not finding zxing no matter what i try

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

        There is a little bug in the configure script. It should not enable use_qr if no zxing is found:

        --with-qrcode           enable QR code support (default is yes if qt is
                              enabled and libzxing is found)
        

        Run ‘configure --with-qrcode=no’ and it will compile.

        The wallet will be fully functional, only no qr codes can be scanned.

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

        I 1 Reply Last reply Reply Quote 0
        • I
          ironsniper @Wellenreiter last edited by ironsniper

          @Wellenreiter said:

          There is a little bug in the configure script. It should not enable use_qr if no zxing is found:

          --with-qrcode           enable QR code support (default is yes if qt is
                                enabled and libzxing is found)
          

          Run ‘configure --with-qrcode=no’ and it will compile.

          The wallet will be fully functional, only no qr codes can be scanned.

          i have tried --with-qrcode=no and it still tries to find zxing

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

            Is it during the configure step or the compile?

            It seems that you are using a different code than I do.

            can you check with ‘./configure --help’ if there is a --with-zxing=no option?

            Also for me to better understand, so please forgive that question:

            what exactly did you do to compile the code?

            The normal way is to download or clone the code from github and then run

            • ./autogen.sh
            • ./configure [–options]
            • make

            By the way, if you are compiling for others, not for yourself, why not using the ‘official’ binary, that is available from the resources section of www.feathercoin.com?

            The direct link to the downlaod is https://github.com/FeatherCoin/Feathercoin/releases/download/v0.8.7.3/feathercoin-qt.exe

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

            I 1 Reply Last reply Reply Quote 1
            • I
              ironsniper @Wellenreiter last edited by ironsniper

              @Wellenreiter said in compile issues:

              Is it during the configure step or the compile?

              It seems that you are using a different code than I do.

              can you check with ‘./configure --help’ if there is a --with-zxing=no option?

              Also for me to better understand, so please forgive that question:

              what exactly did you do to compile the code?

              The normal way is to download or clone the code from github and then run

              • ./autogen.sh
              • ./configure [–options]
              • make

              By the way, if you are compiling for others, not for yourself, why not using the ‘official’ binary, that is available from the resources section of www.feathercoin.com?

              The direct link to the downlaod is https://github.com/FeatherCoin/Feathercoin/releases/download/v0.8.7.3/feathercoin-qt.exe

              i am not compiling feathercoin its a coin based off the feathercoin source code, there is also no option --with-zxing=no and this is the error i get during the configure part

              configure: WARNING: libzxing not found; coin-qt frontend will not be built

              i am sure if i could find the correct one and figure out where to put the files so it will see it i am sure i can get it to compile

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

                I’m not sure quite what to say, it would be impossible for even Albert Einstein to diagnose a problem without the relevant information.

                I pointed out we need to know what was done and the output to help, it turns out it wasn’t even a Feathercoin build? ¯_(ツ)_/¯

                • If you point us to the Github, and give us the output, someone might be able to help.
                • The subject should have been brought up in an “Off Topic” thread, or at least in “Support” with the full details of which coin it is. Members have helped other coins before (Litecoin, Phoenixcoin, Catcoin, UFOcoin, etc)
                • You could apply to add a Coin-Qt in the Alternative coins section of the forum and build up some community support there.
                1 Reply Last reply Reply Quote 0
                • I
                  ironsniper last edited by ironsniper

                  this is a new coin that has not been released or announced yet, but the coin itself doesnt matter, when i first made this thread i was working on voxels which was using the feathercoin source code, but because of that zxing error the dev switched the source code to something that was easier for me to compile but now i have someone asking me to do a wallet using this source again and i still cant figure out how to add zxing to my deps for compiling so that the ./configure option will see it

                  i guess my main question is how do i get my compiler (mingw/msys) or the ./configure to look for and find zxing so it can be used

                  AcidD 1 Reply Last reply Reply Quote 0
                  • AcidD
                    AcidD Moderators @ironsniper last edited by

                    @ironsniper said in compile issues:

                    i guess my main question is how do i get my compiler (mingw/msys) or the ./configure to look for and find zxing so it can be used

                    http://forum.feathercoin.com/topic/8570/dev-release-candidate-feathercoin-0-9-3-2-check-list/34

                    check that post I made for replicating in Ubuntu, read the whole thing but please use the 0.9.3.1 if you’re going to test with Feathercoin. I gave instructions for libzxing

                    • FTC Block Explorer + API @ https://fsight.chain.tips
                    • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                    • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                    • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      ironsniper @AcidD last edited by

                      @aciddude said in compile issues:

                      @ironsniper said in compile issues:

                      i guess my main question is how do i get my compiler (mingw/msys) or the ./configure to look for and find zxing so it can be used

                      http://forum.feathercoin.com/topic/8570/dev-release-candidate-feathercoin-0-9-3-2-check-list/34

                      check that post I made for replicating in Ubuntu, read the whole thing but please use the 0.9.3.1 if you’re going to test with Feathercoin. I gave instructions for libzxing

                      is that for compiling for windows or linux? cause i am compiling for windows on windows not linux

                      AcidD 1 Reply Last reply Reply Quote 0
                      • AcidD
                        AcidD Moderators @ironsniper last edited by

                        @ironsniper said in compile issues:

                        @aciddude said in compile issues:

                        @ironsniper said in compile issues:

                        i guess my main question is how do i get my compiler (mingw/msys) or the ./configure to look for and find zxing so it can be used

                        http://forum.feathercoin.com/topic/8570/dev-release-candidate-feathercoin-0-9-3-2-check-list/34

                        check that post I made for replicating in Ubuntu, read the whole thing but please use the 0.9.3.1 if you’re going to test with Feathercoin. I gave instructions for libzxing

                        is that for compiling for windows or linux? cause i am compiling for windows on windows not linux

                        Yep I see that. Just worth pointing out even when I had the zxing folder in my source it was still looking for two other files… Maybe windows is doing something similar ?

                        • FTC Block Explorer + API @ https://fsight.chain.tips
                        • FTC Beer Money: 6x4LEQV88zRnBvZoH6ZNK6SeRxx4KiTyJs
                        • FTC bech32 address: fc1q4tclm3cv4v86ez6el76ewmharexfapxhek5a03
                        • BTC bech32 address: bc1qk8umuccapuafspk9e5szahvp0detafuzugv4ay

                        I 1 Reply Last reply Reply Quote 1
                        • I
                          ironsniper @AcidD last edited by

                          @aciddude so you put the zxing into the source for the wallet? does it go in any particular folder or? maybe thats why it cant find it, cause i have no idea if i have the correct files for zxing or if i am evern putting them in the correct place as i cannot find anything coins besides feather that has this thing

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

                            @ironsniper

                            What is the feathercoin code base/github/branch you used to fork the new coin and did you change any of the .m4 files or files under the diffenrent m4 directories?

                            With the feathercoin code base I can check the FTC configure script and the ac-files and if we have the same bug there, I probably can fix it, in a way, that you can disable qr support and compile the gui

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

                            I 1 Reply Last reply Reply Quote 0
                            • I
                              ironsniper @Wellenreiter last edited by

                              @Wellenreiter said in compile issues:

                              @ironsniper

                              What is the feathercoin code base/github/branch you used to fork the new coin and did you change any of the .m4 files or files under the diffenrent m4 directories?

                              With the feathercoin code base I can check the FTC configure script and the ac-files and if we have the same bug there, I probably can fix it, in a way, that you can disable qr support and compile the gui

                              i have no idea what version atm, the person gave me access to a private github with the source and just asked me to try and do a compile

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

                                You will understand, that is is nearly impossible to help without the code we are talking about :(

                                Sorry

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

                                I 1 Reply Last reply Reply Quote 1
                                • I
                                  ironsniper @Wellenreiter last edited by

                                  @Wellenreiter said in compile issues:

                                  You will understand, that is is nearly impossible to help without the code we are talking about :(

                                  Sorry

                                  not your fault or anything, best i can do is just ask how do i put zxing into the source code or where on my computer to put it and add code some where to where when i do the configure it will see it, because the error i am getting just means my compiler is not setup correctly to work with zxing and feather coin is the only one i have EVER seen use zxing, why i dont know

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

                                    You have all the information to fix your problem. We have had to work implementing zxing and integrating with different versions as well. …

                                    It is an impossible black box for us to fix your problem for you.

                                    If it is open source project make the Github public, the license does mean you need to do that at some time anyway …

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      ironsniper @wrapper last edited by

                                      @wrapper said in compile issues:

                                      You have all the information to fix your problem. We have had to work implementing zxing and integrating with different versions as well. …

                                      It is an impossible black box for us to fix your problem for you.

                                      If it is open source project make the Github public, the license does mean you need to do that at some time anyway …

                                      thats not up to me, i just do the compile and thats it, i didnt setup the source etc and honestly i dont have any information to fix my problem, cause all the information is linux only not windows, best way to recreate my issue is follow this guide https://bitcointalk.org/index.php?topic=149479.0 and just use updated source for openssl etc and when you get to the configure part you will get the error

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

                                        Ok after reading the thread in bitcointalk, I suggest to try the following:

                                        • download and compile the libzxing code https://github.com/glassechidna/zxing-cpp

                                        • add the libzxing location to the compiler flags

                                          • after compiling zxing you should have a libzxing.dll or equivalent on your system.
                                          • add that directory to the include directories by setting CPPFLAGS and LDFLAGS as it is done for qr-code and described in the bitcoin thread use the directory containing libzxing.a or libzxin.dll as target for the -I option

                                          Then add relevant CPPFLAGS and LDFLAGS when configuring Bitcoin:
                                          Code:

                                          CPPFLAGS=“-I/c/deps/db-4.8.30.NC/build_unix
                                          -I/c/deps/openssl-1.0.1l/include
                                          -I/c/deps
                                          -I/c/deps/protobuf-2.6.1/src
                                          -I/c/deps/libpng-1.6.16
                                          -I/c/deps/qrencode-3.4.4
                                          -I/c/deps/gmp-6.0.0”
                                          LDFLAGS=“-L/c/deps/db-4.8.30.NC/build_unix
                                          -L/c/deps/openssl-1.0.1l
                                          -L/c/deps/miniupnpc
                                          -L/c/deps/protobuf-2.6.1/src/.libs
                                          -L/c/deps/libpng-1.6.16/.libs
                                          -L/c/deps/qrencode-3.4.4/.libs
                                          -L/c/deps/gmp-6.0.0/.libs” \

                                        • run configure and make

                                        The above is just a suggestion, how I’d try to solve the problem. I have no experience with windows compiles at all

                                        Another try could be to star with a 0.8.7 based fork of the code. 0.8.7.X doesn’t use libzxing.

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

                                        I 1 Reply Last reply Reply Quote 0
                                        • I
                                          ironsniper @Wellenreiter last edited by

                                          @Wellenreiter said in compile issues:

                                          Ok after reading the thread in bitcointalk, I suggest to try the following:

                                          • download and compile the libzxing code https://github.com/glassechidna/zxing-cpp

                                          • add the libzxing location to the compiler flags

                                            • after compiling zxing you should have a libzxing.dll or equivalent on your system.
                                            • add that directory to the include directories by setting CPPFLAGS and LDFLAGS as it is done for qr-code and described in the bitcoin thread use the directory containing libzxing.a or libzxin.dll as target for the -I option

                                            Then add relevant CPPFLAGS and LDFLAGS when configuring Bitcoin:
                                            Code:

                                            CPPFLAGS=“-I/c/deps/db-4.8.30.NC/build_unix
                                            -I/c/deps/openssl-1.0.1l/include
                                            -I/c/deps
                                            -I/c/deps/protobuf-2.6.1/src
                                            -I/c/deps/libpng-1.6.16
                                            -I/c/deps/qrencode-3.4.4
                                            -I/c/deps/gmp-6.0.0”
                                            LDFLAGS=“-L/c/deps/db-4.8.30.NC/build_unix
                                            -L/c/deps/openssl-1.0.1l
                                            -L/c/deps/miniupnpc
                                            -L/c/deps/protobuf-2.6.1/src/.libs
                                            -L/c/deps/libpng-1.6.16/.libs
                                            -L/c/deps/qrencode-3.4.4/.libs
                                            -L/c/deps/gmp-6.0.0/.libs” \

                                          • run configure and make

                                          The above is just a suggestion, how I’d try to solve the problem. I have no experience with windows compiles at all

                                          Another try could be to star with a 0.8.7 based fork of the code. 0.8.7.X doesn’t use libzxing.

                                          well i will give that a try next time, i started extracting zxing to different places in the source code and kept trying to use the --with-qrcode=no and found out that i was not putting a \ after and did that it started to compile after i ran the ./configure, but it errored out still trying to find something from zxing for some reason, so i went back to the link posted by @aciddude and notice something about a line in a file for zxing needing to be changed from private to public and saved and now i have the wallet compiled! thank you all for your help!

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

                                            @ironsniper Really glad we could help, much kudos to Wellenreiter for the “blind fix” … :)

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