Jak zainstalowa
Jak zainstalować Emc2 axis?
Jak w temacie jak zainstalować ten program
To jest program który się zwie "emc2 axis" i służy do sterowania obrabiarek CNC (takie nowoczesne tokarki frezarki itp). Co za oporne ustrojstwo. :-x

Link pochodzi ze strony systemu linux dedykowanego urządzeniom CNC (http://www.linuxcnc.org) w dziale download pierwszy po lewej.

Link pochodzi ze strony systemu linux dedykowanego urządzeniom CNC (http://www.linuxcnc.org) w dziale download pierwszy po lewej.
Zwykle lekceważe ten plik bo nie najlepiej u mnie z angielskim ale rzeczywiście był pomocny.
Niestety kompilacja nie zakończyła się powodzeniem i na końcu zwróciła
Wyczytałem tutaj że potrzebny jet do prawidłowego działania Real Time. Zainstalowałem więc moduł Real Time (pakiet o nazwie rtai). Ponowna kompilacja dała taki sam błąd.
Czy ktoś wie jak uruchomić obsługe RT w jajku?
Niestety kompilacja nie zakończyła się powodzeniem i na końcu zwróciła
.........
rtapi/rtai_ulapi.c:70:48: error: rtai_shm.h: Nie ma takiego pliku ani katalogu
rtapi/rtai_ulapi.c: In function ‘rtapi_init’:
rtapi/rtai_ulapi.c:110: warning: implicit declaration of function ‘rtai_malloc’
rtapi/rtai_ulapi.c:110: warning: assignment makes pointer from integer without a cast
rtapi/rtai_ulapi.c:125: warning: implicit declaration of function ‘rtai_free’
rtapi/rtai_ulapi.c: In function ‘rtapi_shmem_new’:
rtapi/rtai_ulapi.c:447: warning: assignment makes pointer from integer without a cast
rtapi/rtai_ulapi.c:482: warning: assignment makes pointer from integer without a cast
make: *** [objects/rtapi/rtai_ulapi.o] Błąd 1
shakez@debian:~/Desktop/cnc/emc2-2.3.4/src$
Wyczytałem tutaj że potrzebny jet do prawidłowego działania Real Time. Zainstalowałem więc moduł Real Time (pakiet o nazwie rtai). Ponowna kompilacja dała taki sam błąd.
Czy ktoś wie jak uruchomić obsługe RT w jajku?
Po przeniesieniu pliku:
sda1/usr/include/rtai/rtai_lxrt
szuka kolejnej biblioteki rtai_lxrt.h w swoim katalogu zamiast w kataloguIn file included from rtapi/rtai_ulapi.c:70:
rtapi/rtai_shm.h:182:23: error: rtai_lxrt.h: Nie ma takiego pliku ani katalogu
In file included from rtapi/rtai_ulapi.c:70:
rtapi/rtai_shm.h: In function ‘_rt_shm_alloc’:
rtapi/rtai_shm.h:200: error: ‘SHM_ALLOC’ undeclared (first use in this function)
rtapi/rtai_shm.h:200: error: (Each undeclared identifier is reported only once
rtapi/rtai_shm.h:200: error: for each function it appears in.)
rtapi/rtai_shm.h:206: error: ‘SHM_FREE’ undeclared (first use in this function)
rtapi/rtai_shm.h:213: error: ‘HEAP_SET’ undeclared (first use in this function)
rtapi/rtai_shm.h: In function ‘rt_shm_free’:
rtapi/rtai_shm.h:336: error: ‘SHM_SIZE’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:368: error: expected declaration specifiers or ‘...’ before ‘rt_halloc’
rtapi/rtai_shm.h:368: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:369: warning: return type defaults to ‘int’
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:368: error: parameter name omitted
rtapi/rtai_shm.h:370: error: ‘size’ undeclared (first use in this function)
rtapi/rtai_shm.h:371: warning: implicit declaration of function ‘rtai_lxrt’
rtapi/rtai_shm.h:371: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:371: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:371: error: ‘HEAP_ALLOC’ undeclared (first use in this function)
rtapi/rtai_shm.h:371: error: request for member ‘v’ in something not a structure or union
rtapi/rtai_shm.h:371: error: ‘LOW’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:374: error: expected declaration specifiers or ‘...’ before ‘rt_hfree’
rtapi/rtai_shm.h:374: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:375: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:374: error: conflicting types for ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:376: error: ‘addr’ undeclared (first use in this function)
rtapi/rtai_shm.h:377: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:377: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:377: error: ‘HEAP_FREE’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:380: error: expected declaration specifiers or ‘...’ before ‘rt_named_halloc’
rtapi/rtai_shm.h:380: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:381: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:380: error: redefinition of ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:380: error: parameter name omitted
rtapi/rtai_shm.h:382: error: ‘name’ undeclared (first use in this function)
rtapi/rtai_shm.h:382: error: ‘size’ undeclared (first use in this function)
rtapi/rtai_shm.h:383: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:383: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:383: error: ‘HEAP_NAMED_ALLOC’ undeclared (first use in this function)
rtapi/rtai_shm.h:383: error: request for member ‘v’ in something not a structure or union
rtapi/rtai_shm.h:383: error: ‘LOW’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:386: error: expected declaration specifiers or ‘...’ before ‘rt_named_hfree’
rtapi/rtai_shm.h:386: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:387: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:386: error: conflicting types for ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:388: error: ‘addr’ undeclared (first use in this function)
rtapi/rtai_shm.h:389: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:389: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:389: error: ‘HEAP_NAMED_FREE’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:392: error: expected declaration specifiers or ‘...’ before ‘rt_malloc’
rtapi/rtai_shm.h:392: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:393: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:392: error: redefinition of ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:392: error: parameter name omitted
rtapi/rtai_shm.h:394: error: ‘size’ undeclared (first use in this function)
rtapi/rtai_shm.h:395: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:395: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:395: error: ‘MALLOC’ undeclared (first use in this function)
rtapi/rtai_shm.h:395: error: request for member ‘v’ in something not a structure or union
rtapi/rtai_shm.h:395: error: ‘LOW’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:398: error: expected declaration specifiers or ‘...’ before ‘rt_free’
rtapi/rtai_shm.h:398: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:399: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:398: error: conflicting types for ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:400: error: ‘addr’ undeclared (first use in this function)
rtapi/rtai_shm.h:401: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:401: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:401: error: ‘FREE’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:404: error: expected declaration specifiers or ‘...’ before ‘rt_named_malloc’
rtapi/rtai_shm.h:404: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:405: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:404: error: redefinition of ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:404: error: parameter name omitted
rtapi/rtai_shm.h:406: error: ‘name’ undeclared (first use in this function)
rtapi/rtai_shm.h:406: error: ‘size’ undeclared (first use in this function)
rtapi/rtai_shm.h:407: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:407: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:407: error: ‘NAMED_MALLOC’ undeclared (first use in this function)
rtapi/rtai_shm.h:407: error: request for member ‘v’ in something not a structure or union
rtapi/rtai_shm.h:407: error: ‘LOW’ undeclared (first use in this function)
rtapi/rtai_shm.h: At top level:
rtapi/rtai_shm.h:410: error: expected declaration specifiers or ‘...’ before ‘rt_named_free’
rtapi/rtai_shm.h:410: error: expected declaration specifiers or ‘...’ before ‘(’ token
rtapi/rtai_shm.h:411: warning: return type defaults to ‘int’
rtapi/rtai_shm.h:410: error: conflicting types for ‘RTAI_PROTO’
rtapi/rtai_shm.h:369: error: previous definition of ‘RTAI_PROTO’ was here
rtapi/rtai_shm.h: In function ‘RTAI_PROTO’:
rtapi/rtai_shm.h:412: error: ‘addr’ undeclared (first use in this function)
rtapi/rtai_shm.h:413: error: ‘BIDX’ undeclared (first use in this function)
rtapi/rtai_shm.h:413: error: ‘SIZARG’ undeclared (first use in this function)
rtapi/rtai_shm.h:413: error: ‘NAMED_FREE’ undeclared (first use in this function)
make: *** [objects/rtapi/rtai_ulapi.o] Błąd 1
sda1/usr/include/rtai/rtai_lxrt