-
-
Save amckinlay/82a1068256dc1a24f184 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ opencv-demonstrator git:(master) ✗ make linux | |
cd libcutil; export TARGET=LINUX; make | |
Updating data files... | |
Compiling c++ file ./src/cutil.cc... | |
In file included from ./src/cutil.cc:3: | |
In file included from include/cutil.hpp:24: | |
In file included from include/slots.hpp:23: | |
include/hal.hpp:58:3: error: unknown type name 'pthread_mutex_t'; did you mean 'pthread_attr_t'? | |
pthread_mutex_t mutex; | |
^~~~~~~~~~~~~~~ | |
pthread_attr_t | |
/usr/include/sys/_pthread/_pthread_attr_t.h:30:33: note: 'pthread_attr_t' declared here | |
typedef __darwin_pthread_attr_t pthread_attr_t; | |
^ | |
In file included from ./src/cutil.cc:3: | |
In file included from include/cutil.hpp:24: | |
In file included from include/slots.hpp:23: | |
include/hal.hpp:80:3: error: unknown type name 'pthread_cond_t'; did you mean 'pthread_attr_t'? | |
pthread_cond_t cvar; | |
^~~~~~~~~~~~~~ | |
pthread_attr_t | |
/usr/include/sys/_pthread/_pthread_attr_t.h:30:33: note: 'pthread_attr_t' declared here | |
typedef __darwin_pthread_attr_t pthread_attr_t; | |
^ | |
In file included from ./src/cutil.cc:3: | |
In file included from include/cutil.hpp:24: | |
In file included from include/slots.hpp:23: | |
include/hal.hpp:81:3: error: unknown type name 'pthread_mutex_t'; did you mean 'pthread_attr_t'? | |
pthread_mutex_t mutex; | |
^~~~~~~~~~~~~~~ | |
pthread_attr_t | |
/usr/include/sys/_pthread/_pthread_attr_t.h:30:33: note: 'pthread_attr_t' declared here | |
typedef __darwin_pthread_attr_t pthread_attr_t; | |
^ | |
In file included from ./src/cutil.cc:3: | |
In file included from include/cutil.hpp:807: | |
include/templates/cutil-private.hpp:26:3: error: unknown type name 'pthread_t' | |
pthread_t thread_id;// = (pthread_t *) malloc(sizeof(pthread_t)); | |
^ | |
include/templates/cutil-private.hpp:29:6: error: use of undeclared identifier 'pthread_attr_init' | |
if(pthread_attr_init(&attr)) | |
^ | |
include/templates/cutil-private.hpp:35:6: error: use of undeclared identifier 'pthread_attr_setstacksize' | |
if(pthread_attr_setstacksize(&attr, 64000)) | |
^ | |
./src/cutil.cc:22:10: fatal error: 'malloc.h' file not found | |
#include <malloc.h> | |
^ | |
7 errors generated. | |
make[1]: *** [build/debug/cutil.o] Error 1 | |
make: *** [linux] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment