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

pothospython fails to compile on macOS Mojave 10.14.6 #49

Open
krpandit opened this issue Jan 30, 2021 · 0 comments
Open

pothospython fails to compile on macOS Mojave 10.14.6 #49

krpandit opened this issue Jan 30, 2021 · 0 comments

Comments

@krpandit
Copy link

brew install pothospython --head
==> Installing pothospython from pothosware/pothos
==> Cloning https://github.com/pothosware/PothosPython.git
Cloning into '/Users/kunal/Library/Caches/Homebrew/pothospython--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/more/.

==> cmake .. -DUSE_PYTHON_CONFIG=ON -DPython_ADDITIONAL_VERSIONS=3
==> make install
Last 15 lines from /Users/kunal/Library/Logs/Homebrew/pothospython/02.make:
PyObjectRef::~PyObjectRef() in PythonProxy.cpp.o
PyObjectRef::operator=(PyObjectRef const&) in PythonHandle.cpp.o
getErrorString() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonConvert.cpp.o
"__Py_NoneStruct", referenced from:
PythonProxyHandle::call(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, Pothos::Proxy const*, unsigned long) in PythonHandle.cpp.o
convertNullToPyNone(std::__1::shared_ptrPothos::ProxyEnvironment, Pothos::NullObject const&) in PythonConvert.cpp.o
"__Py_TrueStruct", referenced from:
convertPyBoolToBool(Pothos::Proxy const&) in PythonConvert.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libPythonSupport.so] Error 1
make[1]: *** [CMakeFiles/PythonSupport.dir/all] Error 2
make: *** [all] Error 2

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

No branches or pull requests

1 participant