Open GoogleCodeExporter opened 9 years ago
The Cognionics application has indeed not yet been compiled for mac, so you
would have to create the Makefile by hand or possibly generate project files
using a Qt tool. All that's needed besides liblsl.dylib and its header is the
Qt SDK and a recent version of boost (which are available from the official
sources).
Note that, as long as you do not intend to change the UI, it might be
relatively straightforward to add the .cpp files in the App folder, the include
path containing liblsl, Qt and boost headers, the Qt libraries in the project
folder, and the liblsl library (taken from the binary distribution of liblsl).
If you have a working Qt toolchain a simpler approach might be to auto-generate
the Xcode project file based on a Qt project file (.pro), which would take care
of including whatever machinery is needed in the Xcode project to ensure that
the GUI code gets automatically re-generated when necessary. There is a
template .pro file included with the PhaseSpace app, which should be usable for
that purpose with minimal adaptation (rename PhaseSpace to Cognionics, adapt
boost path).
Note that one caveat is that you would have to replace the CreateFile and
ReadFile calls in the app by asio::serial_port or some other Mac OS serial-port
API (which is then rerouted by the OS to Bluetooth).
Original comment by christia...@gmail.com
on 5 Aug 2014 at 8:35
Also, note that Cognionics might have LSL support directly in their Mac OS
compatible recording software, which would potentially save you a lot of work
(though we'd certainly be interested in a Mac port of our this app).
Original comment by christia...@gmail.com
on 5 Aug 2014 at 8:37
Original issue reported on code.google.com by
ndren...@gmail.com
on 5 Aug 2014 at 8:11