-
Notifications
You must be signed in to change notification settings - Fork 17
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
Build Error Xcode #21
Comments
Hey Christopher. get_depends.sh is expecting there to be a virtual environment named 'oeEnv'. If you have anaconda installed, you can accomplish this by |
Hello, Thank you very much for your prompt response! I was able to compile the PythonPlugin such that a .bundle file is created. However, after moving it to the PlugIns within my open_ephys application files, the PythonPlugin is not part of the filters. Do you know how to resolve this? Also, I have a hypothetical question regarding the PythonPlugin. Would I be able to use this in conjunction with a Python script for real time processing of the stream of electrode data? Thanks again for your help. |
I believe the .bundle should already be in the right place! No movement is necessary. And to answer your question, absolutely! The n_arr variable of the bufferfunction is the electrode data. |
There is probably an error code that is being printed out that would be helpful. With open ephys up and running and Xcode running, is there some text in the bottom right corner? In there it might say something like “dll error loading PythonPlugin”. The text after that should help us figure out what is going on. |
You said you moved the bundle right? Thinking it can't find it. Can check to see if that is the problem by attempting to navigate to the path found below "The following build commands failed: " in your image. |
The bundle is in the open-ephys.app, so I don't believe that is the issue. Thanks again for all your help! |
it looks like some setting for linking libraries is somehow not set. in the compilation command there's twice in a row "-l -l" but no library is specified (eg -lPython3.6) so the linker interprets the second "-l" as a library that obviously doesn't exist, hence the error...
|
I'm also having issues getting the plugin to load on macOS (version 10.12). It's giving the following error when trying to load the PythonPlugin:
Any idea about what's going on? |
Hmm have been a good amount of changes to the plugin recently. Will check to see if one of them caused it. |
@crcali and @jsiegle navigate to the Config directory (PythonPlugin/Builds/MacOSX/Config) and run @crcali it seems the detection script isn't finding any version of python. I don't know if running the build from the command line would prevent the detection script from running? Could try to build with the Xcode GUI and see if that works. @jsiegle it seems it isn't linking with the static python library. Are you using anaconda? Did you create a virtual environment? |
Hi, Thank you for your ideas! I have attempted to run it from the Xcode GUI as well, but it also doesn't build properly. When I run the bash command, I get the following output, along with the line 23 error: Do you know what may be causing this? Thanks! |
Have you installed anaconda? It is trying to use the version of python that comes with the mac which is not supported. |
I did have to change Where do we expect |
I believe it is in `anaconda3/envs/oeEnv/include/python3.6m'. What is your PYTHON_VERSION variable? |
python3.6m |
It now compiles normally if I add |
Yeah linking python can be a nightmare, which is why the detection script is so great. Wonder if there is a difference in your file structure that is preventing proper linking. @fpbattaglia made the script, perhaps he could help out? |
@jsiegle, it does look like it is somehow still pointing at the system python or in any case not to the anaconda virtual env, because Python.h is directly under |
Good evening,
I am attempting to build the Xcode project, but am running into the following errors:
/usr/PythonPlugin/Builds/MacOSX/Config/get_depends.sh: line 5: activate: No such file or directory
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
'EditorHeaders.h' file not found
I have installed the Xcode Command Line tool.
Do you know why this may be occurring? I am attempting to use the Python Filter tab on the Open Ephys GUI.
Thanks in advance.
Best,
Christopher
The text was updated successfully, but these errors were encountered: