Problem with Piecewise polynomial extrinsic function

Hey all,

I’m trying to use the Piecewise polynomial library according to the user guide and following the pwplib01 test library. However, when I run the code, I’m getting the following error:


Error 427 Incorrect insert header file associated with the following line:

$FuncLibIn pwplib pwpcclib

I can’t find the file pwpcclib in my gams installation folder. Only the file pwpcclib64.dll. But when I change the line to

$FuncLibIn pwplib pwpcclib64

it still gives the same error.

Any help?

Thanks,

Ayman


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Ayman,

It could be that GAMS could not load the DLL properly because some Microsoft runtime libraries are missing on your system. What Windows OS do you run? You can check for missing DLLs with the great tool called depends (http://www.dependencywalker. com/) that shows the dependency of DLLs. Make sure you download the x64 version. When you open the pwpcclib64.dll file in depends.exe it will show you if a library is missing. When I run the tool on my Windows 7 x64 box I get a result as show in the attached screen shot. Perhaps this reveals something.

Michael


On Tuesday, November 17, 2015 at 2:10:12 AM UTC-5, aafifi@aggiemail.usu.edu wrote:

Hey all,

I’m trying to use the Piecewise polynomial library according to the user guide and following the pwplib01 test library. However, when I run the code, I’m getting the following error:


Error 427 Incorrect insert header file associated with the following line:

$FuncLibIn pwplib pwpcclib

I can’t find the file pwpcclib in my gams installation folder. Only the file pwpcclib64.dll. But when I change the line to

$FuncLibIn pwplib pwpcclib64

it still gives the same error.

Any help?

Thanks,

Ayman


Capture.PNG