To start I want to say I’m not that great at static linking, dynamic linking, SDK, all the different settings visual studio has. I’m a game programmer who mostly works with game engines and I almost never have to link any SDK to projects.
I tried to follow these steps to the best of my ability.
Step 1: was easy .
Then with step 2, I used visual studio community 2019 (I couldn’t get 2017 to get to work because of missing plugins that I couldn’t find). I selected Release as my configuration and as the platform I selected x64.
At step 3: I opened up an Unreal Project that I wanted to test OpenNurbs with. For anyone who is not familiar with Unreal. It is a C++ game engine.
Then with step 4 I had and still have a lot of trouble. At first when I read “In your project’s stdafx.h” I thought okay this file is a file that is in every C++ project so I need to search in my Unreal Project. That was not the case and a friend explained to me I just needed to use the sdtafx.h file in the OpenNurbs folders. Then I put those lines in that file with the right path and in my Unreal projects .h file I put this include line:
#include "D:\Downloads\opennurbs-7.x\opennurbs-7.x\freetype263\stdafx.h" and I also went to the
project properties -> VC++ Directories -> Include Directories and added
I now get the link error:
LNK1104 cannot open file 'D:/Downloads/opennurbs-7.x/opennurbs-7.x/bin/x64/Release/freetype263.lib'
And indeed there is no freetype263.lib file at that location. Did I mess up at step 2 or I’m doing something else wrong?
Sorry if this is something very obvious, but I can’t figure it out