• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compling Error..

Marko999x

ArchezOt soon
Premium User
Joined
Dec 14, 2017
Messages
3,974
Solutions
104
Reaction score
3,108
Location
Germany
What im doing wrong?
tfs 0.4


6e47b8cde1cbb35cffbb1880d5a22c86.png

Gyazo (https://gyazo.com/6e47b8cde1cbb35cffbb1880d5a22c86)

my sources does not have "otpch.cpp" only otpch.h

I have checked about 3 different sources ( tfs 0.4 ) noone of these has otpch.cpp
 
I think otpch.cpp first time existed on 1.0 to any newer updates, I have my 0.4 without otpch.cpp and I can compile it properly without any errors.
Are you sure you added the right includes/boosts? Also if you have more than one boost/includes added to your system Environment Variables then Visual Studio will merge all of them to your current solution/project and it will cause compiling errors.
 
So best solution would be to delete all microsoft stuff and download them again?
I think otpch.cpp first time existed on 1.0 to any newer updates, I have my 0.4 without otpch.cpp and I can compile it properly without any errors.
Are you sure you added the right includes/boosts? Also if you have more than one boost/includes added to your system Environment Variables then Visual Studio will merge all of them to your current solution/project and it will cause compiling errors.
 
I had this issue before and I had to remove vcpkg to be able to compile my old source (Maybe you'll have to do same).
Or you can give it a few time maybe someone else reply with different solution.
 
Back
Top