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

Managed to install on MacOS 12 #2

Closed
Bernalms opened this issue Apr 28, 2022 · 2 comments
Closed

Managed to install on MacOS 12 #2

Bernalms opened this issue Apr 28, 2022 · 2 comments

Comments

@Bernalms
Copy link

Bernalms commented Apr 28, 2022

After some trial and error I was able to install on MacOS 12. one of the key questions i have is:
One consistent error when installing curvelops was that there is a call inside fdct to _fdct3_wrapper.py BUT the function itself has no initial underscore. Is this because the library did not get properly built or is this a true typo?
My goal would be to put a small video OR latex document summarizing how to install on MacOS.

@mrava87
Copy link
Contributor

mrava87 commented Sep 6, 2022

Thanks, this is great :)

I am not sure about the question, I think this function gets built automatically during the Pybind installation process. I'll make an issue on Curvelops to check with the main developer

@cako
Copy link

cako commented Sep 9, 2022

Hi @Bernalms, I'm not sure I'm following the issue. After build, the structure of the library should look something like this:

curvelops/
    build/
        ...
    cpp/
        fdct2d_wrapper.cpp
        fdct3d_wrapper.cpp
    curvelops/
        __init__.py
        curvelops.py
        fdct2d_wrapper.cpython-310-x86_64-linux-gnu.so
        fdct3d_wrapper.cpython-310-x86_64-linux-gnu.so

Inside curvelops.py, there are no calls to an _fdct3_wrapper.py. Only to the .so files which are imported with:

from .fdct2d_wrapper import *
from .fdct3d_wrapper import *

I guess it is possible that _fdct3_wrapper.py is cropping up in the unfinished build, but I didn't find any file like that in the build directory. Could you post a screenshot of where it is appearing?

@mrava87 mrava87 closed this as completed Nov 7, 2023
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

3 participants