-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fatal error: 'uWS/uWS.h' file not found #14
Comments
You're missing the websockets library. Look inside the install_ubuntu.sh. it states: git clone https://github.com/uWebSockets/uWebSockets
cd uWebSockets
# git checkout e94b6e1
mkdir build
cd build
cmake ..
make
sudo make install Not sure why the checkout command is commented out, you may need that for compatibility with the code in main.cpp |
Does it matter where we manage uWebSockets folder if we have both paths (/usr/local/include and /usr/include)? I have a Mac computer |
Generally it doesn't matter as long as the sources can be found by your toolchain. |
toolchain? I googled an online setup and was wondering if this is the correct link to follow. |
Sorry, with toolchain I meant whatever set of tools you use for compiling. Your compiler needs to be able to find the sources you're including. If you're using a mac, check out install-mac.sh and see if that works for you |
Thank you! After Setting up install-mac.sh on my terminal, everything compiles. |
Also I notice I didn't have to call git clone https://github.com/uWebSockets/uWebSockets Is this something I should worry about even though my code compiled? |
Those commands should have been automatically executed when you called ``install-mac.sh``. and no, if your code compiles you don't have to worry about that :-)
|
@rchavezj Were you ever able to fix this issue? I'm running into it in XCode. |
I'm sorry but I haven't touched the code in almost a year. I believe @dominikandreas was right tho because I remember the program worked eventually. Gluck @deniskrop |
Install uWebSocketsSee Detail: https://github.com/udacity/CarND-Path-Planning-Project/blob/master/install-ubuntu.shsudo apt-get install libuv1-dev libssl-dev libz-dev |
I didn't touch any of main.cpp and I notice this error.
The text was updated successfully, but these errors were encountered: