[vtk-developers] libvtkproj4 problems with gcc on Mac

Bill Lorensen bill.lorensen at gmail.com
Fri Feb 19 12:08:15 EST 2016


Folks,

I tried to build VTK on my Mac today with
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2336.1.00)

My clang build is fine.

I get these link errors:
Linking C shared library ../../../../lib/libvtkproj4-7.1.dylib
Undefined symbols for architecture x86_64:
  "_vtk_pj_acquire_lock", referenced from:
      _vtk_pj_get_default_ctx in pj_ctx.c.o
      _vtk_pj_ctx_alloc in pj_ctx.c.o
      _vtk_pj_gc_findcatalog in pj_gridcatalog.c.o
      _vtk_pj_gridinfo_load in pj_gridinfo.c.o
      _vtk_pj_gridlist_from_nadgrids in pj_gridlist.c.o
      ...
  "_vtk_pj_release_lock", referenced from:
      _vtk_pj_get_default_ctx in pj_ctx.c.o
      _vtk_pj_ctx_alloc in pj_ctx.c.o
      _vtk_pj_gc_findcatalog in pj_gridcatalog.c.o
      _vtk_pj_gridinfo_load in pj_gridinfo.c.o
      _vtk_pj_gridlist_from_nadgrids in pj_gridlist.c.o
      _vtk_pj_insert_initcache in pj_initcache.c.o
      _vtk_pj_clear_initcache in pj_initcache.c.o
      ...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [lib/libvtkproj4-7.1.1.dylib] Error 1


-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list