Quantcast
Viewing all articles
Browse latest Browse all 22482

Aspeqt on OS X

Hi,

I just received a SIO2USB/1050USB cable and tried to compile Aspeqt for OS X (10.8.4). I installed Qt 4.8.2 and XCode. I got to run qmake with qmake -spec macx-g++ aspeqt.pro but make broke off with a lot of error messages. Below is the last block, there were several "this version of OS X unsupported" messages before.

I am not really a Unix/OS X programmer. I manage to edit config and makefiles, etc. but don't really understand what's going on. Any hints (or precompiled binaries Image may be NSFW.
Clik here to view.
;-)
appreciated. Thanks!

Quote

g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DVERSION=\"0.8.8\" -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.8/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I. -F/Library/Frameworks -o serialport-unix.o serialport-unix.cpp
In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
from /Library/Frameworks/QtCore.framework/Versions/4/Headers/qobject.h:47,
from /Library/Frameworks/QtCore.framework/Versions/4/Headers/QObject:1,
from serialport.h:4,
from serialport-unix.cpp:1:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:328:6: warning: #warning "This version of Mac OS X is unsupported"
serialport-unix.cpp:11:21: error: stropts.h: No such file or directory
serialport-unix.cpp:12:20: error: termio.h: No such file or directory
serialport-unix.cpp:15:26: error: linux/serial.h: No such file or directory
serialport-unix.cpp: In member function ‘virtual bool StandardSerialPortBackend::open()’:
serialport-unix.cpp:62: error: ‘TIOCMGET’ was not declared in this scope
serialport-unix.cpp:62: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:66: error: ‘TIOCM_DTR’ was not declared in this scope
serialport-unix.cpp:66: error: ‘TIOCM_RTS’ was not declared in this scope
serialport-unix.cpp:67: error: ‘TIOCMSET’ was not declared in this scope
serialport-unix.cpp:67: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool StandardSerialPortBackend::setSpeed(int)’:
serialport-unix.cpp:172: error: ‘termios’ was not declared in this scope
serialport-unix.cpp:172: error: expected `;' before ‘tios’
serialport-unix.cpp:173: error: aggregate ‘serial_struct ss’ has incomplete type and cannot be defined
serialport-unix.cpp:175: error: ‘tios’ was not declared in this scope
serialport-unix.cpp:175: error: ‘tcgetattr’ was not declared in this scope
serialport-unix.cpp:176: error: ‘CSTOPB’ was not declared in this scope
serialport-unix.cpp:177: error: ‘cfmakeraw’ was not declared in this scope
serialport-unix.cpp:180: error: ‘B600’ was not declared in this scope
serialport-unix.cpp:180: error: ‘cfsetispeed’ was not declared in this scope
serialport-unix.cpp:181: error: ‘cfsetospeed’ was not declared in this scope
serialport-unix.cpp:184: error: ‘B19200’ was not declared in this scope
serialport-unix.cpp:189: error: ‘TIOCGSERIAL’ was not declared in this scope
serialport-unix.cpp:189: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:190: error: ‘ASYNC_SPD_MASK’ was not declared in this scope
serialport-unix.cpp:191: error: ‘TIOCSSERIAL’ was not declared in this scope
serialport-unix.cpp:193: error: ‘B38400’ was not declared in this scope
serialport-unix.cpp:197: error: ‘B57600’ was not declared in this scope
serialport-unix.cpp:203: error: ‘ASYNC_SPD_CUST’ was not declared in this scope
serialport-unix.cpp:220: error: ‘TCSANOW’ was not declared in this scope
serialport-unix.cpp:220: error: ‘tcsetattr’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual QByteArray StandardSerialPortBackend::readCommandFrame()’:
serialport-unix.cpp:245: error: ‘TIOCM_RI’ was not declared in this scope
serialport-unix.cpp:248: error: ‘TIOCM_DSR’ was not declared in this scope
serialport-unix.cpp:252: error: ‘TIOCM_CTS’ was not declared in this scope
serialport-unix.cpp:262: error: ‘TIOCMGET’ was not declared in this scope
serialport-unix.cpp:262: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:272: error: ‘TIOCMGET’ was not declared in this scope
serialport-unix.cpp:272: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:285: error: ‘TCIFLUSH’ was not declared in this scope
serialport-unix.cpp:285: error: ‘tcflush’ was not declared in this scope
serialport-unix.cpp:295: error: ‘TIOCMGET’ was not declared in this scope
serialport-unix.cpp:295: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool StandardSerialPortBackend::writeRawFrame(const QByteArray&)’:
serialport-unix.cpp:449: error: ‘tcdrain’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::open()’:
serialport-unix.cpp:518: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:518: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:552: error: expected primary-expression before ‘unsigned’
serialport-unix.cpp:552: error: ‘_IOW’ was not declared in this scope
serialport-unix.cpp:559: error: expected primary-expression before ‘unsigned’
serialport-unix.cpp:559: error: ‘_IOW’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::setSpeed(int)’:
serialport-unix.cpp:618: error: expected primary-expression before ‘unsigned’
serialport-unix.cpp:618: error: ‘_IOW’ was not declared in this scope
serialport-unix.cpp:618: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual QByteArray AtariSioBackend::readCommandFrame()’:
serialport-unix.cpp:657: error: expected primary-expression before ‘*’ token
serialport-unix.cpp:657: error: expected primary-expression before ‘)’ token
serialport-unix.cpp:657: error: ‘_IOR’ was not declared in this scope
serialport-unix.cpp:657: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp:666: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:666: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual QByteArray AtariSioBackend::readDataFrame(uint, bool)’:
serialport-unix.cpp:693: error: expected primary-expression before ‘*’ token
serialport-unix.cpp:693: error: expected primary-expression before ‘)’ token
serialport-unix.cpp:693: error: ‘_IOR’ was not declared in this scope
serialport-unix.cpp:693: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeDataFrame(const QByteArray&)’:
serialport-unix.cpp:710: error: expected primary-expression before ‘*’ token
serialport-unix.cpp:710: error: expected primary-expression before ‘)’ token
serialport-unix.cpp:710: error: ‘_IOW’ was not declared in this scope
serialport-unix.cpp:710: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeCommandAck()’:
serialport-unix.cpp:720: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:720: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeCommandNak()’:
serialport-unix.cpp:731: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:731: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeDataAck()’:
serialport-unix.cpp:740: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:740: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeDataNak()’:
serialport-unix.cpp:749: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:749: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeComplete()’:
serialport-unix.cpp:758: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:758: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeError()’:
serialport-unix.cpp:767: error: ‘_IO’ was not declared in this scope
serialport-unix.cpp:767: error: ‘ioctl’ was not declared in this scope
serialport-unix.cpp: In member function ‘virtual bool AtariSioBackend::writeRawFrame(const QByteArray&)’:
serialport-unix.cpp:781: error: expected primary-expression before ‘*’ token
serialport-unix.cpp:781: error: expected primary-expression before ‘)’ token
serialport-unix.cpp:781: error: ‘_IOW’ was not declared in this scope
serialport-unix.cpp:781: error: ‘ioctl’ was not declared in this scope
make: *** [serialport-unix.o] Error 1

Viewing all articles
Browse latest Browse all 22482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>