Skip to content
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

Ubuntu 18.04 dependencies #15

Open
mihaibujanca opened this issue Jul 10, 2019 · 13 comments
Open

Ubuntu 18.04 dependencies #15

mihaibujanca opened this issue Jul 10, 2019 · 13 comments

Comments

@mihaibujanca
Copy link
Owner

mihaibujanca commented Jul 10, 2019

sudo apt-get -y install libvtk6.3 libvtk6-dev unzip libflann-dev wget mercurial git gcc cmake python-numpy freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libxmu-dev libxi-dev libboost-all-dev cvs libgoogle-glog-dev libatlas-base-dev gfortran gtk2.0 libgtk2.0-dev libproj12 libproj-dev libyaml-0-2 libyaml-dev libyaml-cpp-dev libhdf5-dev libhdf5-dev
@mihaibujanca
Copy link
Owner Author

hg not listed as a dependency, but needed for cloning eigen

@mihaibujanca mihaibujanca changed the title GTK dependency breaks make deps Ubuntu 18.04 dependencies Jul 10, 2019
@mihaibujanca
Copy link
Owner Author

Freeimage does not build:

Source/LibRawLite/./internal/dcraw_common.cpp: In member function ‘void LibRaw::PentaxLensInfo(unsigned int, unsigned int)’:
Source/LibRawLite/./internal/dcraw_common.cpp:6251:80: error: call of overloaded ‘powf64(int, int)’ is ambiguous
    10*(table_buf[iLensData+9]>>2) * powf64(4, (table_buf[iLensData+9] & 0x03)-2);
```                                                                                ^

@mihaibujanca
Copy link
Owner Author

Fix for FreeImage: comment out the definition on line 6482

static float powf64(float a, float b) { return powf_lim(a, b, 64.f); }

@Paul92
Copy link
Collaborator

Paul92 commented Jul 10, 2019 via email

@Paul92
Copy link
Collaborator

Paul92 commented Jul 10, 2019 via email

@mihaibujanca
Copy link
Owner Author

mihaibujanca commented Jul 10, 2019

Have you checked recent commits? I remember that some of the issues with freeimage were fixed on their master branch.

Tried the master branch, it seems to have the same problem even though there's a closed issue saying it was fixed in a different version. I'll probably create a patches directory in deps/ and apply it as a patch when building dependencies.

@mihaibujanca
Copy link
Owner Author

Need to add Protobuf in dependencies list for SemanticFusion

@mihaibujanca
Copy link
Owner Author

#5 Is related to this. Should also test with Octave to avoid MATLAB licensing issues

@Paul92
Copy link
Collaborator

Paul92 commented Jul 10, 2019 via email

@mihaibujanca
Copy link
Owner Author

Maybe leave this as an issue for SlamBench 4.0? :D

That was my plan :)

@mihaibujanca
Copy link
Owner Author

mihaibujanca commented Jul 10, 2019

Add OpenBLAS and cuBLAS to dependency list for SemanticFusion (Caffe)

@mihaibujanca
Copy link
Owner Author

In ORB-SLAM2, change the explicit OpenCV 3.0 find in CMake to OpenCV > 3.0

@matthewspear
Copy link
Collaborator

Fix for FreeImage: comment out the definition on line 6482

static float powf64(float a, float b) { return powf_lim(a, b, 64.f); }

FYI this is in the file deps/repos/FreeImage/Source/LibRawLite/internal/dcraw_common.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants