Comments (5)
do you have libjpeg installed? try brew install libjpeg
this line of error basically says that the linker cannot link the binary against libjpeg library.
from ccv.
I have it installed both with brew and manually.
Could it be from the fact of a missing dylib for libjpeg. Because I don't have that.
On Sep 22, 2013, at 4:22 AM, Liu Liu [email protected] wrote:
do you have libjpeg installed? try brew install libjpeg
this line of error basically says that the linker cannot link the binary against libjpeg library.
—
Reply to this email directly or view it on GitHub.
from ccv.
As an evidence of me having 'libjpeg' installed, you can see that make succeeded in lib folder
from ccv.
I found the libjpeg's dylib
in /usr/local/Cellar/jpeg/8d/lib
and changed lib/config.mk
to the following and it solved my problem:
XCODE_SDK := macosx10.8
ARCH := x86_64
CC := clang
AR := ar
CFLAGS := -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -msse2 -D HAVE_SSE2 -D HAVE_LIBJPEG -D HAVE_LIBPNG -I/usr/X11/include -D HAVE_GSL -D HAVE_FFTW3 -D HAVE_LIBLINEAR -D HAVE_ACCELERATE_FRAMEWORK -I/usr/local/include -I/Users/yasser/installs/liblinear-1.93 -I/Users/yasser/installs/jpeg-9
LDFLAGS := -lm -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -ljpeg -lpng -lz -L/usr/X11/lib -L/usr/local/lib -L/usr/local/Cellar/jpeg/8d/lib -L/usr/local/Cellar/liblinear/1.93/lib -lgsl -lfftw3f -lfftw3 -llinear -framework Accelerate
Note how I have manually added -L/usr/local/Cellar/jpeg/8d/lib
to LDFLAGS
.
from ccv.
Thanks for mention this! I am looking into improve the build system in ccv (for the larger effort of supporting CUDA).
from ccv.
Related Issues (20)
- Could not run simplest example (Segmentation fault) HOT 2
- Read RGBA int* using ccv_read HOT 2
- liuliu,可以提供email以便交流吗?
- computation graph optimization of pytorch HOT 1
- Build error HOT 5
- Try this
- Performance regressions with cudnn 8
- cv::Mat to ccv_dense_matrix_t* HOT 1
- Undefined reference to ccv functions HOT 1
- [SPAM RISK]
- Build on Windows
- How read /dev/video0 with ffmpeg in c++?
- [Vuln] SSRF vulnerability in `curl_init` Function of `loader.php` File (ccv latest version) HOT 1
- mac setup line 3 is difficult to understand HOT 2
- Seed randomization? HOT 1
- Awesome! HOT 1
- Need help in creating libccv.so HOT 1
- [Feature Request] ONNX runtime HOT 1
- Woah, cant believe this exists HOT 5
- detection of artwork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccv.