Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Cognionics app on Mac #19

Open
GoogleCodeExporter opened this issue Apr 4, 2015 · 2 comments
Open

Compile Cognionics app on Mac #19

GoogleCodeExporter opened this issue Apr 4, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hello,

We would like to be able to use the Cognionics application on a Mac running OS 
X 10.8.5.  It appears that the application has only been compiled for a PC.  In 
order to run on a Mac,  we would need a Makefile (or xcode project file) for 
the application itself and the accompanying Mac-compatible libraries (e.g., Qt 
libraries for Mac).  Do these items currently exist or will they be made 
available soon?  

Thanks for your help!



Original issue reported on code.google.com by ndren...@gmail.com on 5 Aug 2014 at 8:11

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant