HI,
Thank you for your amazing library yael, I have used it successfully in Windows, while I fail to compile it with Ubuntu 17.04, Here is the Error message
cd yael; make
make[1]: Entering directory '/home/wang/pikaflex/alpha_version/renaultnet/pointnet/yael/yael'
gcc -fPIC -Wall -g -O3 -c matrix.c -o matrix.o -DFINTEGER=int -DHAVE_THREADS -fopenmp -fopenmp
matrix.c:383:12: warning: ‘first’ defined but not used [-Wunused-variable]
static int first = 1;
^
gcc -fPIC -Wall -g -O3 -c vector.c -o vector.o
gcc -fPIC -Wall -g -O3 -c nn.c -o nn.o -DFINTEGER=int -DHAVE_THREADS -fopenmp
nn.c:211:2: warning: #warning "SSE optimized distance computations" [-Wcpp]
#warning "SSE optimized distance computations"
^
gcc -fPIC -Wall -g -O3 -c kmeans.c -o kmeans.o -DHAVE_THREADS
gcc -fPIC -Wall -g -O3 -c hkm.c -o hkm.o -DHAVE_THREADS
gcc -fPIC -Wall -g -O3 -c gmm.c -o gmm.o -DHAVE_THREADS -DFINTEGER=int
gcc -fPIC -Wall -g -O3 -c eigs.c -o eigs.o -DFINTEGER=int -DFINTEGER=int -fopenmp
gcc -fPIC -Wall -g -O3 -c spectral_clustering.c -o spectral_clustering.o
gcc -fPIC -Wall -g -O3 -c sorting.c -o sorting.o
gcc -fPIC -Wall -g -O3 -c binheap.c -o binheap.o
binheap.c: In function ‘fbinheap_addn’:
binheap.c:162:5: warning: implicit declaration of function ‘isnan’ [-Wimplicit-function-declaration]
if(!isnan(v[i]))
^
gcc -fPIC -Wall -g -O3 -c machinedeps.c -o machinedeps.o -fopenmp
machinedeps.c:129:41: warning: type defaults to ‘int’ in declaration of ‘__malloc_ptr_t’ [-Wimplicit-int]
void (*real_free) (void *__ptr, const __malloc_ptr_t);
^
machinedeps.c:130:46: warning: type defaults to ‘int’ in declaration of ‘__malloc_ptr_t’ [-Wimplicit-int]
void *(*real_malloc) (size_t __size, const __malloc_ptr_t);
^
machinedeps.c:131:60: warning: type defaults to ‘int’ in declaration of ‘__malloc_ptr_t’ [-Wimplicit-int]
void *(*real_realloc) (void *__ptr, size_t __size, const __malloc_ptr_t);
^
machinedeps.c:132:68: warning: type defaults to ‘int’ in declaration of ‘__malloc_ptr_t’ [-Wimplicit-int]
void *(*real_memalign) (size_t __alignment, size_t __size, const __malloc_ptr_t);
^
machinedeps.c:137:71: error: unknown type name ‘__malloc_ptr_t’
static void *collector_memalign (size_t alignment, size_t size, const __malloc_ptr_t f);
^
machinedeps.c:139:51: error: unknown type name ‘__malloc_ptr_t’
static void *collector_malloc (size_t size, const __malloc_ptr_t f);
^
machinedeps.c:140:46: error: unknown type name ‘__malloc_ptr_t’
static void collector_free (void *ptr, const __malloc_ptr_t f);
^
machinedeps.c:141:66: error: unknown type name ‘__malloc_ptr_t’
static void *collector_realloc (void *ptr_in, size_t size, const __malloc_ptr_t f);
^
machinedeps.c:162:71: error: unknown type name ‘__malloc_ptr_t’
static void *collector_memalign (size_t alignment, size_t size, const __malloc_ptr_t f) {
Could you share your suggestions on solve this?
Thank you a lot
HI,
Thank you for your amazing library yael, I have used it successfully in Windows, while I fail to compile it with Ubuntu 17.04, Here is the Error message
Could you share your suggestions on solve this?
Thank you a lot