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

Trying to build 'Example_13_2_SimpleWebcamDemo' on Eclipse on Ubuntu 14.04 #88

Open
Nesh108 opened this issue May 20, 2015 · 1 comment

Comments

@Nesh108
Copy link

Nesh108 commented May 20, 2015

Hello,

As I have posted on the oglplus repo (matus-chochlik/oglplus#114), I also thought of trying here.

I am currently trying to get the example 13_2 running on my Eclipse.
All the includes and linking should be correct but I still get some build errors from oglplus.

Can anyone help me out?

P.S. I also tried to compile those examples from this project (using cmake) and it also failed in the same place. Is it a known issue?

@Nesh108
Copy link
Author

Nesh108 commented May 20, 2015

Matus fixed that issue concerning oglplus really quickly but now I am still stuck with some other parts.
[ These examples seem really impossible to build...]

I am getting the following errors and I just don't know what to add/include/link anymore:

Candidates are:
oglplus::Reference<oglplus::ObjectOps<oglplus::tag::CurrentBound,oglplus::ObjectTargetTag<#0::Target>::Type>> Bound(#0::Target, const #0 &)
'   OculusRiftTest.cpp  /OculusRiftTest/src line 102
Invalid arguments '
Candidates are:
? loadPlane(?, float)
'   OculusRiftTest.cpp  /OculusRiftTest/src line 95
Method 'Bind' could not be resolved OculusRiftTest.cpp  /OculusRiftTest/src line 120
Method 'Image2D' could not be resolved  OculusRiftTest.cpp  /OculusRiftTest/src line 103    
Invalid arguments '
Candidates are:
void renderGeometry(? &, ? &, const ? &)
void renderGeometry(? &, ? &)
void renderGeometry(? &, ? &, ?)
'   OculusRiftTest.cpp  /OculusRiftTest/src line 121
Function 'guard' could not be resolved  OculusRiftTest.cpp  /OculusRiftTest/src line 43
Symbol 'mutex' could not be resolved    OculusRiftTest.cpp  /OculusRiftTest/src line 43
Symbol 'mutex' could not be resolved    OculusRiftTest.cpp  /OculusRiftTest/src line 52
Symbol 'lock_guard' could not be resolved   OculusRiftTest.cpp  /OculusRiftTest/src line 52
//usr/local/lib/libovr.a(OVR_ThreadsPthread.cpp.o): undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12'  OculusRiftTest
Invalid arguments '
Candidates are:
oglplus::Reference<oglplus::ObjectOps<oglplus::tag::CurrentBound,oglplus::ObjectTargetTag<#0::Target>::Type>> Bound(#0::Target, const #0 &)
'   OculusRiftTest.cpp  /OculusRiftTest/src line 90
Function 'guard' could not be resolved  OculusRiftTest.cpp  /OculusRiftTest/src line 52
Method 'MinFilter' could not be resolved    OculusRiftTest.cpp  /OculusRiftTest/src line 92
Method 'MagFilter' could not be resolved    OculusRiftTest.cpp  /OculusRiftTest/src line 91
Type 'std::thread' could not be resolved    OculusRiftTest.cpp  /OculusRiftTest/src line 18
Type 'std::mutex' could not be resolved OculusRiftTest.cpp  /OculusRiftTest/src line 19
Function 'thread' could not be resolved OculusRiftTest.cpp  /OculusRiftTest/src line 32
Method 'join' could not be resolved OculusRiftTest.cpp  /OculusRiftTest/src line 38
Symbol 'lock_guard' could not be resolved   OculusRiftTest.cpp  /OculusRiftTest/src line 43

This one came up after I thought of adding 'libovr' to the linker:

//usr/local/lib/libovr.a(OVR_ThreadsPthread.cpp.o): undefined reference to symbol 'pthread_setname_np@@GLIBC_2.12'  OculusRiftTest

I hope any of this helps :/

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