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

Loading SymEngine never finishes #530

Open
erny123 opened this issue Dec 2, 2024 · 1 comment
Open

Loading SymEngine never finishes #530

erny123 opened this issue Dec 2, 2024 · 1 comment

Comments

@erny123
Copy link

erny123 commented Dec 2, 2024

Running Xeus-Cling on Conda + Ubuntu.

I make, build, and install SymEngine from source: https://github.com/symengine/symengine.git

mkdir build && cd build
cmake ..
make
make install

Then run Xeus-Cling via conda and do:

#pragma cling add_include_path("/usr/local/include/")
#pragma cling add_library_path("/usr/local/lib/")
#pragma cling load("symengine")

with an error:

input_line_14:3:31: fatal error: 'symengine' file not found
#pragma cling load("symengine")
                              ^
Interpreter Error: 

What's the proper way to load third party libraries that were compiled on your personal system?

@erny123
Copy link
Author

erny123 commented Dec 2, 2024

Ok, so SymEngine is creating a static library: libsymengine.a and when using: #pragma cling load("/path/to/libsymengine.a") it does not recognize it.

Does Xeus-Cling not compatible with static libraries?

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