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
Build error in TensorMath.lua: "attempt to call method 'registerDefaultArgument' (a nil value)" #106
Comments
The easiest way to fix this is to run install.sh script from distro again |
OK, I just tried that and I'm getting the same build error in the output of the install script. What do you think is the root cause of this? |
ah, distro doesn't update packages any more, you have to update the distro folder with git pull origin master and then ./install.sh |
Still no joy - I hit the same build error in cutorch when running |
the issue here is an outdated cwrap package. However, you seem to have an outdated cwrap. If you installed fresh from distro, cwrap will install fresh and updated. |
I just removed I've also tried manually pulling the latest version of cwrap from the Github repository (torch/cwrap@6b7bb2a), then calling I'm very new to Lua, so perhaps I'm missing something obvious about how Lua package management works? |
Do you maybe have two versions of cwrap installed (one local and one global)? |
@dominikgrewe That doesn't seem to be the case:
|
OK, finally figured it out. I did, in fact, have another global version of cwrap installed in Thanks for your patience! |
alimuldal commentedJan 28, 2015
Hi there,
I'm currently struggling to build cutorch on Ubuntu 14.04 (CUDA 6.5, GCC-4.8.2). I'm hitting a build error in
TensorMath.lua
:The full build log is below. Any thoughts on what might cause this?
Cheers,
Alistair
The text was updated successfully, but these errors were encountered: