build the bitcoin for windows in Ubuntu16.04 by used mingw #11298

issue chen610620 opened this issue on September 10, 2017
  1. chen610620 commented at 4:41 PM on September 10, 2017: none

    Hi: I will to build the bitcoin for windows in Ubuntu16.04 by used mingw.

    this is my step(follow the build_windows.md):

         1.  sudo apt-get install g++-mingw-w64-x86-64 mingw-w64-x86-64-dev  #(ok)
         2. cd depends && make HOST=x86_64-w64-mingw32   #(ok)
         3. cd ..
         4 ./autogen.sh #(ok)
         5 CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/  #(ok)

    but in the last step

       make
    

    It's error.

    ./primitives/basicobject.h:11:30: fatal error: cjson/cJSON_Utils.h: No such file or directory
     #include<cjson/cJSON_Utils.h>
    

    how to load the cjson? i have download the cjson source code . and

       make && sudo make install 
    

    but it is invalid

  2. MarcoFalke added the label Build system on Sep 10, 2017
  3. MarcoFalke added the label Questions and Help on Sep 10, 2017
  4. chen610620 commented at 2:31 AM on September 11, 2017: none

    I'm sorry. this error is by my code.

  5. chen610620 closed this on Sep 11, 2017

  6. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me