swi-prolog / docker-swipl-build-mingw Goto Github PK
View Code? Open in Web Editor NEWDocker to cross-compile SWI-Prolog for Windows
Docker to cross-compile SWI-Prolog for Windows
Following the instructions, after make run
and selected build_win64
:
-- Build files have been written to: /home/swipl/src/swipl-devel/build.win64
[28/2577] Building C object src/CMakeFiles/swipl-ld.dir/swipl-ld.c.obj
../src/swipl-ld.c: In function 'createOutput':
../src/swipl-ld.c:1629:12: warning: implicit declaration of function 'fchmod'; did you mean 'chmod'? [-Wimplicit-function-declaration]
1629 | if ( fchmod(ofd, 0777 & ~mask) != 0 )
| ^~~~~~
| chmod
[57/2577] Linking C executable src/swipl-ld.exe
FAILED: src/swipl-ld.exe
: && /usr/bin/x86_64-w64-mingw32-gcc -O2 -gdwarf-2 -g3 src/CMakeFiles/swipl-ld.dir/swipl-ld.c.obj src/CMakeFiles/swipl-ld.dir/os/windows/uxnt.c.obj -o src/swipl-ld.exe -Wl,--out-implib,src/libswipl-ld.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && :
/usr/lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/bin/ld: src/CMakeFiles/swipl-ld.dir/swipl-ld.c.obj: in function `createOutput':
/home/swipl/src/swipl-devel/build.win64/../src/swipl-ld.c:1629: undefined reference to `fchmod'
collect2: error: ld returned 1 exit status
[58/2577] Building C object src/CMakeFiles/swiplobjs-pgo-instrumented.dir/pl-wam.c.obj
ninja: build stopped: subcommand failed.
CPack: Create package using NSIS
CPack: Install projects
CPack: - Install project: SWI-Prolog []
CPack: - Install component: Archive_interface
CMake Error at /home/swipl/src/swipl-devel/build.win64/packages/archive/cmake_install.cmake:36 (file):
file INSTALL cannot find
"/home/swipl/src/swipl-devel/build.win64/src/archive4pl.dll": No such file
or directory.
Call Stack (most recent call first):
/home/swipl/src/swipl-devel/build.win64/cmake_install.cmake:86 (include)
CPack Error: Error when generating package: swipl
And I have already pull request that just edits the README to fix it here: #2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.