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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Object Toolkit C++ testing Async Example

Cecilia_E
7-Bedrock

Object Toolkit C++ testing Async Example

Hi all,
I´m new using Object Toolkit C++, I´ve been trying to start an application in Asynchronous mode, this app is from the installation folder examples (%CREO_INSTALL%\otk\otk_cpp\otk_async_examples\otk_async_examples_main\OTKAsyncXMain.cxx), but I´m getting the following error:
1>OTKAsyncXMain.obj : error LNK2001: unresolved external symbol "public: static class xrchandle<class pfcAsyncConnection> __cdecl pfcAsyncConnection::Start(char const *,char const *)" (?Start@pfcAsyncConnection@@SA?AV?$xrchandle@VpfcAsyncConnection@@@@PEBD0@Z)

1>%APPLOADPOINT%\otk_install\x64\Release\otk_install.exe : fatal error LNK1120: 1 unresolved externals
What I did was to add the OTKAsyncXMain.cxx example file into the otk_install solution and trying from there. I´m using Creo 4.0 M040 and Visual Basic 2015 version 14,please someone could help me to figure out what I´m doing wrong.

ACCEPTED SOLUTION

Accepted Solutions

I added the following Libraries and the linker message disappear.
otk_cpp_async.lib
pt_asynchronous.lib

View solution in original post

1 REPLY 1

I added the following Libraries and the linker message disappear.
otk_cpp_async.lib
pt_asynchronous.lib

Announcements


Top Tags