Bill Allombert on Wed, 25 Aug 2004 22:43:31 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: using the pari library within a c program in windows

On Tue, Aug 24, 2004 at 08:38:15AM -0700, Mustansir wrote:
> Hi !!
> i was hoping someone here could help me :)
> my proggie uses the pari library, and it works fine on
> linux. however, i now have to port the program to
> windows ..
> MinGW compiler :
> in the lib folder of MinGW, i placed the libpari.a and
> files .. however, when i try compiling
> and linking, i get a linker error that "undefined
> reference to pari_init" ... doesn't mingw support
> linking against .a and .so.1 files ??
> VC++ :
> i then thought that i'd try using the libpari-2.2.dll
> file, and then use LoadLibrary, GetProcAddress etc ..
> but, when i try doing a regsvr32 on libpari-2.2.dll, i
> get the error "DLLRegisterServer entry point not
> found"
> can anyone help me ??

Try cygwin gcc. It seems it is the only option for a fully working 
PARI installation on windows.