> On Feb 17, 2021, at 3:20 PM, Niklas Mischkulnig <[email protected] 
> <mailto:[email protected]>> wrote:
>  
> On Monday, 8 February 2021 at 18:12:22 UTC Bob Campbell wrote:
> When building exiv2.  Maybe because I have the build target set to 10.13?  
> I’m building exiv2-0.27.2 - haven’t checked if that’s the most recent release.
> 
> repository/lib/libiconv.dylib doesn't exist for me after building the 
> dependencies, it should use the system version. I ran otool -L 
> lib/libexiv2.dylib and it has indeed linked against /usr/lib/libiconv.2.dylib.
> Maybe changing the deployment target caused another configuration change when 
> building gettext (which then built libiconv, I'm don't actually know why it 
> doesn't in my case).
> 
> If you're not actually intending to build a binary for distribution, you 
> could also simply not set -DMAC_SELF_CONTAINED_BUNDLE=ON in Hugin's cmake and 
> install all dependencies via Homebrew (or MacPorts), so treating it like a 
> "normal" Linux build and following INSTALL_cmake.

I do want to build for distribution, eventually.  Mainly, I was just going by 
the docs, which are out of date, but mention building zlib and iconv2 manually, 
to statically link in.  I’m fine with using the system libiconv2 if it works.

My latest block is that I was having trouble getting enblend to compile 
correctly.  I’m getting this error:

ld: symbol(s) not found for architecture x86_64
clang-11: error: linker command failed with exit code 1 (use -v to see 
invocation)

which relates to a linking problem:
Undefined symbols for architecture x86_64:
  "___kmpc_barrier", referenced from:
      _.omp_outlined..769 in enblend.cc.o
      _.omp_outlined..773 in enblend.cc.o
      _.omp_outlined..774 in enblend.cc.o

Obviously, libomp issues again, so I tried changing various paths and tried to 
force it to find repository/lib/libomp.dylib, which is obviously there:
$ ls ./lib/lib*omp*
./lib/libgomp.dylib     ./lib/libiomp5.dylib    ./lib/libomp.dylib

Until I finally added a -l and discovered:
$ ls -l ./lib/lib*omp*
lrwxr-xr-x  1 rsc  staff  12 Feb 15 21:15 ./lib/libgomp.dylib -> libomp.dylib
lrwxr-xr-x  1 rsc  staff  12 Feb 15 21:15 ./lib/libiomp5.dylib -> libomp.dylib
lrwxr-xr-x  1 rsc  staff  14 Feb 15 21:15 ./lib/libomp.dylib -> libiomp5.dylib

lol.  So obviously something’s up with the installer for libomp.  I just 
haven’t taken the time to figure out what’s going on with that step.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/5C7D33D7-E7BA-49AB-948D-170441E8EDE0%40gmail.com.

Reply via email to