Skip to content

Failed to build in Windows... #42

@fenngineering

Description

@fenngineering

Hello,

I'm running the below

npm install sspi-client

Which fails to build due to the use of snprintf.

I believe this was deprecated in MS VC++ in favour of a more secure behaviour.

I need to build sspi-client to be able to use windows auth in the tedious driver, however I can't build it in windows.

This is the output, if you need anymore info let me know.

..\src_native\sspi_impl.cpp(72): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(106): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(118): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(214): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(267): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(287): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_impl.cpp(328): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_client.cpp(76): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] C:\Users\USER\App\node_modules\nan\nan.h(1618) : see declaration of 'Nan::Callback::Call' ..\src_native\sspi_impl.cpp(351): error C3861: 'snprintf': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_client.cpp(161): warning C4996: 'Nan::Callback::Call': was declared deprecated [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] C:\Users\USER\App\node_modules\nan\nan.h(1618) : see declaration of 'Nan::Callback::Call' ..\src_native\sspi_client.cpp(205): error C3861: 'AsyncQueueWorker': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj] ..\src_native\sspi_client.cpp(300): error C3861: 'AsyncQueueWorker': identifier not found [C:\Users\USER\App\node_modules\sspi-client\build\sspi-client.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions