Comments (6)
modify face.go at this project
package face
// #cgo CXXFLAGS: -std=c++1z -Wall -O3 -DNDEBUG -mcpu=apple-m1
from go-face.
another solutions is update clang with brew
lang: error: the clang compiler does not support '-march=native'
1° - Install llvm con brew
brew install llvm
2° - Check clang version
cd /opt/homebrew/opt/llvm
.clang --version
Result:
Homebrew clang version 15.0.6
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
3° - modify path with the new version, for example add to .zshrc
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
from go-face.
I tried the solution above, and now it gets an error
classify.cc:2:10: fatal error: 'dlib/graph_utils.h' file not found
from go-face.
I tried the solution above, and now it gets an error
classify.cc:2:10: fatal error: 'dlib/graph_utils.h' file not found
try
CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/jpeg/9d/include/:/opt/homebrew/Cellar/dlib/19.24_1/include LD_LIBRARY_PATH=/opt/homebrew/Cellar/dlib/19.24_1/lib/:/opt/homebrew/Cellar/jpeg/9d/lib/ LIBRARY_PATH=/opt/homebrew/Cellar/dlib/19.24_1/lib/:/opt/homebrew/Cellar/jpeg/9d/lib/ go build
from go-face.
Same error here, even with setting LIBRARY_PATH
(for me, CPLUS_INCLUDE_PATH
and LD_LIBRARY_PATH
were already setup correctly).
Any hints @chaosue @Kagami @gougo @Exegetech @nodoyuna @dtaivpp ?
from go-face.
Fixed by copying dlib in $GOPATH/pkg/path/to/go-face
and changing import in classify.cc
from go-face.
Related Issues (20)
- windows run : running g++ failed: exit status 1 cannot find -lblas: No such file or directory HOT 5
- How to use a face detection model with 68 feature points.
- library not work with AWS Lambda ECR
- openblas is installed on WIN10, but I still get undefined reference to `cblas_sgemm'
- Error recognizing unclassified faces.
- go get issue in ubuntu 20.04 HOT 1
- face alignment HOT 1
- issu with install
- how to save model and load it later?
- How does Centos install dlib?
- does go face support docker or not HOT 2
- Face matching
- There is a problem, please help to look at it HOT 9
- Find similar faces?
- Option to ignore a specific folder
- SIGILL: illegal instruction HOT 5
- Opencv Image buffer
- cant run functions ("undefined 1.2"), need to update face.go? HOT 9
- got error "jpeg_mem_loader: unsupported pixel size"
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 go-face.