These are chat archives for highfidelity/hifi

11th
Jul 2015
Lexx
@Triplelexx
Jul 11 2015 09:18
When building I noticed this comment "looking for include file pthread.h - not found", this is followed by "Found Threads: TRUE" Should I be concerned about the header notification?
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 17:48

Hi all, if during building of Hifi on Ubuntu I get the following error:
[ 65%] Building CXX object libraries/entities/CMakeFiles/entities.dir/src/EntityTreeElement.cpp.o
/home/hifi/src/hifi/libraries/entities/src/EntityTreeElement.cpp: In member function ‘bool EntityTreeElement::removeEntityItem(EntityItemPointer)’:
/home/hifi/src/hifi/libraries/entities/src/EntityTreeElement.cpp:672:36: error: ‘EntityItems’ has no member named ‘removeAll’
int numEntries = _entityItems->removeAll(entity);
^
make[2]: [libraries/entities/CMakeFiles/entities.dir/src/EntityTreeElement.cpp.o] Error 1
make[1]:
[libraries/entities/CMakeFiles/entities.dir/all] Error 2
make: * [all] Error 2

Am i missing a dependency then or something?

Clément Brisset
@Atlante45
Jul 11 2015 21:17
@FearghusMcMahon If this is not the first time you build, you might need to redo a "cmake"
Otherwise, check there was no accidental modification to the code.
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:00
I did a clean cmake and there was no modification on the code unfortunately
Clément Brisset
@Atlante45
Jul 11 2015 22:02
Ok, this doesn’t look like a linking error though.
Are you up to date with master?
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:04
yes just did another git pull and it said it was
Clément Brisset
@Atlante45
Jul 11 2015 22:04
What compiler do you use?
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:04
being on ubuntu 14.04
so I'm wondering if i'm missing some dependency somehow
Clément Brisset
@Atlante45
Jul 11 2015 22:06
Can you send me the output of a clean cmake / make ?
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:09
hmmm C and CXX compiler show as GNU 4.8.4.....and also looks like my QT5 is broken now since I also tried updating my ubuntu
and qt5 is a pain in the .... on ubuntu 14.04
Clément Brisset
@Atlante45
Jul 11 2015 22:15
Yeah I went checking what that code looks like and removeAll is a QVector function there is an issue with Qt.
You might have to reinstall it.
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:16
nod might have to....and thats the crappy part on ubuntu 14.04 lol
thanks anyways though ;)
I managed to get through a clean cmake now.....it's building.....fingers crossed
FearghusMcMahon
@FearghusMcMahon
Jul 11 2015 22:27
unfortunately same issue.....ok...new day after sleeping...will see if can get it kicked back in shape one more time.