These are chat archives for highfidelity/hifi

22nd
Nov 2014
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:09
Hello.
Jason Hawks
@nbq
Nov 22 2014 17:09
hello
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:10
Does anyone else here use Linux openSUSE 13.2 x64, and compiles hifi on it? I'm new to the project, got the GIT repository, installed the essential dependencies, but compilation fails.
https://worklist.net/20209 Log attached there
Jason Hawks
@nbq
Nov 22 2014 17:15
I am semi afk but will check it in a second if no one else replies before I get back
Ok, I see that is your make, you got the cmake output too?
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:22
Yes, hold on I'll post
Jason Hawks
@nbq
Nov 22 2014 17:35
Ok, I am fairly certain from google references and your log your issue is two installed qts:
In file included from /usr/include/QtCore/qalgorithms.h:45:0,
from /usr/include/qt5/QtCore/qdebug.h:45,
from /usr/include/qt5/QtCore/QDebug:1,
have you tried doing something like "cmake .. -DQT_CMAKE_PREFIX_PATH=“ < point to the qt path you want’s cmake folder
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:43
I might have the qt4 development packages as well. But I thought cmake would detect something that elementary. I wonder what the qt5 path I might want to set manually is exactly...
Jason Hawks
@nbq
Nov 22 2014 17:44
make sure you have it pointing to the qt5’s cmake path, your problem is that its picking up the other version as it builds, you can find more information here under Variables: https://github.com/highfidelity/hifi/blob/master/BUILD.md
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:53
It would appear my qt5 cmake path is /usr/lib64/cmake/Qt5/ But that's different than what the example states...
Jason Hawks
@nbq
Nov 22 2014 17:53
yep because you are running OpenSuSE compared to me, CentOS, others Ubuntu etc
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:54
ok, I'll try with that. Problem is, each qtcomponent is a different package. For example /usr/lib64/cmake/Qt5QuickWidgets/ But the paths for these are correct so
Jason Hawks
@nbq
Nov 22 2014 17:56
well its like on mine, I am using CentOS 7, I have File: /usr/lib64/cmake/Qt5/Qt5Config.cmake which points it out to the right paths, that is the point of the cmake files
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:58
Ok, that didn't seem to fix it or change the issue at all
cmake .. -DQT_CMAKE_PREFIX_PATH=/usr/lib64/cmake/Qt5/
Jason Hawks
@nbq
Nov 22 2014 17:59
did you blow out the build directory before you reran it?
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 17:59
No, I'll try that too
Jason Hawks
@nbq
Nov 22 2014 18:00
yeah that is a must always each time
oh and here is my output, but on CentOS 7, which has a lot of similarities between OpenSuSE: http://pastebin.com/raw.php?i=EHDi58qu
also you can try specifics to see if those work like make assignment-client or make domain-server to test how those fare
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:04
How do I set the path to a dependency manually when running cmake from console? I'm mostly used to cmake-gui
It insists on having something called gverb, but my distro doesn't offer is, so I run it separately
Jason Hawks
@nbq
Nov 22 2014 18:04
which one specifically? ahh ok here is how we can fix it
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:05
I did
It's not auto-detected it I place it in libs tho
Jason Hawks
@nbq
Nov 22 2014 18:05
then do a ln -s /path/to/gverb/include /path/to/hifi/interface/external/gverb/include
same with src
ln -s /path/to/gverb/src /path/to/hifi/interface/external/gverb/src
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:06
Can't I include them in the cmake command?
Jason Hawks
@nbq
Nov 22 2014 18:06
OR to do it via command line each time, yes, one moment
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:06
ok... that's easier to comprehend
Jason Hawks
@nbq
Nov 22 2014 18:07
using this: https://github.com/highfidelity/hifi/blob/master/cmake/modules/FindGverb.cmake we can see to use “GVERB_INCLUDE_DIRS” and “GVERB_SRC_DIRS"
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:08
ok. How do I set these variables from the cmake command directly however?
Jason Hawks
@nbq
Nov 22 2014 18:08
so just add -DGVERB_INCLUDE_DIRS=/path/to/gverb/include -DGVERB_SRC_DIRS=/path/to/gverb/src
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:08
CMake Error: Could not create named generator VERB_INCLUDE_DIRS=/home/mircea/Games/SecondLife/HighFidelity_GIT/libraries/gverb_GIT/include
Oh... forgot the D. Works now
I'll try from scratch and recompile
Jason Hawks
@nbq
Nov 22 2014 18:09
yeah :p gots to have that D lol
okie
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:10
Same error on compilation o.o
Jason Hawks
@nbq
Nov 22 2014 18:12
ok, let me check something. let me dig in my cmake outputs
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:12
Thanks
Jason Hawks
@nbq
Nov 22 2014 18:12
welcome
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:12
I shall post the full log to be sure
Jason Hawks
@nbq
Nov 22 2014 18:14
thanks, may help too
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:14
http://pastebin.com/raw.php?i=tMTNigrY Both the cmake and make commands
Jason Hawks
@nbq
Nov 22 2014 18:17
ok do me a favor, check in your build/CMakeCache.txt file and look for lines like this:
//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=/usr/lib64/cmake/Qt5Core
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:18
http://pastebin.com/raw.php?i=Vv1KDtsJ This is the whole file, to be sure I'm showing anything that could be relevant
Jason Hawks
@nbq
Nov 22 2014 18:19
ok thanks, I think this is the main part, showing before I check yours:
//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=/usr/lib64/cmake/Qt5
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:19
Yes, that seems to be the correct path for my system
It contains Qt5Config.cmake and Qt5ConfigVersion.cmake
That's the files it's supposed to have right?
Jason Hawks
@nbq
Nov 22 2014 18:23
Yeah, it does, um, I will message you directly to try to narrow this down more
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 18:24
Sure
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 20:27
Anyway: Does anyone know if there is or will be an IRC channel on Freenode as well? That's where I'm always online, and IMO it's better than this chat. So far neither #highfidelity nor #hifi seem to be used
Joe Large [Omega Heron]
@OmegaHeron
Nov 22 2014 20:30
This message was deleted
nvm - not my place to comment on that. :)
Mircea Kitsune
@MirceaKitsune
Nov 22 2014 20:36
Ok :) It's that virtually every project I follow has a channel there, and it's how I get in touch the easiest way. Mostly here temporarily to discuss a bug
Joe Large [Omega Heron]
@OmegaHeron
Nov 22 2014 20:36
That's really about the extent of this chat's use
Some stuff gets conveyed in the Alpha test forums, others via in world chats then jobs on worklist