cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

protoolkit_NU.lib(srcstdstream.obj) : error LNK2019: unresolved external symbol __std_find_trivial_1

ED_KSRIF_KSIT
4-Participant

protoolkit_NU.lib(srcstdstream.obj) : error LNK2019: unresolved external symbol __std_find_trivial_1

Hello,

 

I'm trying to build a Project, wherein i get the below compilation error: Not sure where exactly is going wrong.

 

>protoolkit_NU.lib(srcstdstream.obj) : error LNK2019: unresolved external symbol __std_find_trivial_1 referenced in function "unsigned __int64 __cdecl std::_Find_elem<char,27>(char const (&)[27],char)" (??$_Find_elem@D$0BL@@std@@YA_KAEAY0BL@$$CBDD@Z)

 

Settings Done on Visual Studio 2019:

1. Added protoolkit_NU.lib in Linker->Input->AdditionalDependencies

2. Added "$(CREO_INSTALL)/otk/otk_cpp/x86e_win64/obj;$(CREO_INSTALL)/protoolkit/x86e_win64/obj;" under Linker->General->AdditionalLibraryDirectories

ACCEPTED SOLUTION

Accepted Solutions

Can you DM or attach your *.vcxproj file?

I have already developed a couple of Toolkit projects and if you want, I can check your Visual Studio Project file with one of mine to see if all necessary properties are present in the *.vcxproj file (because in the beginning I was also struggling with compilation/library errors)

Kind regards
Robrecht

View solution in original post

3 REPLIES 3

Can you DM or attach your *.vcxproj file?

I have already developed a couple of Toolkit projects and if you want, I can check your Visual Studio Project file with one of mine to see if all necessary properties are present in the *.vcxproj file (because in the beginning I was also struggling with compilation/library errors)

Kind regards
Robrecht

I solved the issue. It was related with new version of VS2022 to be used for building the solution, as it was dependent on V143 toolset.

 

Thanks much for the reply.

Announcements


Top Tags