지난 몇 시간 동안 windows에서 node-gd
을 실행하려고합니다. 여러 repos 시도하고 결국 찾은 https://github.com/mikesmullin/node-gd. 내가windows에 노드 -gd 설치
`npm install node-gd`
를 실행할 때 나는 다음과 같은 오류를 받고 있어요 :
node-gyp rebuild
...node_modules\node-gd>node "C:\Program Files\nodejs\node_modules\npm\
bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
node-gd.cpp
..\cpp\node-gd.cpp(17): fatal error C1083: Cannot open include file: 'gd.h': No
such file or directory [...\node_modules\node-gd\build\node_gd.vcxproj
]
은 내가 gd
lib 디렉토리를 설치해야한다고 생각하지만, 내가 봤 때, 거의 모든 정보가 없습니다 lib 디렉토리 자체에 대한 대한 php_gd
입니다 .
gd
파일을 어디에 넣어야합니까?
편집 : 컴파일했습니다. 지금은 받고 있어요 :
확인이 https://github.com/mikesmullin/node-gd/issues/14 – vinayr
@vinayr 지금은 LINK '받고 있어요 : 치명적인 오류 LNK1181 : 열 수 없습니다 입력 파일'gd.lib '[ ... \ node_m odules \ node-gd \ build \ node_gd.vcxproj] – Deepsy
@Deepsy : 해결책을 찾았습니까? – darma