Bill Allombert on Thu, 08 Oct 2020 21:04:03 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: using library in qt |
On Thu, Oct 08, 2020 at 08:28:30PM +0200, Rigoberto Perez wrote: > Hi: > > I Compile (./configure and make all) from source code in W7 64bits > with Msys2 and > Mingw 32bits. Use the headers (*.h from sources) and libpari.dll.a in > qt project > (INCLUDEPATH += and LIBS +=) and it is compile Ok, but when I run with the only > funcion pari_init(...) it produces a crash in qt creator. > > Anyone knows what's my mistake? You should not use the *.h in the source. The correct .h files are created using 'make install'. Did you get warning while compiling ? Are you sure you are not mixing 32bit and 64bit binaries ? Cheers, Bill