Comments (11)
Solved...
Remove all default(None) in file vl/kmeans.c
.
However, I now have a further issue:
⨯ make ARCH=glnxa64 MKOCTFILE=/usr/local/bin/mkoctfile
brought me a further issue:
make ARCH=glnxa64 MKOCTFILE=/usr/local/bin/mkoctfile 12:41:28
Detected compiler: gcc 9
GCC <= 4.6.0 detected, disabling AVX.
The MALTAB version will be detected in the next phase of Make
MEX toolbox/mex/mexa64/vl_hikmeanspush.mexa64
mex: unrecognized option '-glnxa64'
mex: unrecognized option '-O'
mex: unrecognized option '-largeArrayDims'
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=mex)
restricted \write18 enabled.
entering extended mode
! I can't find file `"CFLAGS=$CFLAGS "'.
<*> "CFLAGS=$CFLAGS "
LDFLAGS=$LDFLAGS -DVL_DISABLE_AVX -I. -Itoolbox ./too...
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
My env:
OS: Ubuntu 20.04
That is why I'm using option: -glnxa64
.
from vlfeat.
Did you resolve this problem ?
from vlfeat.
reproduced
from vlfeat.
For me removing default(none)
from vl/kmeans.c
worked to some extend. I also had to remove the following from toolbox/mexutils.h
:
/* these attributes suppress undefined symbols warning with GCC */
#ifdef VL_COMPILER_GNUC
#if (! defined(HAVE_OCTAVE))
EXTERN_C void __attribute__((noreturn))
mexErrMsgIdAndTxt (const char * identifier, const char * err_msg, ...) ;
#else
extern void __attribute__((noreturn))
mexErrMsgIdAndTxt (const char *id, const char *s, ...);
#endif
#endif
I don't have octave and it was complaining about a missing ;
before
EXTERN_C void
^
It then compiled with matlab support.
Edit: OS: ubuntu 20.04, matlab2020b
from vlfeat.
Hi I reproduced this problem also. Any workaround ?
from vlfeat.
Thanks, it solved my issue.
from vlfeat.
Hi, @pierre33
How did you solve that pdfTex issue?
Thanks...
from vlfeat.
Hi @peijason,
Actually I did not encounter this issue when compiling vlfeat doing the following:
- git clone https://github.com/vlfeat/vlfeat.git vlfeat
- cd vlfeat
- make
Here are the first lines when doing the previous commands:
Detected compiler: gcc 9
GCC <= 4.6.0 detected, disabling AVX.
MATLAB support disabled
The MALTAB version will be detected in the next phase of Make
CC bin/glnxa64/objs/kmeans.o
CC bin/glnxa64/objs/mathop_avx.o
CC bin/glnxa64/objs/kdtree.o
from vlfeat.
I have also tried and it depends if latex is installed on the local system : Works with
make MEX=$MATLABROOT/bin/
See #76
from vlfeat.
On my ubuntu 20.04, I had also to add libiomp5.so dependency by installing intel-mkl-full package
sudo apt install intel-mkl-full
from vlfeat.
@peijason You are the best, thanks for your solution. I was trying to build vl_sift.mex so I can use it inside Octave.. not fun. But here is what worked for me:
mkoctfile --mex -v --output "toolbox/mex/octave/mexa64/vl_sift.mex" -DVL_DISABLE_AVX -DMATLAB_MEX_FILE -I. -Itoolbox "./toolbox/sift/vl_sift.c" -Lbin/glnxa64 -lvl -lm
For some reason, while your command worked and put many vl_*mex files in toolbox/mex.octave, it did not build sift. Not sure why. The other error I got was that mxMalloc_800 not recognized.
For this, I just removed all the _800
tags in the source code. Then it worked. Hope it helps.
I am also using 20.04.
from vlfeat.
Related Issues (20)
- MathJax on vlfeat.org is broken due to http/https Mixed Content
- Memory issue in sift.c caused by vl_pgm_extract_head
- If random number generator is thread-safe for any hardware? What are the requirements for any hardware?
- Carmack fast inverse sqrt and vector normalize
- vl_covdet_put_image segfaults on small images
- Question on SIFT HOT 2
- Python bindings HOT 1
- How to use vlfeat build KD-TREE?
- pgm file judging condiction
- `vl_covdet_extract_orientations()` does not check OOM condition of `vl_covdet_extract_orientations_for_frame()` HOT 1
- `vl_covdeg_get_laplacian_peak_threshold` function name is error in `covdet.h`
- vl_kdtreequery() and vl_kdtreebuild()
- Markup leaking into HTML
- error: unknown type name 'EXTERN_C' HOT 1
- Building VLFeat on Mac M1 for ARM Architecture HOT 2
- Erroneous line in vl_test_hog.m
- Error in vl_hog.c
- Error in vl_scalespacegeometry_is_equal in scalspace.c
- error: ‘vl_infinity_d’ not specified in enclosing ‘parallel’
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 vlfeat.