Skip to content

cannot open file 'usrsctplib\usrsctp_import.lib' #732

@ThrowawayTheSecond

Description

@ThrowawayTheSecond

I am using Visual Studio 2022 17.14.9 to compile the project on x64 windows to a dll. I switched sctp_build_shared_lib on and sctp_werror off because this warning would stop the build:

warning C4996: '_snprintf': This function or variable may be
unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

Then i proceeded with the steps in the manual.
The build fails with the error:

LINK : fatal error LNK1104: cannot open file '..\usrsctplib\Debug\usrsctp_import.lib' [C:\Users\domin\Downloads\New folder\programs
\tsctp_upcall.vcxproj]

The builds of the example apps fail all the same, except that they do not produce any warnings.
The file usrsctp_import.lib is apparently supposed to be in the cmake output, but i could not find it anywhere.
I tried to build with sctp_build_shared_lib off, and it seems to have built the .lib successfully, though i have not checked if it runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions