I think some dependency dll for lbfgs.dll are missing. Is some runtime library needed? One way to check to use dependency walker.
I assume you had built the 64-bit version. Вс, 06 мая 2018, [email protected] написал(а): > It seems that some time ago in j601, LBFGS was included in the J tree > (http://code.jsoftware.com/wiki/JAL/j601), but is now no longer included. So > I've been trying to get it back and functional on Windows again, with no > success. Here's what I've tried: > > > > Download L-BFGS Fortran source code: > https://github.com/lawrennd/ndlutil/blob/master/src/lbfgs.f > > Compile Fortran code: gfortran -c lbfgs.f > > Compile to DLL: gfortran -shared -o lbfgs.dll lbfgs.o > > Copy DLL to J directory: C:\Program Files\j64-805\bin > > > > The file appears to exist to J: > > > > fexist 'lbfgs.dll' > > 1 > > > > However, this does not work (although it should, as it's taken from prior > examples): > > > > 'lbfgs.dll lbfgs_ + i * * * * * * * * * * * *' cd > (100;5;(200$0);1;(200$0);0;(200$0);0 0;1e_5;1e_16;(200$0);0) > > |domain error: cd > > | 'lbfgs.dll lbfgs_ + i * * * * * * * * * * * *' > cd(100;5;(200$0);1;(200$0);0;(200$0);0 0;1e_5;1e_16;(200$0);0) > > |[-0] > > > > cder'' > > 1 0 > > > > According to this > (http://code.jsoftware.com/wiki/Guides/DLLs/Error_Messages) page, result 1 0 > means "file not found". > > > > That doesn't seem right. I must be missing something. help? > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
