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

Update problem #12

Open
TomSemblanet opened this issue Nov 4, 2020 · 8 comments
Open

Update problem #12

TomSemblanet opened this issue Nov 4, 2020 · 8 comments

Comments

@TomSemblanet
Copy link

Hi,

I installed your library with success some days ago in Ubuntu.
For some reason I had to reinstall it and the installation doesn't work anymore ...

I get the following error while runing the bin/get_cppad.sh script

Error cppad_py

@bradbell
Copy link
Owner

bradbell commented Nov 4, 2020

I have been working on the mac OS install of cppad_py for the case where include_mixed is true; see
https://bradbell.github.io/cppad_py/doc/xsrst/get_cppad_sh.html#get-cppad-sh-settings-include-mixed
and make a mistake in get_cpapd.sh while doing so.

The following commit should have fixed the problem above:
37cf738

@TomSemblanet
Copy link
Author

Hi, indeed your commit solved the first problem.
However, I encounter the following one when running bin/build_local.py

CPPAD_PY_ERROR

Thanks for your help

@bradbell
Copy link
Owner

bradbell commented Nov 5, 2020

I need to add more documentation about this, in addition I can automate this case so you do not have to do this.

Try setting

export PKG_CONFIG_PATH=$cmake_install_prefix/$cmake_libdir/pkgconfig

where cmake_install_prefix and cmake_libdir are your settings in bin/get_cpapd.sh.

@TomSemblanet
Copy link
Author

I'm on bot fronts at the same time but after I define the PKG_CONFIG_PATH variables a strange error occurs :

Capture du 2020-11-05 16-31-08

However, include_mixed variable is set to false in the get_cppad.sh file. Is it normal that the script tries to find cppad_mixed.pc ?

@bradbell
Copy link
Owner

bradbell commented Nov 6, 2020

I have made another mistake along the way and am fixing it.
Once I get the install with include_mixed false working again, I will move the include_mixed true work
to a branch so it does not create problems for you and other users.

@TomSemblanet
Copy link
Author

Ok, let me know !

@bradbell
Copy link
Owner

bradbell commented Nov 6, 2020

It should work now. See the new install instructions at
https://bradbell.github.io/cppad_py/doc/xsrst/setup_py.html

@bradbell
Copy link
Owner

Are you still having trouble with this or is this issue closed ?

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

2 participants