Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
I am trying to figure out what the problem is with my Toolkit. I have a toolkit (DLL) that I compiled using VS2010 and it works fine.
Now I am trying to do some modification to it and compile it for Creo4. In the mean time change computer, so no more VS2010 installed.
I get this message:
Anyone can give me a hint on how to fix this?
Here's some settings:
The only change from my previous compile, id the Creo path change from Creo 2 to Creo4, and also the "protk_dll_NU.lib" was "protk_dll.lib".
Thanks
Solved! Go to Solution.
According to the user guide Appendix E it looks like you need to add ucore.lib and udata.lib to the library list.
The files are located on the same directory as protk_dll_NU.lib
According to the user guide Appendix E it looks like you need to add ucore.lib and udata.lib to the library list.
The files are located on the same directory as protk_dll_NU.lib
Thanks GabrielZaha, it did solve the issue. Never caught that detail !!
Hello Team,
I am facing this similar issue and provided solution or workaround doesn't work fine with me...
I am migrating my Creo toolkit code base from VS 2010 to VS 2019 to upgrade it with few functionalities later; but face an error regarding protk_dll_NU.lib to build a solution.
All of them was related to object files in protk_dll_NU.lib.. I had also added udata.lib and ucore.lib into library dependencies as per previous solution to similar issue. but doesn't seem to work. refer images attached.
any quick solution or workaround will be greatly appreciated...!
Thank you,
Regards,
Srinivasan.C
looks like kernel32.lib, user32.lib and so on are missing from your link targets.
when moving from release to release it is generally a good idea to use LIBS line from make_install_cxx file in toolkit OBJ directory when setting up link targets in visual studio.
HIH.
Thanks a lot...!
Provided solution worked perfectly fine for me..!