problem in compile

edited November 9 in KLayout Development

Hi, @Matthias,

i tried to compile KLayout in Debian 11, and it failed, but i've already installed all needed dependencies lib according to readme Doku in github, how should i handle these errors to success compile?

/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::Shapes::find(db::Shape const&) const'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::Shapes::is_bbox_dirty() const'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::polygon_ref<db::simple_polygon<int>, db::disp_trans<int> > >, db::stable_layer_tag>::insert(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::Shapes::mem_stat(db::MemStatistics*, db::MemStatistics::purpose_t, int, bool, void*) const'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::Shapes::erase_shape(db::Shape const&)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::box<int, int>, db::stable_layer_tag>::insert(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `typeinfo for db::Shapes'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::edge_pair<int> >, db::stable_layer_tag>::insert(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::Shapes::do_insert(db::Shape const&, db::unit_trans<int> const&, tl::func_delegate_base<unsigned long>&)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer<db::object_with_properties<db::path<int> >, db::unstable_layer_tag>& db::Shapes::get_layer<db::object_with_properties<db::path<int> >, db::unstable_layer_tag>()'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::edge<int> >, db::unstable_layer_tag>::erase(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::path_ref<db::path<int>, db::disp_trans<int> > >, db::unstable_layer_tag>::erase(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::edge<int> >, db::stable_layer_tag>::insert(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer<db::object_with_properties<db::text<int> >, db::unstable_layer_tag>& db::Shapes::get_layer<db::object_with_properties<db::text<int> >, db::unstable_layer_tag>()'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::simple_polygon<int> >, db::unstable_layer_tag>::erase(db::Shapes*)'
/usr/bin/ld: /home/jbian/Downloads/klayout/build-release/unit_tests/../libklayout_db.so: undefined reference to `db::layer_op<db::object_with_properties<db::box<int, int> >, db::stable_layer_tag>::insert(db::Shapes*)'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:160: ../../build-release/ut_runner] Fehler 1
gmake[1]: Verzeichnis „/home/jbian/Downloads/klayout/build-release/unit_tests“ wird verlassen
gmake: *** [Makefile:224: sub-unit_tests-make_first] Fehler 2

Thanks!
Bian.

Comments

Sign In or Register to comment.