CRDS / Credits

Credits (CRDS) - An Evolving Currency For An Evolving Society
https://crds.co
Other
12 stars 14 forks source link

error: Unknown target type EXE #12

Closed bitdaric closed 5 years ago

bitdaric commented 5 years ago

Want to compile win 64bit in Ubuntu 14.04.5 LTS:

make HOST=i686-w64-mingw32

get this error:

Preprocessing boost...
Configuring boost...
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxx86_64/b2
Unicode/ICU support for Boost.Regex?... disabled.
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2

To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help

   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html

   - Boost.Build documentation:
     http://www.boost.org/build/doc/html/index.html

Building boost...
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/build/type.jam:157: in type.validate from module type
error: Unknown target type EXE
(builtin):-1: in sequence.transform from module sequence
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/build/generators.jam:237: in generator.__init__ from module object(installed-exe-generator)@4
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/tools/stage.jam:365: in class@installed-exe-generator.__init__ from module object(installed-exe-generator)@4
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/kernel/class.jam:90: in new from module class
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/tools/stage.jam:393: in load from module stage
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/tools/builtin.jam:26: in load from module builtin
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/build-system.jam:12: in load from module build-system
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/boost-build.jam:17: in module scope from module

make: *** [/home/Credits/depends/work/build/i686-w64-mingw32/boost/1_63_0-22abe73f60e/./.stamp_built] Error 1
andrewtookay commented 5 years ago

That's not the right HOST for Win64, it's this one: x86_64-w64-mingw32. Check out this https://github.com/CRDS/Credits/blob/master/doc/build-windows.md and this https://github.com/bitcoin/bitcoin/blob/v0.18.0/doc/build-windows.md.