rsjudka / intelligent-auto

41 stars 15 forks source link

Installation issues #3

Closed yoriaantje-dev closed 4 years ago

yoriaantje-dev commented 4 years ago

I can't seem to install based on the new commands, installing on RPi3B+ with clean OS installation. Problem occors when using the cmake to build, seems to be related to the dependicies part of the file.

yoriaantje-dev commented 4 years ago

I'll provide debugging info when able

rsjudka commented 4 years ago

if you can provide the cmake output i can try to help debug this issue

yoriaantje-dev commented 4 years ago

@rsjudka here's the cmake output info and files and stuff, I've also included an error I got with make, but I'm assuming this is a result from the cmake error.

CMake Files

CMakeError.log CMakeOutput.log These are the automatically generated files, CMake suggested I'd send these for debugging

Terminal output

(only from error and further down)

CMake Error at CMakeLists.txt:75 (add_dependencies):
  Cannot add target-level dependencies to non-existent target "auto".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.

-- Configuring incomplete, errors occurred!

Then, when running make I get:

make: *** No targets specified and no makefile found. Stop.

rsjudka commented 4 years ago

@yoriaantje-dev did you clone the dependencies as well? It looks like you're missing the OpenAuto stuff.

yoriaantje-dev commented 4 years ago

@rsjudka no, I've cloned only your repository. I didn't see any other repository's that I'd have to clone. If you were to tell me which ones, preferably with links, that be nice.

Also, please tell me what I need to do with the newly cloned repository's and were I need to put them. I've made a folder which contains your repo, so I'd guess alongside your repo in the folder AAProject?

rsjudka commented 4 years ago

@yoriaantje-dev so I've actually made it super easy and have aasdk and OpenAuto as submodules.

If you run this command: git clone --recursive https://github.com/rsjudka/intelligent-auto.git You should get all the files in the right locations. Then you can just run the build process and be good to go!

yoriaantje-dev commented 4 years ago

Yes! This worked perfectly, after installation (which took a while) everything seems to be working. I do have connection issues, but I'll be opening a seperate issue for this.

@rsjudka I do suggest adding this command to your readme containing the installation instructions, regardless, thanks for the help!