LNK2019: unresolved external symbol and LNK1120: 1 unresolved externals
-
This post is deleted!
-
Hi @hoandepchai,
well the linker is searching for a function (constructor)
GPSDriverUBX::GPSDriverUBXbut cannot find it (or maybe it cannot find the correct overload in case there are multiple definitions of this functions. It also says, this function is called from the functionvoid GPSProvider::run(void).So what I would do:
- Completely clean the build environment and rebuild everything
- Make sure you link the file that contains
GPSDriverUBX::GPSDriverUBX(in case that's an external library, make sure you link the library)
In case that does not help, have a look at the linker command line in the build output if you can spot something unusual.
Regards
-