-
Notifications
You must be signed in to change notification settings - Fork 818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target "OSM_A_star_search" links to target "Cairo::Cairo" but the target was not found. #19
Comments
I've encountered the same problem and what helped was to add vckpg\installed\x64-windows\bin and add vckpg\installed\x64-windows\include to PATH. (probably just one of them would be enough I need to check which one). Also I guess modyfing CMakeLists.txt to include paths above would do the trick |
@mFontoura and @j-jakubowski I'm having the same problem, how did you fix it please? I tried to add the directories you mentioned to PATH but I still get this error message. I would really appreciate your help since I've been stuck with the problem for a week now. |
To be honest after solving this problem I encountered some more difficulties and decided it's not worth wasting time on setting up this one-time project on windows. I'd recommend using udacity workspace or setting up everything on regular VM or on Ubuntu for Windows (the latter being my weapon of choice - linux environment with IDE on windows, brilliant!) |
Hey
Your binary should be named 'OSM_A_Star_search' and it should be located in
build folder. Run it with argument -f path_to_osm_file and it should run.
śr., 10 cze 2020 o 22:59 Walid Chekkouri <[email protected]>
napisał(a):
… @j-jakubowski <https://github.com/j-jakubowski> I have taken your advice,
howerver how can I run the map.osm file, because when I build it, I don't
get a bin folder in the root repo, the only bin folder I have is in the
build folder & it doesn't contain the files necessary to build!
[image: image]
<https://user-images.githubusercontent.com/11277981/84317905-7c14b580-ab65-11ea-95ad-c4220646d745.png>
[image: image]
<https://user-images.githubusercontent.com/11277981/84317928-85058700-ab65-11ea-934e-9e8a85f065eb.png>
This is the command used in the course (screenshot from course tuto):
[image: image]
<https://user-images.githubusercontent.com/11277981/84317969-99498400-ab65-11ea-8d94-3cfdc3813dca.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASNSC77GDFXCSDO5YC2LZTRV7X3LANCNFSM4KJ2OYOQ>
.
|
On windows, I met the same issue. |
I simply used their own Udacity Workspace instead. |
Hi @mFontoura and other participants, |
In Windows I tried to start the first project today but I'm still stuck on the setup of "Building and Running". I want to use a local environment so I'm not using the VM. I think I have installed all the dependencies correctly but I still have errors when trying to "cmake" this repo. I get an error on the line:
add_executable(OSM_A_star_search src/main.cpp src/model.cpp src/render.cpp src/route_model.cpp src/route_planner.cpp)
on the command line i get:
Any ideas?
The text was updated successfully, but these errors were encountered: