Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while building Convert3D #1

Open
Alvi305 opened this issue Aug 23, 2023 · 0 comments
Open

Errors while building Convert3D #1

Alvi305 opened this issue Aug 23, 2023 · 0 comments

Comments

@Alvi305
Copy link

Alvi305 commented Aug 23, 2023

I cannot properly build Convert3D from source. The first link does not work. I tried using the second link but I get a lot offers while trying to make it.

The errors are given below (a snippet of it):

`
(base) braillic@braillic-System-Product-Name:/Braillic/convert3d/build$ cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CPACK_SYSTEM_NAME Linux-x86_64
-- CPACK_PACKAGE_FILE_NAME c3d-1.1.0-Linux-x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/braillic/Braillic/convert3d/build
(base) braillic@braillic-System-Product-Name:
/Braillic/convert3d/build$ make
[ 1%] Building CXX object itkextras/VoxBoIO/CMakeFiles/ITKVoxBoIO.dir/itkVoxBoCUBImageIO.cxx.o
[ 2%] Building CXX object itkextras/VoxBoIO/CMakeFiles/ITKVoxBoIO.dir/itkVoxBoCUBImageIOFactory.cxx.o
[ 2%] Linking CXX static library libITKVoxBoIO.a
[ 2%] Built target ITKVoxBoIO
[ 3%] Building CXX object CMakeFiles/cnd_maxflow.dir/external/GCv2p3/GCoptimization.cpp.o
[ 4%] Building CXX object CMakeFiles/cnd_maxflow.dir/external/GCv2p3/LinkedBlockList.cpp.o
[ 4%] Building CXX object CMakeFiles/cnd_maxflow.dir/external/GCv2p3/graph.cpp.o
[ 5%] Building CXX object CMakeFiles/cnd_maxflow.dir/external/GCv2p3/maxflow.cpp.o
[ 6%] Linking CXX static library libcnd_maxflow.a
[ 6%] Built target cnd_maxflow
[ 7%] Building C object CMakeFiles/markdown_to_hex.dir/utilities/hexdump.c.o
[ 8%] Linking C executable markdown_to_hex
[ 8%] Built target markdown_to_hex
[ 9%] Generating markdown_docs.h
[ 9%] Built target markdown_docs
[ 10%] Building CXX object CMakeFiles/cnd_driver.dir/ConvertImageND.cxx.o
/home/braillic/Braillic/convert3d/ConvertImageND.cxx: In member function ‘int ImageConverter<TPixel, VDim>::ProcessCommand(int, char**)’:
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:464:14: error: ‘vcl_acos’ was not declared in this scope
adapter(&vcl_acos);
^~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:464:14: note: suggested alternative: ‘__acos’
adapter(&vcl_acos);
^~~~~~~~
__acos
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:517:14: error: ‘vcl_asin’ was not declared in this scope
adapter(&vcl_asin);
^~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:517:14: note: suggested alternative: ‘__asin’
adapter(&vcl_asin);
^~~~~~~~
__asin
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:564:14: error: ‘vcl_ceil’ was not declared in this scope
adapter(&vcl_ceil);
^~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:564:14: note: suggested alternative: ‘__ceil’
adapter(&vcl_ceil);
^~~~~~~~
__ceil
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:671:14: error: ‘vcl_cos’ was not declared in this scope
adapter(&vcl_cos);
^~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:671:14: note: suggested alternative: ‘__cos’
adapter(&vcl_cos);
^~~~~~~
__cos
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:762:14: error: ‘vcl_exp’ was not declared in this scope
adapter(&vcl_exp);
^~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:762:14: note: suggested alternative: ‘__ldexp’
adapter(&vcl_exp);
^~~~~~~
__ldexp
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:818:14: error: ‘vcl_floor’ was not declared in this scope
adapter(&vcl_floor);
^~~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:818:14: note: suggested alternative: ‘__floor’
adapter(&vcl_floor);
^~~~~~~~~
__floor
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1047:14: error: ‘vcl_log’ was not declared in this scope
adapter(&vcl_log);
^~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1047:14: note: suggested alternative: ‘__log’
adapter(&vcl_log);
^~~~~~~
__log
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1054:14: error: ‘vcl_log10’ was not declared in this scope
adapter(&vcl_log10);
^~~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1054:14: note: suggested alternative: ‘__log10’
adapter(&vcl_log10);
^~~~~~~~~
__log10
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1331:11: error: ‘vcl_exp’ was not declared in this scope
exp1(&vcl_exp);
^~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1331:11: note: suggested alternative: ‘__ldexp’
exp1(&vcl_exp);
^~~~~~~
_ldexp
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1854:14: error: ‘vcl_sin’ was not declared in this scope
adapter(&vcl_sin);
^~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1854:14: note: suggested alternative: ‘vnl_svd’
adapter(&vcl_sin);
^~~~~~~
vnl_svd
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1938:14: error: ‘vcl_sqrt’ was not declared in this scope
adapter(&vcl_sqrt);
^~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:1938:14: note: suggested alternative: ‘sqrt’
adapter(&vcl_sqrt);
^~~~~~~~
sqrt
/home/braillic/Braillic/convert3d/ConvertImageND.cxx: In member function ‘int ImageConverter<TPixel, VDim>::ProcessCommandLine(int, char**)’:
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2244:8: error: ‘itk::MultiThreader’ has not been declared
itk::MultiThreader::SetGlobalDefaultNumberOfThreads(1);
^~~~~~~~~~~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx: In instantiation of ‘TPixel ImageConverter<TPixel, VDim>::ReadIntensityValue(const char*) [with TPixel = double; unsigned int VDim = 2]’:
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:3112:16: required from here
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: error: ‘vnl_math_isnan’ was not declared in this scope
if (!vnl_math_isnan(*q))
~~~~~~~~~~~~~~^~~~
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: note: suggested alternative: ‘vnl_math_h

if (!vnl_math_isnan(*q))
~~~~~~~~~~~~~~^~~~
vnl_math_h

/home/braillic/Braillic/convert3d/ConvertImageND.cxx: In instantiation of ‘TPixel ImageConverter<TPixel, VDim>::ReadIntensityValue(const char*) [with TPixel = double; unsigned int VDim = 3]’:
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:3113:16: required from here
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: error: ‘vnl_math_isnan’ was not declared in this scope
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: note: suggested alternative: ‘vnl_math_h

if (!vnl_math_isnan(*q))
~~~~~~~~~~~~~~^~~~
vnl_math_h

/home/braillic/Braillic/convert3d/ConvertImageND.cxx: In instantiation of ‘TPixel ImageConverter<TPixel, VDim>::ReadIntensityValue(const char*) [with TPixel = double; unsigned int VDim = 4]’:
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:3114:16: required from here
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: error: ‘vnl_math_isnan’ was not declared in this scope
/home/braillic/Braillic/convert3d/ConvertImageND.cxx:2487:28: note: suggested alternative: ‘vnl_math_h

if (!vnl_math_isnan(*q))

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant