А дремель на что? С тонким диском.. там делов то на пару минут...Алексс писал(а):самое главное - нет пилы делать пропилы.
Мой CNC китаес Bernardo KF25 Top (клон BF20)
- Nick
- Мастер
- Сообщения: 22776
- Зарегистрирован: 23 ноя 2009, 16:45
- Репутация: 1735
- Заслуга: Developer
- Откуда: Gatchina, Saint-Petersburg distr., Russia
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
яж говорю - нэту 
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Nick
- Мастер
- Сообщения: 22776
- Зарегистрирован: 23 ноя 2009, 16:45
- Репутация: 1735
- Заслуга: Developer
- Откуда: Gatchina, Saint-Petersburg distr., Russia
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
значит его надо тоже сделать 
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
это мысль!
вечером пойду руду добывать
вечером пойду руду добывать
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
заказал себе вот такой корпус:
ато че-то как-то без пульта не очень, хоть и к клаве приноровился уже.
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Тима
- Почётный участник

- Сообщения: 3162
- Зарегистрирован: 01 мар 2012, 20:47
- Репутация: 1089
- Настоящее имя: Тимур
- Откуда: КБР
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
где? почем?Алексс писал(а):заказал себе вот такой корпус:
Дорогу осилит идущий!
Я все пойму, Вы только дайте денег!!!
Я все пойму, Вы только дайте денег!!!
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
заказал в jork.cz за 35евро с доставкой и магнитным крюком.
180ая модель есть в farnell
180ая модель есть в farnell
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
готовил сегодня конфигурацию для пульта.
результаты интересные.
во первых, нашел почему перестала работать "Show Hal Configuration" - я использовал в названии сигнала точку.
типа spindle-vel-cmd.abs. вот тут-то и сорвало кому-то бошку.
во вторых, на моей запланированной конфигурации hidcomp глючит при работе с энкодером. проверил путем создания простой конфигурации с одним только энкодером - шуршит без проблем. так что придется искать кто с кем конфликтует. самое приятное это метода поиска. тыком
ну или разбираться в исходниках... там грустно.
как-то так.
результаты интересные.
во первых, нашел почему перестала работать "Show Hal Configuration" - я использовал в названии сигнала точку.
типа spindle-vel-cmd.abs. вот тут-то и сорвало кому-то бошку.
во вторых, на моей запланированной конфигурации hidcomp глючит при работе с энкодером. проверил путем создания простой конфигурации с одним только энкодером - шуршит без проблем. так что придется искать кто с кем конфликтует. самое приятное это метода поиска. тыком
ну или разбираться в исходниках... там грустно.
как-то так.
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
повтыкал в исходники, не все так плохо 
понятно одно - проблема не в прошивке teensy, но где-то в настройке/исходниках hidcomp.
кто нибудь объяснит, что возвращает Diff ?
еще одна интересность....
кто может скомпилять на emc это этот компонент:
понятно одно - проблема не в прошивке teensy, но где-то в настройке/исходниках hidcomp.
кто нибудь объяснит, что возвращает Diff ?
Код: Выделить всё
static int SignExtend( int n, int nMax )
{
n &= nMax;
if ( n & ((nMax+1)>>1) )
{
n |= ~nMax;
}
return n;
}
static int Diff( int n, int old, int min, int max )
{
int nDiff = n - old;
return SignExtend(nDiff,max-min);
}
еще одна интересность....
кто может скомпилять на emc это этот компонент:
Код: Выделить всё
component out8;
pin out unsigned out_ "Output value; only low 8 bits are used";
param r unsigned ioaddr;
function _;
option count_function;
option extra_setup;
option extra_cleanup;
option constructable no;
license "GPL";
;;
#include <asm/io.h>
#include <stdlib.h>
#define MAX 8
int io[MAX] = {0,};
RTAPI_MP_ARRAY_INT(io, MAX, "I/O addresses of out8 boards");
int get_count(void) {
int i = 0;
for(i=0; i<MAX && io[i]; i++) { /* Nothing */ }
return i;
}
EXTRA_SETUP() {
if(!rtapi_request_region(io[extra_arg], 1, "out8")) {
// set this I/O port to 0 so that EXTRA_CLEANUP does not release the IO
// ports that were never requested.
io[extra_arg] = 0;
return -EBUSY;
}
ioaddr = io[extra_arg];
return 0;
}
EXTRA_CLEANUP() {
int i;
for(i=0; i < MAX && io[i]; i++) {
rtapi_release_region(io[i], 1);
}
}
FUNCTION(_) { outb(out_, ioaddr); }
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
-
nkp
- Мастер
- Сообщения: 8340
- Зарегистрирован: 28 ноя 2011, 00:25
- Репутация: 1589
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
Код: Выделить всё
root@nkp-desktop:/usr/include# sudo comp --install out8.comp
make KBUILD_EXTRA_SYMBOLS=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Вход в каталог `/usr/src/linux-headers-2.6.32-122-rtai'
CC [M] /tmp/tmpQ6JGyO/out8.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /usr/include/features.h:346,
from /usr/include/stdlib.h:25,
from out8.comp:15:
/usr/include/sys/cdefs.h:287:1: warning: "__always_inline" redefined
In file included from include/linux/compiler-gcc.h:86,
from include/linux/compiler.h:40,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/compiler-gcc4.h:15:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:42,
from out8.comp:15:
/usr/include/bits/waitflags.h:26:1: warning: "WNOHANG" redefined
In file included from include/linux/completion.h:11,
from include/linux/mm_types.h:12,
from include/linux/sched.h:63,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/wait.h:4:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:42,
from out8.comp:15:
/usr/include/bits/waitflags.h:27:1: warning: "WUNTRACED" redefined
In file included from include/linux/completion.h:11,
from include/linux/mm_types.h:12,
from include/linux/sched.h:63,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/wait.h:5:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:42,
from out8.comp:15:
/usr/include/bits/waitflags.h:30:1: warning: "WSTOPPED" redefined
In file included from include/linux/completion.h:11,
from include/linux/mm_types.h:12,
from include/linux/sched.h:63,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/wait.h:6:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:42,
from out8.comp:15:
/usr/include/bits/waitflags.h:31:1: warning: "WEXITED" redefined
In file included from include/linux/completion.h:11,
from include/linux/mm_types.h:12,
from include/linux/sched.h:63,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/wait.h:7:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:42,
from out8.comp:15:
/usr/include/bits/waitflags.h:32:1: warning: "WCONTINUED" redefined
In file included from include/linux/completion.h:11,
from include/linux/mm_types.h:12,
from include/linux/sched.h:63,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/wait.h:8:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/types.h:35: error: redefinition of typedef ‘u_char’
include/linux/types.h:88: note: previous declaration of ‘u_char’ was here
/usr/include/sys/types.h:36: error: redefinition of typedef ‘u_short’
include/linux/types.h:89: note: previous declaration of ‘u_short’ was here
/usr/include/sys/types.h:37: error: redefinition of typedef ‘u_int’
include/linux/types.h:90: note: previous declaration of ‘u_int’ was here
/usr/include/sys/types.h:38: error: redefinition of typedef ‘u_long’
include/linux/types.h:91: note: previous declaration of ‘u_long’ was here
/usr/include/sys/types.h:46: error: redefinition of typedef ‘loff_t’
include/linux/types.h:50: note: previous declaration of ‘loff_t’ was here
/usr/include/sys/types.h:50: error: redefinition of typedef ‘ino_t’
include/linux/types.h:22: note: previous declaration of ‘ino_t’ was here
/usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
include/linux/types.h:21: note: previous declaration of ‘dev_t’ was here
/usr/include/sys/types.h:67: error: redefinition of typedef ‘gid_t’
include/linux/types.h:37: note: previous declaration of ‘gid_t’ was here
/usr/include/sys/types.h:72: error: conflicting types for ‘mode_t’
include/linux/types.h:23: note: previous declaration of ‘mode_t’ was here
/usr/include/sys/types.h:77: error: conflicting types for ‘nlink_t’
include/linux/types.h:24: note: previous declaration of ‘nlink_t’ was here
/usr/include/sys/types.h:82: error: redefinition of typedef ‘uid_t’
include/linux/types.h:36: note: previous declaration of ‘uid_t’ was here
/usr/include/sys/types.h:88: error: redefinition of typedef ‘off_t’
include/linux/types.h:25: note: previous declaration of ‘off_t’ was here
/usr/include/sys/types.h:100: error: redefinition of typedef ‘pid_t’
include/linux/types.h:26: note: previous declaration of ‘pid_t’ was here
/usr/include/sys/types.h:110: error: redefinition of typedef ‘ssize_t’
include/linux/types.h:64: note: previous declaration of ‘ssize_t’ was here
/usr/include/sys/types.h:116: error: redefinition of typedef ‘daddr_t’
include/linux/types.h:27: note: previous declaration of ‘daddr_t’ was here
/usr/include/sys/types.h:117: error: redefinition of typedef ‘caddr_t’
include/linux/types.h:84: note: previous declaration of ‘caddr_t’ was here
/usr/include/sys/types.h:123: error: redefinition of typedef ‘key_t’
include/linux/types.h:28: note: previous declaration of ‘key_t’ was here
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/time.h:60: error: redefinition of typedef ‘clock_t’
include/linux/types.h:79: note: previous declaration of ‘clock_t’ was here
/usr/include/time.h:76: error: redefinition of typedef ‘time_t’
include/linux/types.h:74: note: previous declaration of ‘time_t’ was here
/usr/include/time.h:92: error: redefinition of typedef ‘clockid_t’
include/linux/types.h:31: note: previous declaration of ‘clockid_t’ was here
/usr/include/time.h:104: error: conflicting types for ‘timer_t’
include/linux/types.h:30: note: previous declaration of ‘timer_t’ was here
In file included from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/types.h:141: error: redefinition of typedef ‘suseconds_t’
include/linux/types.h:29: note: previous declaration of ‘suseconds_t’ was here
In file included from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/types.h:151: error: redefinition of typedef ‘ulong’
include/linux/types.h:97: note: previous declaration of ‘ulong’ was here
/usr/include/sys/types.h:152: error: redefinition of typedef ‘ushort’
include/linux/types.h:95: note: previous declaration of ‘ushort’ was here
/usr/include/sys/types.h:153: error: redefinition of typedef ‘uint’
include/linux/types.h:96: note: previous declaration of ‘uint’ was here
/usr/include/sys/types.h:195: error: redefinition of typedef ‘int8_t’
include/linux/types.h:103: note: previous declaration of ‘int8_t’ was here
/usr/include/sys/types.h:196: error: redefinition of typedef ‘int16_t’
include/linux/types.h:105: note: previous declaration of ‘int16_t’ was here
/usr/include/sys/types.h:197: error: redefinition of typedef ‘int32_t’
include/linux/types.h:107: note: previous declaration of ‘int32_t’ was here
/usr/include/sys/types.h:198: error: redefinition of typedef ‘int64_t’
include/linux/types.h:118: note: previous declaration of ‘int64_t’ was here
/usr/include/sys/types.h:201: error: redefinition of typedef ‘u_int8_t’
include/linux/types.h:102: note: previous declaration of ‘u_int8_t’ was here
/usr/include/sys/types.h:202: error: redefinition of typedef ‘u_int16_t’
include/linux/types.h:104: note: previous declaration of ‘u_int16_t’ was here
/usr/include/sys/types.h:203: error: redefinition of typedef ‘u_int32_t’
include/linux/types.h:106: note: previous declaration of ‘u_int32_t’ was here
/usr/include/sys/types.h:204: error: redefinition of typedef ‘u_int64_t’
include/linux/types.h:117: note: previous declaration of ‘u_int64_t’ was here
In file included from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/types.h:212:1: warning: "__BIT_TYPES_DEFINED__" redefined
In file included from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/types.h:100:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/bits/select.h:34:1: warning: "__FD_ZERO" redefined
In file included from /usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types.h:3,
from include/linux/posix_types.h:47,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
/usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types_32.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/bits/select.h:59:1: warning: "__FD_SET" redefined
In file included from /usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types.h:3,
from include/linux/posix_types.h:47,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
/usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types_32.h:48:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/bits/select.h:60:1: warning: "__FD_CLR" redefined
In file included from /usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types.h:3,
from include/linux/posix_types.h:47,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
/usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types_32.h:54:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/select.h:31,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/bits/select.h:61:1: warning: "__FD_ISSET" redefined
In file included from /usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types.h:3,
from include/linux/posix_types.h:47,
from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
/usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/posix_types_32.h:60:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:38: error: conflicting types for ‘sigset_t’
/usr/src/linux-headers-2.6.32-122-rtai/arch/x86/include/asm/signal.h:32: note: previous declaration of ‘sigset_t’ was here
In file included from /usr/include/sys/select.h:44,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/time.h:121: error: redefinition of ‘struct timespec’
In file included from /usr/include/sys/select.h:46,
from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/bits/time.h:70: error: redefinition of ‘struct timeval’
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
include/linux/types.h:20: note: previous declaration of ‘fd_set’ was here
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:93:1: warning: "FD_SET" redefined
In file included from include/linux/timex.h:56,
from include/linux/sched.h:56,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/time.h:246:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:94:1: warning: "FD_CLR" redefined
In file included from include/linux/timex.h:56,
from include/linux/sched.h:56,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/time.h:247:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:95:1: warning: "FD_ISSET" redefined
In file included from include/linux/timex.h:56,
from include/linux/sched.h:56,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/time.h:248:1: warning: this is the location of the previous definition
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/select.h:96:1: warning: "FD_ZERO" redefined
In file included from include/linux/timex.h:56,
from include/linux/sched.h:56,
from /usr/include/linuxcnc/rtapi.h:210,
from /tmp/tmpQ6JGyO/out8.c:2:
include/linux/time.h:249:1: warning: this is the location of the previous definition
In file included from /usr/include/stdlib.h:320,
from out8.comp:15:
/usr/include/sys/types.h:235: error: conflicting types for ‘blkcnt_t’
include/linux/types.h:136: note: previous declaration of ‘blkcnt_t’ was here
In file included from out8.comp:15:
/usr/include/stdlib.h:423: warning: declaration does not declare anything
In file included from out8.comp:15:
/usr/include/stdlib.h:766: error: expected identifier or ‘(’ before ‘{’ token
make[2]: *** [/tmp/tmpQ6JGyO/out8.o] Ошибка 1
make[1]: *** [_module_/tmp/tmpQ6JGyO] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-2.6.32-122-rtai'
make: *** [modules] Ошибка 2
root@nkp-desktop:/usr/include#
Последний раз редактировалось nkp 21 фев 2013, 11:51, всего редактировалось 1 раз.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
nkp, fromdos сделай.
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
это стандартный компонент из исходников emc.
я туда добавил только одну строчку....
#include <stdlib.h>
и у меня не компилится - нет такого файла.
я туда добавил только одну строчку....
#include <stdlib.h>
и у меня не компилится - нет такого файла.
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
разобрался с hodcomp
с hid фале было прописано logicalMaxOverride="1024", хотя долно быть 1023.
если 1024 подставить в вызов Diff, получится как раз мой эффект.
значение logicalMaxOverride обязательно должно быть из рядя чисел (2^n-1)
с hid фале было прописано logicalMaxOverride="1024", хотя долно быть 1023.
если 1024 подставить в вызов Diff, получится как раз мой эффект.
значение logicalMaxOverride обязательно должно быть из рядя чисел (2^n-1)
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Nick
- Мастер
- Сообщения: 22776
- Зарегистрирован: 23 ноя 2009, 16:45
- Репутация: 1735
- Заслуга: Developer
- Откуда: Gatchina, Saint-Petersburg distr., Russia
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
stdlib - наверняка большая библиотека, не надо ее в компонент пихать. А для чего она тебе в нем?
- Сергей Саныч
- Мастер
- Сообщения: 9116
- Зарегистрирован: 30 май 2012, 14:20
- Репутация: 2858
- Откуда: Тюмень
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
Си, вроде, не имеет дурной привычки целиком библиотеки подцеплять. Какие функции надо, такие и будут подключены. По крайней мере раньше так было.Nick писал(а):stdlib - наверняка большая библиотека
Чудес не бывает. Бывают фокусы.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
qsort. придется писать сортировку руками - ацтой.Nick писал(а):А для чего она тебе в нем
вообще это странно. если посмотреть исходники emc, то там везде эта либа используется.
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Сергей Саныч
- Мастер
- Сообщения: 9116
- Зарегистрирован: 30 май 2012, 14:20
- Репутация: 2858
- Откуда: Тюмень
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
Ее (stdlib) как бы не может не быть, она во всех нормальных реализациях Си присутствует, как и stdio. Может не там ищется?
Чудес не бывает. Бывают фокусы.
- Nick
- Мастер
- Сообщения: 22776
- Зарегистрирован: 23 ноя 2009, 16:45
- Репутация: 1735
- Заслуга: Developer
- Откуда: Gatchina, Saint-Petersburg distr., Russia
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
Кстати, а может она уже подключена? Ошибки-то в основном такие:
nkp писал(а):/usr/include/sys/types.h:151: error: redefinition of typedef ‘ulong’
include/linux/types.h:97: note: previous declaration of ‘ulong’ was here
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
у меня пишет stdlib.h is not found...
ладно, пес с ним, напишу пузирковую сортировку и все дела.
но чую это не конец
ладно, пес с ним, напишу пузирковую сортировку и все дела.
но чую это не конец
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
- Алексс
- Почётный участник

- Сообщения: 2210
- Зарегистрирован: 20 июл 2012, 15:49
- Репутация: 266
- Заслуга: IQ32
- Настоящее имя: Алексей
- Откуда: Прага
- Контактная информация:
Re: Мой китаес Bernardo KF25 Top (клон BF20)
скорее всего, потому как файл /usr/include/stdlib.h присутствует.Serg-tmn писал(а):Может не там ищется?
Каждая собака, бегущая на поводке впереди хозяина, думает, что ведет его за собой.
