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

not able to build on ubuntu #2

Open
infinite-Joy9l opened this issue Apr 14, 2019 · 1 comment
Open

not able to build on ubuntu #2

infinite-Joy9l opened this issue Apr 14, 2019 · 1 comment

Comments

@infinite-Joy9l
Copy link

I have been trying to build this library on ubuntu machines without success. First discovered that the files such as these needs to be copied manually to the system. Currently this is the error that is showing up.

   Compiling cntk v0.2.1 (/home/saionee/opensource/programming-languages/rust-lang/cntk-rs)
error: recursion limit reached while expanding the macro `__cpp_internal`
   --> src/ops.rs:134:23
    |
134 |           let payload = cpp!([xpayload as "Variable", adata_ptr as "Axis*", len as "size_t", bdata_ptr as "int*", edata_ptr as "int*", mut error_p as "char*"] -> FunctionInner as "FunctionPtr" {
    |  _______________________^
135 | |             try {
136 | |                 return Slice(xpayload,
137 | |                              vector<Axis>(adata_ptr, adata_ptr + len),
...   |
145 | |             }
146 | |         });
    | |__________^
    |
    = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

Are there better build instruction as I am not able to figure this thing out.

@infinite-Joy9l
Copy link
Author

Just to add the note by the compiler to increase the recursion in the lib.rs did not help.

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