bethesirius / ChosunTruck

Euro Truck Simulator 2 autonomous driving solution
732 stars 104 forks source link

Cannot build solution different LNKXXXX errors everytime #29

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi this is to continue what was happening in the bad magic number in .pyc issue. I cannot build the solution because i get FATAL ERROR all the time saying different LNKXXXX issues but now it is coming up with different ones that i had before.

ghost commented 7 years ago

It is windows but i have screenshots of what it is doing image

zappybiby commented 7 years ago

I made this to help: https://github.com/zappybiby/ChosunTruck/wiki/Windows-Installation

Hopefully they publish that here.

zappybiby commented 7 years ago

Try using my project file given there. Open Notepad(++), copy the information here, then save as ets2_auto_driving.vcxproj. Make sure that when you save as you select "all files" as file type, because it will otherwise save it as "ets2_auto_driving.vcxproj.txt".

zappybiby commented 7 years ago

if you are still having issues, send me screenshots of your property pages (C++, linker, CUDA)

ghost commented 7 years ago

I'm getting this http://imgur.com/a/Us6o1

ghost commented 7 years ago

screenshot 186 I did the file again but still same error

zappybiby commented 7 years ago

So a number of problems from what I see.

You are not using the project file I gave you. There are several problems I see currently.

  1. You are trying to run with Win32 instead of x64.
  2. CUDA is not integrated into your project (See wiki...)
  3. You need the nuget packages. Just open the console and window should pop up telling you to restore packages. I know that this window WILL appear if you use my project file.

In conclusion, please just use my project file. There are way too many things I would need to fix to get yours to run.

Once you have my Project file, you need to follow the wiki starting from "Editing the Property Pages"

You also need to make sure that under project -> Build Configurations has CUDA7.5 and Nuget packages checked.

Again, don't try any of the changes above before using my project file. You need to remove the project file you are currently using.