Closed GoogleCodeExporter closed 9 years ago
Hum, looks like MacPorts does not add its libraries in the path by default. We
can work around this by setting the DYLD_FALLBACK_LIBRARY_PATH environment
variable, e.g.:
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/
This directory will be hardcoded next time I recompile JavaCV with MacPorts,
well unless OpenCV 2.3.2 or something comes out and MacPorts takes another few
months to follow...
Original comment by samuel.a...@gmail.com
on 4 Nov 2011 at 4:12
Well, oddly enough now I can run the javacv example just fine in Eclipse,
though still having some issue with the classpath on the command line.
What changed is I rebuilt libpng in Mac Ports. I can link to the thread
discussing it there if you wish.
Original comment by andrew.c...@gmail.com
on 4 Nov 2011 at 8:49
[deleted comment]
I got it. Thanks anyway.
Original comment by bphan...@gmail.com
on 22 Nov 2011 at 3:31
Mind sharing your solution?
Original comment by andrew.c...@gmail.com
on 22 Nov 2011 at 2:09
Typing the export command above in a Terminal window does not work?
Original comment by samuel.a...@gmail.com
on 26 Nov 2011 at 6:04
If you are running it in Eclipse simply add the environment variable
DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib in the debug/run configuration and
that should work. Otherwise if you run from the command line having it set in
your env should also work.
Original comment by triggull...@gmail.com
on 29 Nov 2011 at 5:37
export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib/
also worked for me.
(OSX)
Original comment by jerda...@speakeasy.net
on 2 Dec 2011 at 6:35
Fixed in latest release!
Original comment by samuel.a...@gmail.com
on 8 Jan 2012 at 3:46
Original issue reported on code.google.com by
andrew.c...@gmail.com
on 3 Nov 2011 at 5:21