apollo icon indicating copy to clipboard operation
apollo copied to clipboard

not created folder bazel-bin on apollo (branch master)

Open AlexandrZabolotny opened this issue 6 years ago • 8 comments

Why do not create folder bazel-bin with library?? There is a need to install apollo again before a new launch

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • ros kinetic
  • Apollo installed from (source):
  • Apollo version (5.5.0):

AlexandrZabolotny avatar May 11 '20 17:05 AlexandrZabolotny

Why do not create folder bazel-bin with library?? There is a need to install apollo again before a new launch

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • ros kinetic
  • Apollo installed from (source):
  • Apollo version (5.5.0):

The bazel-bin folder will be created by bazel automatically if you follow the build steps. Could you please discribe your problem in more detail?

changsh726 avatar May 12 '20 07:05 changsh726

My steps
1.
git clone [email protected]:ApolloAuto/apollo.git
cd apollo
git checkout master
2. bash docker/scripts/dev_start.sh
3. bash docker/scripts/dev_into.sh
4. bash apollo.sh build

after finish installation was successful
And result in my folder

apollo

My problem - bazel-bin folder was not created by bazel automatically

AlexandrZabolotny avatar May 12 '20 08:05 AlexandrZabolotny

The bazel-bin in the original folder is a soft link, you can visit the bazel-bin folder in the docker container.

changsh726 avatar May 12 '20 08:05 changsh726

Why after reboot my PC and start apollo I see this?
Before the reboot, everything worked

apollo@in_dev_docker:/apollo$ bash ./scripts/bootstrap.sh 
nohup: appending output to 'nohup.out'
Could not launch module monitor. Is it already built?
nohup: appending output to 'nohup.out'
Launched module dreamview.
Failed to start Dreamview. Please check /apollo/data/log or /apollo/data/core for more information

AlexandrZabolotny avatar May 12 '20 08:05 AlexandrZabolotny

Have you run bash apollo.sh build in the docker container? The build steps need to be redone after a reboot.

changsh726 avatar May 12 '20 09:05 changsh726

Have you run bash apollo.sh build in the docker container? The build steps need to be redone after a reboot.

Did I understand correctly?
Should I rebuild the project after each reboot of the PS? Why?

But for version 5.0.0 there wasn’t

AlexandrZabolotny avatar May 12 '20 09:05 AlexandrZabolotny

Have you run bash apollo.sh build in the docker container? The build steps need to be redone after a reboot.

Did I understand correctly? Should I rebuild the project after each reboot of the PS? Why?

But for version 5.0.0 there wasn’t

In the lastest master branch, IIRC this issue was fixed in https://github.com/ApolloAuto/apollo/pull/11215 As for the r5.5.0 branch, the pr was https://github.com/ApolloAuto/apollo/pull/11255

storypku avatar May 16 '20 01:05 storypku

thank

AlexandrZabolotny avatar May 17 '20 18:05 AlexandrZabolotny