I tried to compile this in VS2013. I disabled precompiled header(shouldn't I ?).
I got these errors:
1 2 3 4
Error 1 error LNK2005: "struct config serverConfig" (?serverConfig@@3Uconfig@@A) already defined in configReader.obj D:\Info\cvis\emeralds\emeralds\emeralds.obj emeralds
Error 2 error LNK1169: one or more multiply defined symbols found D:\Info\cvis\emeralds\Debug\emeralds.exe 1 1 emeralds
I searched and I found that means I defined some things twice, but I don't know where .. :( How can I solve these problems ?
Am I right about what should I write in headers and source files ?