I have two projects in the same Visual Studio 2019 solution. My first project creates an exe whereas the second is a dynamic library. I've linked the second project to the first one, so now I can use class, structs, variables and functions that are declared and defined in the second project in the first one. But I can't call functions in the project 2 that are in the project 1. I do not know how can I link my first project to the second.
When I try to access to the project 1 when I'm in the second, linker errors appears
AlienEngineCore.obj : error LNK2019: external symbol "void __cdecl log(char const * const,int,char const *,...)" (?log@@YAXQBDHPBDZZ) unresolved to which reference is made in functi¾n "void __cdecl LogToConsole(void)" (?LogToConsole@@YAXXZ)