LiJiangnanBit / path_optimizer

Optimization-based real-time path planning for vehicles.
MIT License
526 stars 139 forks source link

[build] Given package 'path_optimizer' is not in the workspace #13

Open xinchu911 opened 3 years ago

xinchu911 commented 3 years ago

I am a beginner of ROS. I followed your instruction to build package. After I input this command, the following error occured. Could you please give some hints to me. Thanks a lot in advance.

catkin build path_optimizer
--------------------------------------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/kinetic::/opt/Qt5.5.1/5.5/gcc_64/lib/cmake:/opt/Qt5.5.1/5.5/gcc_64/lib/cmake
Workspace:                   /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer
--------------------------------------------------------------------------------
Build Space:        [exists] /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/build
Devel Space:        [exists] /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/devel
Install Space:      [unused] /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/install
Log Space:         [missing] /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/logs
Source Space:       [exists] /home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/src
DESTDIR:            [unused] None
--------------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
--------------------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
--------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
--------------------------------------------------------------------------------
Workspace configuration appears valid.
--------------------------------------------------------------------------------
[build] No packages were found in the source space '/home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer/src'
[build] Given package 'path_optimizer' is not in the workspace
LiJiangnanBit commented 3 years ago

image

Maybe you should build it under "/home/rgs/Desktop/1.code/demo/workspace" instead of "/home/rgs/Desktop/1.code/demo/workspace/src/path_optimizer".

Hope this helps.