-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Build instructions lead to #include error on Eigen/Dense #1
Comments
Ah, sorry about that, perhaps we need to fix the docs, the variable should be named EIGEN_ROOT. |
Ah sorry my bad. I did call it EIGEN_ROOT, but have HOME on the brain for some reason. Still not working though. |
So searching through the source, I don't seen any references to EIGEN_ROOT, within the source code. I am assuming that path should be referenced in the "Include Directores" right? |
It will be in the make files, either cmake or .vcxproj. It looks for eigen3 folder inside EIGEN_ROOT, so if you removed that you may need to put that back, and you do not include eigen3 in the EIGEN_ROOT. |
I had the same problem.
Try to run the test "HelloDrone". The Boost environment variable has been found while building the project, the EIGEN_ROOT variable isn't. Error: Error C1083 Cannot open include file: 'Eigen/Dense': No such file or directory AirLib e:\projects\airsim\airlib\include\common\vectormath.hpp 12 Here's what i found in the "Project Properties" of Airlib under C/C++ - Additional Include Directories:
The fix was that the EIGEN_ROOT should contain another folder named Eigen3. I moved all files of the directory in that folder and it was fixed :) @jwusch does that fix your problem? |
As long as you have environment variable |
I also tried to make the Eigen install instructions more clear, see install_eigen.md. |
I ran into this issue today while setting up. I modified the docs for both Eigen and Boost to be clearer and created a PR: #23 |
Changing ImageWrapper.h for compilation with UE 4.18
Removed a cast to float to fix a bug in the time delta calculation.
I had this issue on win 10 and UE4.18 . Inside AirSim\AirLib\deps there are two folders, eign-eign- and eign3. The latter was empty so I copied the contents of eign-eign- into eign3 and the compilation worked |
merge upstream
* Reduced warning level in Unity build * Pr/2672 (#1) * [Unity] Reduce build warnings Change -Weverything to -Wextra * [Travis] Simplify Unity build command * [Unity] Fix missing override warnings Co-authored-by: Rajat Singhal <[email protected]>
when i meet this question, i try to open the script file 'build.cmd', according to the contents of this script file |
The link you reference to download Eigen does not work anymore. Site says, "Repository eigen/eigen not found." |
I had the same issue: first "Repository eigen/eigen not found." but the link is correct, I think you need to open the Developer prompt as admin In order to solve the problem of "Eigen/Dense" error I copied all files of eigen-3.3.7 to eigen3 as indicated by yejuns here https://github.com/microsoft/AirSim/issues/1#issuecomment-627275245 |
If anyone is still having this issue, I found that I only had an empty eigen3 folder and no eigen-eigen- folder. I had to grab the contents of an old installation that worked and put it inside eigen3 to fix it. I've attached the folder I placed inside eigen3 here. |
Lidar optimize
Following build instructions from here gives me an error inside of VS2015 "cannot open source file "Eigen/Dense" AirLib c:\boost_1_63_0\AirSim\AirSim\AirLib\include\common\VectorMath.hpp 12
I have set EIGEN_HOME env variable, and manually added that to the project's "Include Directories" under the property panel, but no joy.
The text was updated successfully, but these errors were encountered: