bethesirius / ChosunTruck

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

error appeared: "This project references NuGet packages(s) that are missing......" #39

Open Mikemraz opened 6 years ago

Mikemraz commented 6 years ago

I was strictly following the instrctions provided in wiki. But an error appeared when I tried to build. image And the options are set to update packages automatically. image please note that I have used the .vcxproj file that founders offered us. And I have set all the required configuration correctly. What's the reason of this error? How can I fix it?

zappybiby commented 6 years ago

What version of Visual Studio do you have?

Mikemraz commented 6 years ago

@zappybiby hi, I am using vs2015

zappybiby commented 6 years ago

Can you try directly installing the nuget package?

Go to 'Tools' -> 'Nuget Package Manger' -> 'Package Manager Console'

and type Install-Package opencv.win.native -Version 320.1.1-vs141

zappybiby commented 6 years ago

Created a new issue about this - https://github.com/bethesirius/ChosunTruck/issues/40

Our project is slightly out of date 😃

Mikemraz commented 6 years ago

@zappybiby thank you for your kind response. I have redownloaded all the project files and went through all the necessary procedure as well as you mentioned in #40. But the same problem arose again. I have a thought. In the earliar CUDA installing part, I could not integrate CUDA to visual studio2015(though in the window of installation it told me it was integrated). So I kind of did that by hand, which means I drag the files in CUDA to VS2015 folder. And this helped the custamization option of CUDA appear in VS2015. Below are these files: image Is it possiple that this unnatural configuration cause the problem? image

zappybiby commented 6 years ago

I don't believe the CUDA installation would cause this issue.

Do you have a 'packages' directory in your Chosuntruck folder? If so, can you verify that your file structure looks the same as the one that appears here:

packages

Mikemraz commented 6 years ago

@zappybiby Sure, exactly the same as yours. image

zappybiby commented 6 years ago

Ok, since the files are there, there are three things you can try to do:

  1. In the Nuget Package Manger console type Update-Package -reinstall
  2. clear Nuget cache by going to Options -> NugetPackageManager -> Clear All Nuget Cache(s)
  3. Delete a section of the .csproj file as mentioned here: https://stackoverflow.com/a/36264930/7430976
Mikemraz commented 6 years ago

@zappybiby I have tried 1 and 3, another error message appeared... I am so tired. Now we are kind of working on another software WeBot, what we want to do is to build autonomous cars along with normal cars at a network level. So another 2 software is used: SUMO and OpenStreetMap. The key prolbem is to build the autonomous car's module in WeBot, can you give us some suggestions on where to find already-existing projects or libraries we can plug in to build driving-less cars so we do not need to spend much time learning how to code in ROS and robotics?