-
Notifications
You must be signed in to change notification settings - Fork 111
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
Python Binding Error ... #50
Comments
Hi @jiapei100, what is your system, please? |
I'm using Ubuntu 16.04 Beta 2, with GCC 5.3.1 and Python 3.5.1 |
Hi @jiapei100, then I guess the problem might be the version of Python. I never tried to compile with Python 3.+. Could you try to use Python 2.7 instead? |
Hi, |
Hi @jiapei100 @botev, I have updated the library core, could you please try it now (with Python 2.7)? I have checked the build again and it works without problems for me. |
Still the same. Not matter it's python 2. 7 or python 3.5 . Check my python. And while configuring clandmark with ccmake ../ out of source building: ` CMake Error at python_interface/CMakeLists.txt:3 (find_package): Could not find a package configuration file provided by "clandmark" with
Add the installation prefix of "clandmark" to CMAKE_PREFIX_PATH or set ` Any further suggestions? Cheers |
Ok, I guess, I will need more information then. Just to check, could you capture screenshots from the complete cmake procedure?
set the |
The only thing I tried is: Cheers |
And could you try those I mentioned? I think it is because you are missing the |
Yes, you are right... Thank you uricamic.... |
Sorry, my fault. It looks like it's still the same.
Then, I set the clandmark_DIR as Finally, I even tried to modify CMakeCache.txt Any further suggestions? Cheers |
Hi @jiapei100, could you please try the fullpath to libclandmark folder in |
I tried fullpath as well, still as the issue mentioned Weird... |
Then, please, check all the To be more specific, check whether the find_package(flandmark REQUIRED) |
This is my CMakeLists.txt under python_interface :
|
Hmm, looks the same to me. |
I had the same problem. It seems to happen because of the upper cases.
|
Do I have to download a binary named "rectangle-props"? I could only use setup.py when I commented out this file.
|
@jiapei100 could you please check whether the renaming of files as suggested by @andreas128 solves the problem for you? If it does, I will rename the files in the repository... |
Hi @andreas128, I think it is not needed, it remained there for some historical development reasons probably. |
It seems "andreas128's suggestions" does help a bit. Now, I didn't have those warnings due to the upper-case and lower-case issue. However, I meet another issue: I fact, I checked .../clandmark/python_interface/CMakeLists.txt , and line 14~15 are correct.
I checked these 2 lines by:
However, "make" still results in the following error message:
And, if I ignore python building, by ticking off BUILD_PYTHON_BINDINGS, and do Oh, BTW, my numpy version
So, any further suggestions? Cheers |
Hi @jiapei100, I am not sure, since I am not a Python expert, but I think the problem might be the Python version. I was checking the build system only for Python 2.7, while in your post, I see that you are still referring to Python 3.5. Best, Michal |
Hi,
Whenever I tried to enable BUILD_PYTHON_BINDINGS , I obtained the following error messages:
Any suggestions please??? Can't current clandmark-git bind with python?
Cheers
Pei
The text was updated successfully, but these errors were encountered: