Hi Richard, I have successfully built CLN for Windows 64 bit using MSVC. It requires some patches: https://github.com/jrheinlaender/cln/tree/w64 Some instructions are here, it describes cross-compiling with MSVC from Linux via Wine: https://ooo-imath.sourceforge.io/wiki/index.php/Cross-compiling_for_Windows Am 21.10.19 um 01:28 schrieb Richard Crozier via CLN-list:
Dear list, Kaveh,
I am trying to build CLN for windows 64 bit. I'm actually doing this by cross-compiling form linux using M Cross Environment (see www.mxe.cc for more information). When I try to build I get the folloinwg error:
libtool: compile: x86_64-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. -I../autoconf -I../include -I../src -I../include -I../src -g -O2 -MT base/cl_as_exception.lo -MD -MP -MF base/.deps/cl_as_exception.Tpo -c base/cl_as_exception.cc -o base/cl_as_exception.o libtool: compile: x86_64-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. -I../autoconf -I../include -I../src -I../include -I../src -g -O2 -MT base/cl_condition.lo -MD -MP -MF base/.deps/cl_condition.Tpo -c base/cl_condition.cc -o base/cl_condition.o In file included from ./base/cl_sysdep.h:10:0, from base/cl_alloca.cc:4: ../include/cln/intparam.h:26:2: error: #error "Type char * does not fit into a long!!" #error "Type char * does not fit into a long!!"
I noticed in a thread from eight years ago that this same problem existed back then:
https://www.ginac.de/pipermail/cln-list/2011-February/000607.html
Is it a huge amount of work to fix this? Did Kaveh ever share the work he did on it?
Best regards,
Richard
_______________________________________________ CLN-list mailing list CLN-list@ginac.de https://www.cebix.net/mailman/listinfo/cln-list