You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@8.17.0 | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/libjpeg-turbo/gyp/third-party/libjpeg-turbo/example.o
../gyp/third-party/libjpeg-turbo/example.c:380:5: error: implicit declaration of function 'put_scanline_someplace' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
put_scanline_someplace(buffer[0], row_stride);
^
1 error generated.
make: *** [Release/obj.target/libjpeg-turbo/gyp/third-party/libjpeg-turbo/example.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/lds/.nvm/versions/node/v8.17.0/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command "/Users/lds/.nvm/versions/node/v8.17.0/bin/node" "/Users/lds/.nvm/versions/node/v8.17.0/bin/node-gyp" "build"
gyp ERR! cwd /Users/lds/Desktop/images-lds
gyp ERR! node -v v8.17.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
The text was updated successfully, but these errors were encountered:
lidisheng
changed the title
error: implicit declaration of function 'put_scanline_someplace' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
mac上编译代码时报错:error: implicit declaration of function 'put_scanline_someplace' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
Mar 29, 2022
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@8.17.0 | darwin | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CC(target) Release/obj.target/libjpeg-turbo/gyp/third-party/libjpeg-turbo/example.o
../gyp/third-party/libjpeg-turbo/example.c:380:5: error: implicit declaration of function 'put_scanline_someplace' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
put_scanline_someplace(buffer[0], row_stride);
^
1 error generated.
make: *** [Release/obj.target/libjpeg-turbo/gyp/third-party/libjpeg-turbo/example.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/Users/lds/.nvm/versions/node/v8.17.0/lib/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command "/Users/lds/.nvm/versions/node/v8.17.0/bin/node" "/Users/lds/.nvm/versions/node/v8.17.0/bin/node-gyp" "build"
gyp ERR! cwd /Users/lds/Desktop/images-lds
gyp ERR! node -v v8.17.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
The text was updated successfully, but these errors were encountered: