Created
January 16, 2017 17:44
-
-
Save llliiu/dc689ec7ee52039c2ba30792f5456bf4 to your computer and use it in GitHub Desktop.
errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lu@169-231-138-96 ~/m/AlloSystem> ./run.sh allocore/examples/spatial/voxels.cpp | |
RUN SCRIPT: Building file allocore/examples/spatial/voxels.cpp. | |
USING GLUT | |
Writing dummy header: al_Convolver.hpp ---- Unmet dependency: FFTW | |
Writing dummy header: al_Decorrelation.hpp ---- Unmet dependency: FFTW | |
Using AlloSystem Run facilties. | |
Not building allocv and no usable allocv binary found. Not linking application to allocv | |
[ 1%] Built target cuttlebone | |
[ 13%] Built target Gamma | |
[ 30%] Built target GLV | |
[ 82%] Built target allocore | |
[ 86%] Built target alloaudio | |
[ 94%] Built target alloGLV | |
[ 95%] Built target alloutil | |
[ 97%] Built target allosphere | |
[ 98%] Building CXX object CMakeFiles/allocore_examples_spatial_voxels.dir/allocore/examples/spatial/voxels.cpp.o | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:40:64: error: use | |
of undeclared identifier 'NANOMETERS' | |
al::Voxels v(AlloFloat32Ty, 32, 32, 32, 0.1234, 0.1234, 8.5, NANOMETERS); | |
^ | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:57:32: error: | |
expected '(' for function-style cast or type construction | |
std::cout << v.elem<float>(1,x,y,z) << " "; | |
~~~~~^ | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:57:34: warning: | |
expression result unused [-Wunused-value] | |
std::cout << v.elem<float>(1,x,y,z) << " "; | |
^ | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:57:36: warning: | |
expression result unused [-Wunused-value] | |
std::cout << v.elem<float>(1,x,y,z) << " "; | |
^ | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:57:38: warning: | |
expression result unused [-Wunused-value] | |
std::cout << v.elem<float>(1,x,y,z) << " "; | |
^ | |
/Users/lu/my_new_project_dir/AlloSystem/allocore/examples/spatial/voxels.cpp:57:43: error: | |
invalid operands to binary expression ('int' and 'const char *') | |
std::cout << v.elem<float>(1,x,y,z) << " "; | |
~~~~~~~~~ ^ ~~~ | |
3 warnings and 3 errors generated. | |
make[3]: *** [CMakeFiles/allocore_examples_spatial_voxels.dir/allocore/examples/spatial/voxels.cpp.o] Error 1 | |
make[2]: *** [CMakeFiles/allocore_examples_spatial_voxels.dir/all] Error 2 | |
make[1]: *** [CMakeFiles/allocore_examples_spatial_voxels_run.dir/rule] Error 2 | |
make: *** [allocore_examples_spatial_voxels_run] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment