habitat-sim
habitat-sim copied to clipboard
Unable to build Datatool due to errors in AudioSensor.cpp
Habitat-Sim version
v0.3.0
I would like to build datatool for generating semantic.ply files for Gibson dataset. However, I am experiencing issues with building the datatool.
I was following the steps from #648 and the following errors was incurred:
[ 70%] Building CXX object esp/sensor/CMakeFiles/sensor.dir/AudioSensor.cpp.o
/home/dto/soundspace/habitat-sim/src/esp/sensor/AudioSensor.cpp: In member function ‘virtual bool esp::sensor::AudioSensor::displayObservation(esp::sim::Simulator&)’:
/home/dto/soundspace/habitat-sim/src/esp/sensor/AudioSensor.cpp:312:18: error: ‘logHeader_’ was not declared in this scope
312 | ESP_ERROR() << logHeader_ << "Display observation for audio sensor is not used. This function should be unreachable";
| ^~~~~~~~~~
gmake[2]: *** [esp/sensor/CMakeFiles/sensor.dir/build.make:154: esp/sensor/CMakeFiles/sensor.dir/AudioSensor.cpp.o] Error 1
gmake[2]: Leaving directory '/home/dto/soundspace/habitat-sim/build'
gmake[1]: *** [CMakeFiles/Makefile2:5836: esp/sensor/CMakeFiles/sensor.dir/all] Error 2
gmake[1]: Leaving directory '/home/dto/soundspace/habitat-sim/build'
gmake: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
File "/home/dto/soundspace/habitat-sim/setup.py", line 468, in
Apparently the problem lies with AudioSensor.cpp logHeader assignment. However, I am unable to rectify the issue.
@aclegg3 Thoughts?