xubuntu 12.10 Oculus SDK v0.2.3 make error
big thanks to Oculus for pushing out a Linux SDK. I am having a problem getting it installed though.
Fully updated xubuntu 12.10 install. gcc 4.7
What I tried:
Extracted ovr_sdk_linux_0.2.3.tar.gz to :
~/OculusSDK
successfully ran:
./ConfigurePermissionsAndPackages.sh
full output: http://pastebin.com/Uqa9a97M
ran "make all" and encountered the following error:
g++: error: unrecognized command line option ‘-Wl’
full make error output here: http://pastebin.com/zdWnDfwz
-------------------------------------
Running:
./ OculusConfigurationUtility.sh
produces a lib file:
libudev.so.0
attempting to enable permissions on it yields:
cos@DEADBEEF:~/OculusSDK$ sudo chmod a+rwx libudev.so.0
chmod: cannot operate on dangling symlink `libudev.so.0'
A gcc developer mentioned that ‘-Wl’ is likely not needed in gcc 4.7. but when I searched the makefile for it I was unable to locate it in order to remove the compiler option.
is there another makefile that contains '-Wl' that I can try removing it from?
am I building it in the wrong place?
Thanks in advance!
Any help in getting this built would be appreciated.
-------------------------------------
Thus far I have been unable to find:
installation instructions
supported distributions
dependencies
-------------------------------------
Fully updated xubuntu 12.10 install. gcc 4.7
What I tried:
Extracted ovr_sdk_linux_0.2.3.tar.gz to :
~/OculusSDK
successfully ran:
./ConfigurePermissionsAndPackages.sh
full output: http://pastebin.com/Uqa9a97M
ran "make all" and encountered the following error:
g++: error: unrecognized command line option ‘-Wl’
full make error output here: http://pastebin.com/zdWnDfwz
../../LibOVR/Src/Kernel/OVR_Alg.h:56:50: warning: always_inline function might not be inlinable [-Wattributes]
g++ -Wl -O1 -L../../LibOVR/Lib/Linux/Release/x86_64 -o ./Release/OculusWorldDemo_x86_64_Release ./Obj/Linux/Release/x86_64/OculusWorldDemo.o ./Obj/Linux/Release/x86_64/Player.o ./Obj/Linux/Release/x86_64/Platform.o ./Obj/Linux/Release/x86_64/Linux_Platform.o ./Obj/Linux/Release/x86_64/Linux_Gamepad.o ./Obj/Linux/Release/x86_64/Render_Device.o ./Obj/Linux/Release/x86_64/Render_GL_Device.o ./Obj/Linux/Release/x86_64/Render_LoadTextureDDS.o ./Obj/Linux/Release/x86_64/Render_LoadTextureTGA.o ./Obj/Linux/Release/x86_64/Render_XmlSceneLoader.o -lovr -ludev -lpthread -lGL -lX11 -lXinerama
g++: error: unrecognized command line option ‘-Wl’
make[1]: *** [Release/OculusWorldDemo_x86_64_Release] Error 1
make[1]: Leaving directory `/home/cos/OculusSDK/Samples/OculusWorldDemo'
make: *** [Samples/OculusWorldDemo/Release/OculusWorldDemo_Release/x86_64] Error 2
-------------------------------------
Running:
./ OculusConfigurationUtility.sh
produces a lib file:
libudev.so.0
attempting to enable permissions on it yields:
cos@DEADBEEF:~/OculusSDK$ sudo chmod a+rwx libudev.so.0
chmod: cannot operate on dangling symlink `libudev.so.0'
A gcc developer mentioned that ‘-Wl’ is likely not needed in gcc 4.7. but when I searched the makefile for it I was unable to locate it in order to remove the compiler option.
is there another makefile that contains '-Wl' that I can try removing it from?
am I building it in the wrong place?
Thanks in advance!
Any help in getting this built would be appreciated.
-------------------------------------
Thus far I have been unable to find:
installation instructions
supported distributions
dependencies
-------------------------------------
