These are chat archives for highfidelity/hifi

5th
Nov 2014
CrackerHax
@CrackerHax
Nov 05 2014 02:32
anybody familiar with this?
28> Avatar.cpp
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): error C2146: syntax error : missing ';' before identifier 'GLint64'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): warning C4091: '' : ignored on left of 'GLint64EXT' when no variable is declared
CrackerHax
@CrackerHax
Nov 05 2014 08:30
Also this
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code -1073741515.
maybe I should try to call that error code on my phone (107)374-1515
CrackerHax
@CrackerHax
Nov 05 2014 10:01
ok those are the errors you get when you use the non-opengl variant of Qt
still getting these though
28> Avatar.cpp
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): error C2146: syntax error : missing ';' before identifier 'GLint64'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(402): warning C4091: '' : ignored on left of 'GLint64EXT' when no variable is declared
28> C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(992) : see declaration of 'GL_APIENTRY'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1024): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C2144: syntax error : 'void' should be preceded by ';'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C2086: 'int GL_APICALL' : redefinition
28> C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(992) : see declaration of 'GL_APICALL'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C2146: syntax error : missing ';' before identifier 'glProgramBinaryOES'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C2182: 'GL_APIENTRY' : illegal use of type 'void'
28>C:\Qt\5.2.0\msvc2010\include\QtGui/qopengles2ext.h(1025): error C2086: 'int GL_APIENTRY' : redefinition
CrackerHax
@CrackerHax
Nov 05 2014 10:46
ok I fixed it. It wasn't enough to rebuild the project file with cmake, I had to completely delete the /build directory and then rebuild with cmake
compiled clean now!
David Rowe
@ctrlaltdavid
Nov 05 2014 19:30
I want to return an xColor as a QScriptValue from overlays, but xColorToScriptValue(QScriptEngine *engine, const xColor& color) requires a script engine and the collection of overlays is independent from any particular script instance.
Would it be valid for me to make Overlays have its own script engine instance to use for xColorToScriptValue() calls?
Or should I really use the engine from the script that happens to be asking for the xColor property value?
Joe Large [Omega Heron]
@OmegaHeron
Nov 05 2014 20:35
With (very) large mesh objects placed in domain I'm seeing a lot of the following error from interface
[DEBUG] [2014-11-05 15:33:27 Eastern Standard Time] OctreeElement::safeDeepDeleteChildAtIndex() reached DANGEROUSLY_DEEP_RECURSION, bailing!
Very large = a 16384 x 190 x 16384 mesh terrain. At < 8192 sq it's not having it.
would be nice to not have to split it up for doing large but fairly low poly terrain visuals...