Cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with building error LNK2019

Siemens Pioneer Siemens Pioneer
Siemens Pioneer

I created a simple NXOpen project based on C++. and the programe is also simple too. I set up the project according to the instructions and have had all the Additional Include Directories, Preprocessor and Additional Library Directories set correctly.

 

However, when I built the project there will be constantly poping the errors below. I searched for solutions on the internet considering this error and tried out several of them but I am still getting it. I'm looking forward to hearing from you and your advice. Appreciate a lot!

 

the libraries are of NX12 and my VS version is 2015.

2018-10-26_10-10-51.png

1 REPLY 1

Re: Need help with building error LNK2019

Siemens Pioneer Siemens Pioneer
Siemens Pioneer

problem has been solved.

 

it seems thing has changed in setting up the project and more libraries need to be included in the project.

 

I used the way below to include all the .lib and .obj in the project and then it worked.

 

kits\ugopen\*.obj

kits\ugopen\*.lib