Using CppAD_py interface in cygwin #101
Replies: 9 comments 11 replies
-
Looking at my virtual machines, I have been testing CppAD in visual studio and msys2. |
Beta Was this translation helpful? Give feedback.
-
When I ran "python3 setup.py install --prefix=$prefix" from the main installation directory "cppadpyMain", I get the following error message Can you please let me know how to resolve this error message? |
Beta Was this translation helpful? Give feedback.
-
I am getting the same error:
For some reason on cygwin it is not importing the file
There is something about python extensions on cygwin that is failing here and needs to be tracked down. |
Beta Was this translation helpful? Give feedback.
-
My simple swig test case does not work on cygwin. Try it and see what happens for you. Place the following files in an empty directory called swig and then execute the bash script my_example.cpp:
my_example.i:
python.sh:
|
Beta Was this translation helpful? Give feedback.
-
Yes, that is the same as on my machine. It seems like this is a problem with using swig on cygwin. |
Beta Was this translation helpful? Give feedback.
-
I have posted a swig issue; see |
Beta Was this translation helpful? Give feedback.
-
Here is the solution for getting the tutorial to build: |
Beta Was this translation helpful? Give feedback.
-
The main issue here is that the CppAD dynamic library llib_cppad was not linking because its location was not in the This problem I have run into now is getting msys or cygwin to install scipy. Only numpy is really necessary, but scipy is used by some of the tests and utilities. |
Beta Was this translation helpful? Give feedback.
-
I installed the following using the cygwin installer The I installed to following using pip3 Then the build of cppad_py worked fine on cygwin |
Beta Was this translation helpful? Give feedback.
-
I am trying to compile cppad_py library in windows using cygwin. I followed the instructions described in the documentation https://bradbell.github.io/cppad_py/doc/xsrst/cppad_py.html, but could not succeed in installing it. May I know if it is possible to compile cppad_py in windows and use it in visual studio?
Beta Was this translation helpful? Give feedback.
All reactions