Hello everybody!
I am new to Astra camera and I’m trying to learn the basics by using Visual studio 2019 and studying the SDK user guide.
I have downloaded the SDK and extracted it to a folder names ASTRA_HOME and I put it in the folder “repos” where all my visual studio’s projects are located.
I have runned all the samples exes and everything is fine.
Now, I have created a new project and in the main.cpp file I have written the code below as the guide writes.
#include <astra/astra.hpp>
#include <cstdio>
#include <iostream>
int main(int argc, char** argv)
{
astra::initialize();
// what will go here? you'll find out soon!
astra::terminate();
std::cout << "hit enter to exit program" << std::endl;
std::cin.get();
return 0;
}
but I get LNK2019 errors and I guess that I don’t write the path for lib files with the proper way.
At first, I had also problem with the astra.hpp file but when I changed the path of the directory I solved it.
Generally, the way that the user guide is written doesn’t help me a lot.
Could anybody help me with this?
Thank you in advance.