wx/wxprec.h: No such file or directory

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












OS: Linux Mint 18.2 Cinnamon 64-bit.



I would like to compile the following:




p7zip_16.02_src_all.tar.bz2



with SHA256:




5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f



I extracted it as follows:



tar -xjf p7zip_16.02_src_all.tar.bz2


I read README file, specifically, that I need to replace the makefile with my machine's equivalent:




According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine



So I did:



cp makefile.linux_amd64 makefile.machine


It also says it is possible to build in parallel, in my case of 8 cores:




If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET



So I did:



make -j 8 all_test


With the result:




Everything is Ok



Now, I would like to proceed further, but:



make -j 8 depend


this throws errors:




fatal error: wx/wxprec.h: No such file or directory



So, I searched for a package that contains the header file:



apt-file search wxprec.h


which says:




wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h



So, I installed that package:



sudo apt-get install wx3.0-headers


but it still throws the same error.







share|improve this question
















  • 1




    Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
    – Inian
    Oct 28 '17 at 10:19














up vote
0
down vote

favorite












OS: Linux Mint 18.2 Cinnamon 64-bit.



I would like to compile the following:




p7zip_16.02_src_all.tar.bz2



with SHA256:




5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f



I extracted it as follows:



tar -xjf p7zip_16.02_src_all.tar.bz2


I read README file, specifically, that I need to replace the makefile with my machine's equivalent:




According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine



So I did:



cp makefile.linux_amd64 makefile.machine


It also says it is possible to build in parallel, in my case of 8 cores:




If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET



So I did:



make -j 8 all_test


With the result:




Everything is Ok



Now, I would like to proceed further, but:



make -j 8 depend


this throws errors:




fatal error: wx/wxprec.h: No such file or directory



So, I searched for a package that contains the header file:



apt-file search wxprec.h


which says:




wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h



So, I installed that package:



sudo apt-get install wx3.0-headers


but it still throws the same error.







share|improve this question
















  • 1




    Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
    – Inian
    Oct 28 '17 at 10:19












up vote
0
down vote

favorite









up vote
0
down vote

favorite











OS: Linux Mint 18.2 Cinnamon 64-bit.



I would like to compile the following:




p7zip_16.02_src_all.tar.bz2



with SHA256:




5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f



I extracted it as follows:



tar -xjf p7zip_16.02_src_all.tar.bz2


I read README file, specifically, that I need to replace the makefile with my machine's equivalent:




According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine



So I did:



cp makefile.linux_amd64 makefile.machine


It also says it is possible to build in parallel, in my case of 8 cores:




If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET



So I did:



make -j 8 all_test


With the result:




Everything is Ok



Now, I would like to proceed further, but:



make -j 8 depend


this throws errors:




fatal error: wx/wxprec.h: No such file or directory



So, I searched for a package that contains the header file:



apt-file search wxprec.h


which says:




wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h



So, I installed that package:



sudo apt-get install wx3.0-headers


but it still throws the same error.







share|improve this question












OS: Linux Mint 18.2 Cinnamon 64-bit.



I would like to compile the following:




p7zip_16.02_src_all.tar.bz2



with SHA256:




5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f



I extracted it as follows:



tar -xjf p7zip_16.02_src_all.tar.bz2


I read README file, specifically, that I need to replace the makefile with my machine's equivalent:




According to your OS, copy makefile.linux,
makefile.freebsd, makefile.cygwin, ...
over makefile.machine



So I did:



cp makefile.linux_amd64 makefile.machine


It also says it is possible to build in parallel, in my case of 8 cores:




If you want to make a parallel build on a 4 cpu machine : make -j 4 TARGET



So I did:



make -j 8 all_test


With the result:




Everything is Ok



Now, I would like to proceed further, but:



make -j 8 depend


this throws errors:




fatal error: wx/wxprec.h: No such file or directory



So, I searched for a package that contains the header file:



apt-file search wxprec.h


which says:




wx3.0-headers: /usr/include/wx-3.0/wx/wxprec.h



So, I installed that package:



sudo apt-get install wx3.0-headers


but it still throws the same error.









share|improve this question











share|improve this question




share|improve this question










asked Oct 28 '17 at 10:13









Vlastimil

6,4761147120




6,4761147120







  • 1




    Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
    – Inian
    Oct 28 '17 at 10:19












  • 1




    Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
    – Inian
    Oct 28 '17 at 10:19







1




1




Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
– Inian
Oct 28 '17 at 10:19




Could this help forums.codeblocks.org/index.php?topic=19402.0 ?
– Inian
Oct 28 '17 at 10:19










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










You need to build the dependencies before make command :



sudo apt-get build-dep p7zip


It will install the missing dependencies.






share|improve this answer



























    up vote
    1
    down vote













    sudo apt-get install libwxgtk3.0-dev


    did the trick.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f401032%2fwx-wxprec-h-no-such-file-or-directory%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote



      accepted










      You need to build the dependencies before make command :



      sudo apt-get build-dep p7zip


      It will install the missing dependencies.






      share|improve this answer
























        up vote
        2
        down vote



        accepted










        You need to build the dependencies before make command :



        sudo apt-get build-dep p7zip


        It will install the missing dependencies.






        share|improve this answer






















          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          You need to build the dependencies before make command :



          sudo apt-get build-dep p7zip


          It will install the missing dependencies.






          share|improve this answer












          You need to build the dependencies before make command :



          sudo apt-get build-dep p7zip


          It will install the missing dependencies.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 28 '17 at 10:35









          GAD3R

          22.7k154895




          22.7k154895






















              up vote
              1
              down vote













              sudo apt-get install libwxgtk3.0-dev


              did the trick.






              share|improve this answer
























                up vote
                1
                down vote













                sudo apt-get install libwxgtk3.0-dev


                did the trick.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  sudo apt-get install libwxgtk3.0-dev


                  did the trick.






                  share|improve this answer












                  sudo apt-get install libwxgtk3.0-dev


                  did the trick.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 28 '17 at 10:37









                  Vlastimil

                  6,4761147120




                  6,4761147120



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f401032%2fwx-wxprec-h-no-such-file-or-directory%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay