Re: Torch7 ports (Was: Wxlua / Zbstudio)

2016-07-08 Thread Raymond Cheung
I found the solution by use gcc. https://lists.freebsd.org/pipermail/freebsd-toolchain/2014-April/001150.html On install.sh, add export LD_LIBRARY_PATH=/usr/local/lib/gcc48:$LD_LIBRARY_PATH export CC=gcc export CXX=g++ On trepl-scm-1.rockspec, add unix = { modules = { ['readline'] =

Re: Torch7 ports (Was: Wxlua / Zbstudio)

2016-06-29 Thread Raymond Cheung
Hi all, I tried the Jan's git ports. However, I got 21 errors out of 127 torch tests. It said FFI can't point to some structures. Also, I can require nn even it was installed via luarocks. It said the tester suite is missing. Are the blas finding codes located at math/TH? Thanks. Raymond On Jun

Re: Torch7 ports (Was: Wxlua / Zbstudio)

2016-06-24 Thread Raymond Cheung
Hi Jan and Torsten, Thanks a lot for your help. I will try it later after taking a break. As I lack knowledge on C/C++, I spent a month to retry many ways on FreeBSD 10/11. I feel tried. Fortunately, I got some clues. During this month, I also learnt a lot on FreeBSD. As least I can build and in