search for: ccodefortransortmodel

Displaying 2 results from an estimated 2 matches for "ccodefortransortmodel".

2012 Sep 17
1
LoadLibrary failure: : %1 is not a valid Win32 application although arch x64 has been specified
...ndows\system32;C:\Windows\SysWOW64 R --arch x64 CMD SHLIB equildistC.cpp · I have received no messages indicating problem during compilation, and both the equildistC.o and the equildistC.dll have been created. · When I load the dll in the 32bit version of R with dyn.load("C:\\Ccodefortransortmodel\\equildistC.dll"), things appear to go well. · However, in the 64 bit version, I get the message: Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Ccodefortransortmodel/equildistC.dll': LoadLibrary failure: %1 is not a valid Win...
2012 Sep 20
1
R/C++ interfaces: crashes when using .c(), followed by correct results when R restarted
...why it does work right now, and didn't just an hour ago. Let me summarize the main steps I undertook: * After having modified the script with the C++ code, I compiled it using R CMD SHLIB mylatestversion.cpp - no problems occurred then. * Next, I loaded the dll into R with dyn.load("C:\\Ccodefortransortmodel\\ mylatestversion.dll") * Next, I called equil_distC with testres2 <- .C("equil_distC", as.integer(rowmaxfiets),as.integer(colmaxfiets), as.double(nodes), as.integer(links_dist_calc), as.integer(cyclepathsfirstline), as.integer(numzones), as.integer(numnodes), as.integer(numlinks)...