Сообщение от
13joe
Интересно, а эмулятор ZEMU тоже будет тормозить на Pi-шке ?
Не получается скомпилировать - вылетает с ошибкой:
Код:
pi@raspberrypi ~/zemu-dist $ ./build.sh
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
Ruby found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/arm-linux-gnueabihf/libSDLmain.a;/usr/lib/arm-linux-gnueabihf/libSDL.so;-lpthread
SDL found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/zemu-dist/zemu
[ 1%] Generating ../lib_zame_z80-src/z80ex_dasm.h
/home/pi/zemu-dist/zemu/zame_z80/nspp:22:in `+': can't convert nil into String (TypeError)
from /home/pi/zemu-dist/zemu/zame_z80/nspp:22:in `process_file'
from /home/pi/zemu-dist/zemu/zame_z80/nspp:69:in `<main>'
lib_zame_z80/CMakeFiles/z80ex_wrapper.dir/build.make:173: ошибка выполнения рецепта для цели «lib_zame_z80-src/z80ex_dasm.h»
make[2]: *** [lib_zame_z80-src/z80ex_dasm.h] Ошибка 1
CMakeFiles/Makefile2:110: ошибка выполнения рецепта для цели «lib_zame_z80/CMakeFiles/z80ex_wrapper.dir/all»
make[1]: *** [lib_zame_z80/CMakeFiles/z80ex_wrapper.dir/all] Ошибка 2
Makefile:72: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2