I have a Lua Project that on its own works just fine. I have a GDNative project that works fine by itself. When I add the Lua project in, I get all these errors that say lua_State* is already defined is there a way to fix this in C++. I tried making a namespace.

    It could be that my Lua stuff is done with C and not done in a class the Lua project has Classes though.

    AI_Messiah is there a way to fix this in C++

    Yes. I have a hunch what's going on but I need more info for a good answer.

    2 months later

    I am using Visual Studio and I found that I needed to set my linker command to /FORCE:MULTIPLE it works really well with library conflicts all C++ programmers should know about this.