mithi / highway-path-planning

My path-planning pipeline to navigate a car safely around a virtual highway with other traffic.
MIT License
40 stars 28 forks source link

make error:CMakeFiles/path_planning.dir/build.make:62: recipe for target 'CMakeFiles/path_planning.dir/src/main.cpp.o' failed #1

Closed yunxiaoshan closed 7 years ago

yunxiaoshan commented 7 years ago

As the title, what is the possible reason for that?

mithi commented 7 years ago

What OS are you running this? Have you installed all dependencies correctly without errors on your OS? See dependencies section of https://github.com/udacity/CarND-Path-Planning-Project/blob/master/README.md

yunxiaoshan commented 7 years ago

-now I manually install all the dependencies, and re-organize the code in QT. now, it shows that /home/usi/qt_project/high_way_path_planning_v1/src/main.cpp:254: error: no matching function for call to ‘uWS::Hub::onMessage(main()::<lambda(uWS::WebSocket<true>, char*, size_t, uWS::OpCode)>)’ }); ^ and also the .onconnection has the same error. So, what is the possible reason for that?

yunxiaoshan commented 7 years ago

I found the problem, now it could build successfully. It should be caused by the update of the uWebSocket, I just change the h.onMessage([&pathConverter,&just_starting](uWS::WebSocket<uWS::SERVER> ws, char *data, size_t length, uWS::OpCode opCode) to h.onMessage([&pathConverter,&just_starting](uWS::WebSocket<uWS::SERVER>* ws, char *data, size_t length, uWS::OpCode opCode). Now uWS::WebSocket<uWS::SERVER> only support pointer definition. And also other problems.

mithi commented 7 years ago

@yunxiaoshan thanks for sharing the solution! you might also be interested in running this https://github.com/mithi/bosch-challenge

yunxiaoshan commented 7 years ago

H Hi, It seems the term 3 simulator does not match the File in Bosch, any tips for that? Best Shan

On 2017年10月13日周五 下午8:43 Mithi Sevilla notifications@github.com wrote:

@yunxiaoshan https://github.com/yunxiaoshan thanks for sharing the solution! you might also be interested in running this https://github.com/mithi/bosch-challenge

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/mithi/highway-path-planning/issues/1#issuecomment-336442048, or mute the thread https://github.com/notifications/unsubscribe-auth/AQsH9lnaIX6BWdq4Cz1iWn0rGW7f_Ef_ks5sr1r9gaJpZM4P2esl .

mithi commented 6 years ago

@yunxiaoshan

Here's the Bosch simulator: https://github.com/udacity/Bosch-Challenge/releases