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

compile #5

Closed
clive-g-brown opened this issue Apr 10, 2015 · 4 comments
Closed

compile #5

clive-g-brown opened this issue Apr 10, 2015 · 4 comments

Comments

@clive-g-brown
Copy link

I used be able to run setup.py fine, in the latest two version i get swig errors (setting the NPY version doesn't fix it).

warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]

warning "Using deprecated NumPy API, disable it by " \

^
clstm_wrap.cpp:5906:15: error: no member named 'train' in 'ocropus::INetwork'
(arg1)->train(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:5975:15: error: no member named 'ctrain' in 'ocropus::INetwork'
(arg1)->ctrain(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6053:15: error: no member named 'ctrain_accelerated' in 'ocropus::INetwork'
(arg1)->ctrain_accelerated(_arg2,_arg3,arg4);
~~~~~~ ^
clstm_wrap.cpp:6122:15: error: no member named 'ctrain_accelerated' in 'ocropus::INetwork'
(arg1)->ctrain_accelerated(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6253:15: error: no member named 'cpred' in 'ocropus::INetwork'
(arg1)->cpred(_arg2,_arg3);
~~~~~~ ^
clstm_wrap.cpp:6373:15: error: no member named 'setInputs' in 'ocropus::INetwork'
(arg1)->setInputs(_arg2);
~~~~~~ ^
clstm_wrap.cpp:6430:15: error: no member named 'setTargets' in 'ocropus::INetwork'
(arg1)->setTargets(_arg2);
~~~~~~ ^
clstm_wrap.cpp:6487:15: error: no member named 'setClasses' in 'ocropus::INetwork'
(arg1)->setClasses(*arg2);
~~~~~~ ^

@tmbdev
Copy link
Owner

tmbdev commented Apr 10, 2015

Thanks. The API changed and I haven't updated the Python bindings to reflect this. I'll try to do it soon (or you could supply a patch; it's pretty straightforward).

@clive-g-brown
Copy link
Author

Ok thanks. I'd need to figure it out first, might be better to wait for the wrapper update.

C.

Sent from my iPad

On 10 Apr 2015, at 17:21, Tom <notifications@github.commailto:notifications@github.com> wrote:

Thanks. The API changed and I haven't updated the Python bindings to reflect this. I'll try to do it soon (or you could supply a patch; it's pretty straightforward).


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-91606792.

@tmbdev
Copy link
Owner

tmbdev commented Apr 23, 2015

I've fixed the Python bindings and added some iPython notebooks illustrating both command line usage and Python bindings.

@tmbdev tmbdev closed this as completed Apr 23, 2015
@clive-g-brown
Copy link
Author

thanks

I compiled on Mac, a few small changes to the build. the only error i got was :

extras.cchttp://extras.cc:811:21: error: use of undeclared identifier 'environ'
char **ep = environ;

ive edited around it for now.

c.
On 23 Apr 2015, at 23:16, Tom <notifications@github.commailto:notifications@github.com> wrote:

I've fixed the Python bindings and added some iPython notebooks illustrating both command line usage and Python bindings.


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-95733494.

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