В файле baltsys.cc полно спецом включенных синтаксических ошибок.
1) #Include без файлов
2) часть переменных написана заглавными буквами
3) отсутствуют знаки препинания.
Всё исправил.
Все манипуляции на домашнем компе:
ЦПУ - AMD Athlon 3000+
м/п - ASUS M2N-MX SE PLUS
ОЗУ - 3 GB
Видео пробовал встроенное GeForce 6100, пробовал дискретное GeForce 6200. дрова ставил открытые.
glxgearts колесики крутит.
Далее по мануалу. Установил исходники emc2-dev 2.6..., откомпилил проект.
Не запускается с оболочкой Axis.
До оболочки baltsystem так и не добрался.
pncconf как предлагал 4 варианта дисплея так и предлагает. По большому счету это фигня, можно и ручками дисплей прописать.
Снес всё нафиг. Установил с нуля. Запомнил конфиг из примера с дисплеем Axis. Обновился до 2.4.6. Проверил его на 2.4.6 - запускается без косяков.
Установил доп. софт для компиляции, проверил, что ничего не сломалось (мой пример по-прежнему запускается).
стянул исходники на 2.4.6, внес правки по мануалу. Откомплилось всё. на этапе подмены путей
Код: Выделить всё
lexxa@test-cnc:~/build/src$ ../scripts/emc-environment
This script should be loaded in the context of your shell, by executing
. ../scripts/emc-environment
[b]not executed as a separate command[/b].
lexxa@test-cnc:~/build/src$
Код: Выделить всё
lexxa@test-cnc:~/build/src$ ../scripts/emc
EMC2 - 2.4.6.test
Machine configuration directory is '/home/lexxa/emc2/configs/sim'
Machine configuration file is 'axis.ini'
Starting EMC2...
io started
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
IOCONTROL: ERROR: hal_init() failed
can't initialize the HAL
<commandline>:0: io exited without becoming ready
halcmd loadusr io started
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
HALUI: ERROR: hal_init() failed
emc/usr_intf/halui.cc 2045: hal_init error
<commandline>:0: halui exited without becoming ready
hal_lib: dlopen: /home/lexxa/build/rtlib/hal_lib.so: cannot open shared object file: No such file or directory
trivkins: dlopen: /home/lexxa/build/rtlib/trivkins.so: cannot open shared object file: No such file or directory
core_sim.hal:5: /home/lexxa/build/bin/rtapi_app exited without becoming ready
core_sim.hal:5: insmod failed, returned -1
Shutting down and cleaning up EMC2...
hal_lib: dlopen: /home/lexxa/build/rtlib/hal_lib.so: cannot open shared object file: No such file or directory
Cleanup done
EMC terminated with an error. You can find more information in the log:
/home/lexxa/emc_debug.txt
and
/home/lexxa/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
lexxa@test-cnc:~/build/src$
Кто нибудь сталкивался?