Created
May 24, 2023 13:29
-
-
Save mrdotb/55bc775a9c55fce44ad6e4cb0363fc62 to your computer and use it in GitHub Desktop.
vix on windows compilation errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nmake /f makefile.win | |
Microsoft (R) Program Maintenance Utility Version 14.32.31329.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
del /Q /F priv | |
erl -noshell -s init stop -eval "io:setopts(standard_io, [{encoding, unicode}]), io:format(\"ERTS_INCLUDE_PATH=~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])." > Makefile.auto.win | |
nmake /F Makefile.win priv\vix.dll | |
Microsoft (R) Program Maintenance Utility Version 14.32.31329.0 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
if NOT EXIST "priv" mkdir "priv" | |
cl /O2 /EHsc /Ic_src /Ic_src\g_object /Ic_src\libvips\include /Ic_src\libvips\include\glib-2.0 /Ic_src\libvips\lib\glib-2.0\include /I"c:/Users/john/scoop/apps/erlang/23.3.4/erts-11.2.2/include/" /LD /MD /Fepriv\vix.dll c_src\pipe.c c_src\utils.c c_src\vips_boxed.c c_src\vips_foreign.c c_src\vips_image.c c_src\vips_interpolate.c c_src\vips_operation.c c_src\vix.c c_src\g_object\g_boxed.c c_src\g_object\g_object.c c_src\g_object\g_param_spec.c c_src\g_object\g_type.c c_src\g_object\g_value.c | |
Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31329 for x86 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
pipe.c | |
c_src\pipe.c(7): fatal error C1083: Cannot open include file: 'sys/wait.h': No such file or directory | |
utils.c | |
c_src\utils.c(5): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory | |
vips_boxed.c | |
vips_foreign.c | |
vips_image.c | |
c_src\vips_image.c(380): error C2065: 'ssize_t': undeclared identifier | |
c_src\vips_image.c(380): error C2146: syntax error: missing ';' before identifier 'length' | |
c_src\vips_image.c(380): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(394): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(395): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(396): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(414): error C2057: expected constant expression | |
c_src\vips_image.c(414): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(414): error C2133: 'header_name': unknown size | |
c_src\vips_image.c(468): error C2057: expected constant expression | |
c_src\vips_image.c(468): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(468): error C2133: 'name': unknown size | |
c_src\vips_image.c(520): error C2057: expected constant expression | |
c_src\vips_image.c(520): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(520): error C2133: 'name': unknown size | |
c_src\vips_image.c(521): error C2057: expected constant expression | |
c_src\vips_image.c(521): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(521): error C2133: 'gtype_name': unknown size | |
c_src\vips_image.c(577): error C2057: expected constant expression | |
c_src\vips_image.c(577): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(577): error C2133: 'name': unknown size | |
c_src\vips_image.c(611): error C2057: expected constant expression | |
c_src\vips_image.c(611): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_image.c(611): error C2133: 'header_name': unknown size | |
c_src\vips_image.c(615): error C2065: 'ssize_t': undeclared identifier | |
c_src\vips_image.c(615): error C2146: syntax error: missing ';' before identifier 'length' | |
c_src\vips_image.c(615): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(642): error C2065: 'length': undeclared identifier | |
c_src\vips_image.c(644): error C2065: 'length': undeclared identifier | |
vips_interpolate.c | |
vips_operation.c | |
c_src\vips_operation.c(545): warning C4133: 'function': incompatible types - from 'unsigned long *' to 'ErlNifUInt64 *' | |
c_src\vips_operation.c(582): error C2057: expected constant expression | |
c_src\vips_operation.c(582): error C2466: cannot allocate an array of constant size 0 | |
c_src\vips_operation.c(582): error C2133: 'gtype_name': unknown size | |
vix.c | |
g_boxed.c | |
g_object.c | |
g_param_spec.c | |
g_type.c | |
g_value.c | |
c_src\g_object\g_value.c(95): warning C4133: 'function': incompatible types - from 'long *' to 'ErlNifSInt64 *' | |
c_src\g_object\g_value.c(124): warning C4133: 'function': incompatible types - from 'unsigned long *' to 'ErlNifUInt64 *' | |
c_src\g_object\g_value.c(309): error C2065: 'ssize_t': undeclared identifier | |
c_src\g_object\g_value.c(309): error C2146: syntax error: missing ';' before identifier 'length' | |
c_src\g_object\g_value.c(309): error C2065: 'length': undeclared identifier | |
c_src\g_object\g_value.c(316): error C2065: 'length': undeclared identifier | |
c_src\g_object\g_value.c(317): error C2065: 'length': undeclared identifier | |
c_src\g_object\g_value.c(318): error C2065: 'length': undeclared identifier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment