These are chat archives for highfidelity/hifi

8th
Sep 2014
Joshua Natarajan
@tachyonbrush
Sep 08 2014 00:11
@Adrianl3d great, thanks
Philip Rosedale
@PhilipRosedale
Sep 08 2014 02:53
@tachyonbrush Are you inside your domain? If your position is less than zero in X/Y/Z, you can't make permanent voxels or import models. We need to make this more clear.
Joshua Natarajan
@tachyonbrush
Sep 08 2014 05:05
Poltergeists! Thanks. I was in the vicinity of 0,0,0 in my domain (tiny red sphere) and tried to create a few voxels in the console - eg. Voxels.setVoxel(0,0,0,1,128,0,0) etc. I kept getting pushed back (collisions worked, great!) but then started seeing ghostly cubes materialize and vaporize.
Philip Rosedale
@PhilipRosedale
Sep 08 2014 15:30
@tachyonbrush See whether you can create them using the editVoxels.js script, and pressing '0' to create one in front of you. Should be able to log out and back in, and see it there.
David Rowe
@ctrlaltdavid
Sep 08 2014 16:39
Is Visage still in Interface somewhere? I can't see it / can't remember how to enable it.
Philip Rosedale
@PhilipRosedale
Sep 08 2014 17:43
@ctrlaltdavid Yep it's somewhere. :) But I don't see it either.
I'm working on re-factoring headMove out of hydraMove as you suggested, will play with various head inputs when done.
David Rowe
@ctrlaltdavid
Sep 08 2014 17:50
OK, sounds good. ... Much easier to test headMove when have a sensor : )
helsen
@helsen
Sep 08 2014 21:25

Trying build in macOS x --- errors occurred, Configuring incomplete... Ferrari:hifi-master helsen$ cmake -GXcode
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"

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)

-- Configuring incomplete, errors occurred!

Clément Brisset
@Atlante45
Sep 08 2014 21:26
@helsen looks like an error with QT_CMAKE_PREFIX_PATH
Did you set it correclty?
helsen
@helsen
Sep 08 2014 21:27
Homebrew don't set it? I will check again
Leonardo Murillo
@murillodigital
Sep 08 2014 21:28
@helsen do you have xcode command line tools installed?
Clément Brisset
@Atlante45
Sep 08 2014 21:30
What does “echo $QT_CMAKE_PREFIX_PATH” gives you?
Leonardo Murillo
@murillodigital
Sep 08 2014 21:31
I think that env shouldnt be necessary
Clément Brisset
@Atlante45
Sep 08 2014 21:31
No homebrew doesn’t set it.
Leonardo Murillo
@murillodigital
Sep 08 2014 21:31
when cmake/ lives in /usr/local/lib
which is in the path
Clément Brisset
@Atlante45
Sep 08 2014 21:32
From my experience, it’s always needed.
helsen
@helsen
Sep 08 2014 21:32
echo $QT_CMAKE_PREFIX_PATH return empty and my homebrew log says Warning: Could not tap highfidelity/formulas/qt5 over Homebrew/homebrew/qt5
Warning: Could not tap highfidelity/formulas/qxmpp over Homebrew/homebrew/qxmpp
Tapped 4 formulae
Clément Brisset
@Atlante45
Sep 08 2014 21:32
Something weird is happening and cmake never finds it.
helsen
@helsen
Sep 08 2014 21:32
I will retry from begining, yeap, xcode command line is ok,
Clément Brisset
@Atlante45
Sep 08 2014 21:33
Oh ok, you couldn’t tap into our formulas. (first time I’ve seen that)
Apparently the only solution is to untap Homebrew/homebrew.
Huh...
helsen
@helsen
Sep 08 2014 21:40
Homebrew can tap qt5, can I try without homebrew formulas?
Clément Brisset
@Atlante45
Sep 08 2014 21:41
you should try to run brew doctor and brew tap —repair.
I am not sure what’s different with qt5 in the formulae.
you can probalby just untap highfidelity/formulas and install the homebrew ones.
brew untap highfidelity/homebrew-formulas
brew install qt5 qxmpp
helsen
@helsen
Sep 08 2014 22:00
Thanks, hifi.xcodeproj is generated and now I'm building in xCode
Clément Brisset
@Atlante45
Sep 08 2014 22:03
nice
helsen
@helsen
Sep 08 2014 22:10
sorry noob question, build is successful, where is the binary? lol
Clément Brisset
@Atlante45
Sep 08 2014 22:12
If you use XCode just do CMD + R or click the big play icon at the top left.
Otherwise you can run the .app in ./build/interface/Debug
Actual binary is at ./build/interface/Debug/interface.app/Contents/MacOS/
helsen
@helsen
Sep 08 2014 22:22

I find, crash when I try open Process: interface [19258]
Path: /Users/USER/Downloads/*/interface.app/Contents/MacOS/interface
Identifier: io.highfidelity.Interface
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [159]
Responsible: interface [19258]
User ID: 501

Date/Time: 2014-09-08 19:21:23.101 -0300
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: 9C8CB660-4CCA-B972-4D98-146556188865

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000010f66e030

VM Regions Near 0x10f66e030:
TEXT 000000010f551000-000000010f669000 [ 1120K] r-x/rwx SM=COW /usr/local/Cellar/qxmpp/0.8.0/lib/libqxmpp.0.8.0.dylib
-->
DATA 000000010f669000-000000010f670000 [ 28K] rw-/rwx SM=COW /usr/local/Cellar/qxmpp/0.8.0/lib/libqxmpp.0.8.0.dylib
__LINKEDIT 000000010f670000-000000010f6d1000 [ 388K] r--/rwx SM=COW /usr/local/Cellar/qxmpp/0.8.0/lib/libqxmpp.0.8.0.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x000000010f66e030 QXmppClient::staticMetaObjectExtraData + 0
1 QtCore 0x0000000113b02b92 QObject::connectImpl(QObject const, void**, QObject const, void, QtPrivate::QSlotObjectBase, Qt::ConnectionType, int const, QMetaObject const) + 130
2 io.highfidelity.Interface 0x000000010e0e5017 QMetaObject::Connection QObject::connect<void (QXmppClient::
)(), void (Menu::)()>(QtPrivate::FunctionPointer<void (QXmppClient::)()>::Object const, void (QXmppClient::)(), QtPrivate::FunctionPointer<void (Menu::*)()>::Object const, void (Menu::)(), Qt::ConnectionType) + 375 (qobject.h:237)
3 io.highfidelity.Interface 0x000000010e0ccff1 Menu::Menu() + 7777 (Menu.cpp:246)
4 io.highfidelity.Interface 0x000000010e0cb185 Menu::Menu() + 21 (Menu.cpp:690)
5 io.highfidelity.Interface 0x000000010e0cb108 Menu::getInstance() + 232 (Menu.cpp:63)
6 io.highfidelity.Interface 0x000000010e04227c Application::Application(int&, char
, QElapsedTimer&) + 4972 (Application.cpp:208)
7 io.highfidelity.Interface 0x000000010e040efd Application::Application(int&, char**, QElapsedTimer&) + 45 (Application.cpp:423)
8 io.highfidelity.Interface 0x000000010e1ec71b main + 203 (main.cpp:38)
9 libdyld.dylib 0x00007fff8dd125fd start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8db61662 kevent64 + 10
1 libdispatch.dylib 0x00007fff8bc8a421 _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff8bc8a136 _dispatch_mgr_thread + 52

Thread 2:
0 libsystem_kernel.dylib 0x00007fff8db60e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fe95f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8fe98fb9 start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff8db60e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fe95f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8fe98fb9 start_wqthread + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff8db60e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fe95f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8fe98fb9 start_wqthread + 13

Thread 5:: QThread
0 libsystem_kernel.dylib 0x00007fff8db609aa __select + 10
1 libsystem_c.dylib 0x00007fff827f1be0 pselect$1050 + 183
2 QtCore 0x0000000113b1f258 qt_safe_select(int, fd_set, fd_set, fd_set, timespec const) + 104
3 QtCore 0x0000000113b20314 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec) + 660
4 QtCore 0x0000000113b2142a QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 234
5 QtCore 0x0000000113acdb0d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
6 QtCore 0x00000001138d6765 QThread::exec() + 117
7 QtCore 0x00000001138da313 QThreadPrivate::start(void
) + 339
8 libsystem_pthread.dylib 0x00007fff8fe94899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8fe9472a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8fe98fc9 thread_start + 13

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8db609aa select + 10
1 com.apple.CoreFoundation 0x00007fff86f7aa03
CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff8fe94899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff8fe9472a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff8fe98fc9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff51c003c8 rcx: 0x00007fff51bfe570 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x000000000000000a rbp: 0x00007fff51bfe510 rsp: 0x00007fff51bfe508
r8: 0x000000010f66e030 r9: 0x0000600000426900 r10: 0x00007fafc050c6c0 r11: 0x0000000000000000
r12: 0x000000010f66e040 r13: 0x00007fff51bfe570 r14: 0x000000010ea26f00 r15: 0x0000600000426900
rip: 0x000000010f66e030 rfl: 0x0000000000010246 cr2: 0x000000010f66e030

Logical CPU: 0
Error Code: 0x00000015
Trap Number: 14

Clément Brisset
@Atlante45
Sep 08 2014 22:24
Yeah you probably shouldn’t do that. Did you try to run it from within Xcode?
helsen
@helsen
Sep 08 2014 22:25
yes, when I play, they say's BUILD successful but not, happens, I try again. sorry inconvience
Clément Brisset
@Atlante45
Sep 08 2014 22:26
No pb, next to that button, on its right do you have written ALL_BUILD by any chance ?
If so click on it and find “interface"
select it with the correct architecture and try again.
helsen
@helsen
Sep 08 2014 22:36
Icon of app now appears and debug stop in this thread: QMetaObject::Connection
return connectImpl(sender, reinterpret_cast<void **>(&signal),
receiver, reinterpret_cast<void **>(&slot),
new QtPrivate::QSlotObject<Func2, typename QtPrivate::List_Left<typename SignalType::Arguments, SlotType::ArgumentCount>::Value,
typename SignalType::ReturnType>(slot),
type, types, &SignalType::Object::staticMetaObject);
}
Thanks a lot, I will waiting public alpha. Best Regards and good Job :)
Clément Brisset
@Atlante45
Sep 08 2014 22:39
I’d need a full stacktrace to help you out.
No pb
Thanks.