These are chat archives for highfidelity/hifi

22nd
Aug 2014
Andrew Meadows
@AndrewMeadows
Aug 22 2014 00:03
The T pose initialization of the hydra controllers is something I wrote, so implemented in interface. Yes, the answer is (a), but I wrote some experimental code that was much like (b). It still exists in interface, but is not used.
I couldn't get the measurement of the "vertical" to work well so I bypassed it. In short: my Hydra calibration code assumes that the Hydra's orb is on a level surface. If this is not the case then you'll get strange readings.
Also, the calibration code doesn't work well if the orb is rotated a significant amount. For best results keep the orb on left side with cable connectors on the back side away from you.
David Rowe
@ctrlaltdavid
Aug 22 2014 00:11
@AndrewMeadows Thanks. Though it looks like the experimental code is active: it goes through all states "left", "up", "forward" if you follow the instructions in the code comments. Though it does seem to work best if you do just the (a) part!
whatSocks
@whatSocks
Aug 22 2014 00:19
Hello!
Clément Brisset
@Atlante45
Aug 22 2014 00:19
Hi
whatSocks
@whatSocks
Aug 22 2014 00:20
I'm trying to build HiFi using homebrew and it seems to require a lot of work getting everything to connect properly
Clément Brisset
@Atlante45
Aug 22 2014 00:20
Are you following the build guide?
whatSocks
@whatSocks
Aug 22 2014 00:20
yes
I got this error: Homebrew/homebrew#29938, "fixed" it, now there's another error
Clément Brisset
@Atlante45
Aug 22 2014 00:25

Did you execute exactly those 4 lines ?

brew tap highfidelity/homebrew-formulas
brew install cmake glm openssl
brew install highfidelity/formulas/qt5
brew link qt5 —force

If so, when is the error occuring ?

whatSocks
@whatSocks
Aug 22 2014 00:30
when I ran cmake ..
Clément Brisset
@Atlante45
Aug 22 2014 00:31
What do you get when you type:
echo $QT_CMAKE_PREFIX_PATH
whatSocks
@whatSocks
Aug 22 2014 00:32
/usr/local/Cellar/qt5/5.2.1/lib/cmake
Clément Brisset
@Atlante45
Aug 22 2014 00:32
And for:
ls /usr/local/Cellar/qt5/5.2.1/lib/cmake
whatSocks
@whatSocks
Aug 22 2014 00:32
Qt5 Qt5Gui Qt5Network Qt5Qml Qt5SerialPort Qt5WebKitWidgets
Qt5Bluetooth Qt5Help Qt5Nfc Qt5Quick Qt5Sql Qt5Widgets
Qt5Concurrent Qt5LinguistTools Qt5OpenGL Qt5QuickTest Qt5Svg Qt5Xml
Qt5Core Qt5MacExtras Qt5OpenGLExtensions Qt5Script Qt5Test Qt5XmlPatterns
Qt5Declarative Qt5Multimedia Qt5Positioning Qt5ScriptTools Qt5UiTools
Qt5Designer Qt5MultimediaWidgets Qt5PrintSupport Qt5Sensors Qt5WebKit
Clément Brisset
@Atlante45
Aug 22 2014 00:33
Ok
Can you send me the error you get then?
whatSocks
@whatSocks
Aug 22 2014 00:34
first, I got: `CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
 "/usr/local//mkspecs/macx-clang"`` 
then saw someone had the same issue, did what they did to edit it, which was to change some config files to say this get_filename_component(_qt5Core_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../Cellar/qt5/5.2.1/" ABSOLUTE)
I'll undo that and send you the original error, brb
Clément Brisset
@Atlante45
Aug 22 2014 00:35
ok
whatSocks
@whatSocks
Aug 22 2014 00:37
 The imported target "Qt5::Core" references the file

     "/usr/local//mkspecs/macx-clang"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:123 (include)
  /usr/local/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package)
  cmake/macros/SetupHifiProject.cmake:31 (find_package)
  assignment-client/CMakeLists.txt:3 (setup_hifi_project)
Clément Brisset
@Atlante45
Aug 22 2014 00:44
Have you ever installed Qt with brew before today?
whatSocks
@whatSocks
Aug 22 2014 00:45
no
Clément Brisset
@Atlante45
Aug 22 2014 00:46
What do you get with that:
ls /usr/local/Cellar/qt5
There might have been an error when you taped into our formulaes
or when you linked qt5
whatSocks
@whatSocks
Aug 22 2014 00:47
5.2.1
should i delete it and rebrew
thanks for your help btw
Clément Brisset
@Atlante45
Aug 22 2014 00:48
Well first let’s see if you’re tapped correctly.
No pb
retype those lines:
brew tap highfidelity/homebrew-formulas
brew install highfidelity/formulas/qt5
brew link qt5 —force
Tell me what you get at each step
whatSocks
@whatSocks
Aug 22 2014 00:49
Warning: Already tapped!
Warning: qt5-5.2.1 already installed
Warning: Already linked: /usr/local/Cellar/qt5/5.2.1
To relink: brew unlink qt5 && brew link qt5
Clément Brisset
@Atlante45
Aug 22 2014 00:51
What’s weird is that cmake is looking for Qt at /usr/local/lib/cmake/ like it’s ignoring QT_CMAKE_PREFIX_PATH
whatSocks
@whatSocks
Aug 22 2014 00:54
what should i do?
Clément Brisset
@Atlante45
Aug 22 2014 00:56
Maybe try a clean build. Erase the build directory you created.
Make sure echo $QT_CMAKE_PREFIX_PATH prints out /usr/local/Cellar/qt5/5.2.1/lib/cmake and then run cmake .. -GXcode again
whatSocks
@whatSocks
Aug 22 2014 00:59
with just -GXcode
Clément Brisset
@Atlante45
Aug 22 2014 00:59
?
How did you run cmake earlier
This message was deleted
whatSocks
@whatSocks
Aug 22 2014 01:00
cmake ..
Clément Brisset
@Atlante45
Aug 22 2014 01:00
Oh ok, it works now?
whatSocks
@whatSocks
Aug 22 2014 01:00
haven't done it yet, I meant to ask - should I use cmake .. -GXcode or plain cmake .. ?
Clément Brisset
@Atlante45
Aug 22 2014 01:01
Use -GXcode
whatSocks
@whatSocks
Aug 22 2014 01:01
too late
but, no errors!
Clément Brisset
@Atlante45
Aug 22 2014 01:01
Ahah
ok
whatSocks
@whatSocks
Aug 22 2014 01:02
I did get a lot of errors like this: -- Could NOT find Faceplus (missing: FACEPLUS_INCLUDE_DIRS FACEPLUS_LIBRARIES)
Clément Brisset
@Atlante45
Aug 22 2014 01:02
Yeah -GXcode doesn’t change anything normally but that was to be safe.
whatSocks
@whatSocks
Aug 22 2014 01:02
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found GLM: /usr/local/include
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "0.9.8y")
-- Could NOT find Faceplus (missing:  FACEPLUS_INCLUDE_DIRS FACEPLUS_LIBRARIES)
-- Could NOT find Faceshift (missing:  FACESHIFT_INCLUDE_DIRS FACESHIFT_LIBRARIES)
-- Could NOT find LibOVR (missing:  LIBOVR_INCLUDE_DIRS LIBOVR_SRC_DIR LIBOVR_LIBRARY)
-- Could NOT find PrioVR (missing:  PRIOVR_INCLUDE_DIRS PRIOVR_LIBRARIES)
-- Could NOT find Sixense (missing:  SIXENSE_INCLUDE_DIRS SIXENSE_LIBRARIES)
-- Could NOT find Visage (missing:  VISAGE_BASE_INCLUDE_DIR VISAGE_OPENCV_INCLUDE_DIR VISAGE_OPENCV2_INCLUDE_DIR VISAGE_CORE_LIBRARY VISAGE_VISION_LIBRARY VISAGE_OPENCV_LIBRARY)
-- Could NOT find LeapMotion (missing:  LEAPMOTION_INCLUDE_DIRS LEAPMOTION_LIBRARIES)
-- Could NOT find RtMidi (missing:  RTMIDI_INCLUDE_DIRS RTMIDI_LIBRARIES)
-- Could NOT find QXmpp (missing:  QXMPP_INCLUDE_DIRS QXMPP_LIBRARY)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/c/Documents/_projects/HiFi/build
Clément Brisset
@Atlante45
Aug 22 2014 01:02
That’s not errors, that’s optionnal libraries.
whatSocks
@whatSocks
Aug 22 2014 01:02
okay
:D
Clément Brisset
@Atlante45
Aug 22 2014 01:03
Yeah I bet you ran cmake before setting your environment variable.
Clean build did the trick
whatSocks
@whatSocks
Aug 22 2014 01:04
how do I launch interface?
Clément Brisset
@Atlante45
Aug 22 2014 01:04
you need to build it first.
Actually never tried without Xcode on a mac.
But it should go something like that:
whatSocks
@whatSocks
Aug 22 2014 01:05
ok, so delete build folder and build using XCode?
Clément Brisset
@Atlante45
Aug 22 2014 01:06
make
./interface/Debug/interface.app
don’t even need to delete it
whatSocks
@whatSocks
Aug 22 2014 01:06
if I'm going to use XCode, could I build it from XCode?
Clément Brisset
@Atlante45
Aug 22 2014 01:06
just run cmake .. -GXcode
yup
once you ran cmake, do xcode hifi.xcproj
Sorry open hifi.xcodeproj/
then you can just click run
whatSocks
@whatSocks
Aug 22 2014 01:15
okay it's building
whatSocks
@whatSocks
Aug 22 2014 01:20
I suppose I have to make an account? I see the GUI :)
Clément Brisset
@Atlante45
Aug 22 2014 01:21
To access the “official” servers yeah.
send me your email, I’ll send you an invite.
whatSocks
@whatSocks
Aug 22 2014 01:22
k I'll e-mail you
Clément Brisset
@Atlante45
Aug 22 2014 01:24
On it’s way
whatSocks
@whatSocks
Aug 22 2014 01:37
great thanks! i'm making blocks
Clément Brisset
@Atlante45
Aug 22 2014 01:41
^^
BillWindwalker
@BillWindwalker
Aug 22 2014 04:27
I bet that person named Andrew was Andrew Linden at one time
now can some one tell me a little bit about this VR program ?
and you all seem not to be awake
so I must be chatting with my self so that not new at my age
Seems you must have all the testers you need so no last min testing of alpha i bet
BillWindwalker
@BillWindwalker
Aug 22 2014 04:33
well may be beta and then I can get to see people crash it and people get stuck off grid and have to make all new accounts
oh well that was a test to see if any one was reading this
have fun you kids
Clément Brisset
@Atlante45
Aug 22 2014 06:41
We are but it’s left. Every one left the office.
BillWindwalker
@BillWindwalker
Aug 22 2014 13:45
Late you do not know what late is
BillWindwalker
@BillWindwalker
Aug 22 2014 17:09
now the cat is awake
test
BillWindwalker
@BillWindwalker
Aug 22 2014 17:17
looking at some of that coding for just installing and setting it up seems that is can be attack by some of the known Trojan virus on the net
so not one of you wish to chat with a old man ?
Andrew Meadows
@AndrewMeadows
Aug 22 2014 17:21
could you rephrase that statement about "attack by trojan"? Are you worried about getting malware using homebrew or something else?
AndrewMeadows @AndrewMeadows was formerly known as "Andrew Linden" it is true.
BillWindwalker
@BillWindwalker
Aug 22 2014 17:27
Hi Andrew good to see you.
Andrew Meadows
@AndrewMeadows
Aug 22 2014 17:31
Hello BillWindwalker. Have I met you in another guise?
BillWindwalker
@BillWindwalker
Aug 22 2014 17:31
The attack type is know as : OpenSSL Heartbleed CVE-2014-0160 and it has been reported to the us-cert.gov do to the type of port attack the hackers are doing at this time.
Well yes you may just think im a idiot kid lol
Andrew Meadows
@AndrewMeadows
Aug 22 2014 17:32
Yes I've heard of heartbleed. How does heartbleed apply to the package install instructions?
BillWindwalker
@BillWindwalker
Aug 22 2014 17:33
let me go to private be for i say more.
BillWindwalker
@BillWindwalker
Aug 22 2014 17:56
Thanks for all the information you was of great help Andrew do have a great day.