Skip to content

undefined reference to `proj_normalize_for_visualization' #1471

@MingyiG

Description

@MingyiG

I try to install the MB-System on Ubuntu20, and it was easy to build through CMake. When I tried the command 'make', this error occured:

[ 59%] Building CXX object src/utilities/CMakeFiles/mbabsorption.dir/mbabsorption.cc.o
[ 59%] Linking CXX executable mbabsorption
/usr/bin/ld: ../mbio/libmbio.so.0: undefined reference to `proj_normalize_for_visualization'
collect2: error: ld returned 1 exit status
make[2]: *** [src/utilities/CMakeFiles/mbabsorption.dir/build.make:105: src/utilities/mbabsorption] Error 1
make[1]: *** [CMakeFiles/Makefile2:1826: src/utilities/CMakeFiles/mbabsorption.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Why this bug appear? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions