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

warning: always_inline function might not be inlinable [-Wattributes] #14

Open
TonderaiZR opened this issue Sep 7, 2016 · 0 comments
Open

Comments

@TonderaiZR
Copy link

Hello I have been trying to compile and run the library with the instructions with out sucess.

Hope you can help.

[ 91%] Built target image_distort_viewer
In file included from /home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/OVR.h:18:0,
from /home/odroid/aidrone/src/oculus/oculus_driver/include/oculus_driver/oculus_ros.h:4,
from /home/odroid/aidrone/src/oculus/oculus_driver/src/oculus_ros.cpp:1:
/home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/../Src/Kernel/OVR_Allocator.h:139:23: warning: always_inline function might not be inlinable [-Wattributes]
OVR_FORCE_INLINE void Destruct(T pobj)
^
/home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/../Src/Kernel/OVR_Allocator.h:94:22: warning: always_inline function might not be inlinable [-Wattributes]
OVR_FORCE_INLINE T
Construct(void p)
^
In file included from /home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/../Src/Kernel/OVR_String.h:26:0,
from /home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/../Src/OVR_Device.h:27,
from /home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/OVR.h:23,
from /home/odroid/aidrone/src/oculus/oculus_driver/include/oculus_driver/oculus_ros.h:4,
from /home/odroid/aidrone/src/oculus/oculus_driver/src/oculus_ros.cpp:1:
/home/odroid/aidrone/src/oculus/oculus_driver/LibOVR/Include/../Src/Kernel/OVR_Alg.h:56:50: warning: always_inline function might not be inlinable [-Wattributes]
template OVR_FORCE_INLINE const T PMin(const T a, const T b)
^
Linking CXX shared library /home/odroid/aidrone/devel/lib/liboculus_ros.so
/usr/bin/ld.bfd.real: cannot find -lovr
collect2: error: ld returned 1 exit status
make[2]: *
* [/home/odroid/aidrone/devel/lib/liboculus_ros.so] Error 1
make[1]: *** [oculus/oculus_driver/CMakeFiles/oculus_ros.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

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

1 participant