I’m using the evaluation of the 32-bit PVF Workstation Complete, and I cannot get the compiler to give me static linking. Whenever I try to run a program compiled under PVF, both on my computer and another computer, I receive the error message:
“This application has failed to start because pg.dll was not found. Re-installing the application may fix this problem.”
I was able to correct the problem on my computer by setting environment variables which I would have expected PVF to set on installation. However, the pg.dll file is not on the other computer at all. Will I have to distribute pg.dll (and any other files that are needed) with the program on distribution, or is there a way to include it and other libraries statically?
And yes, I am aware of the advantages of dynamic linking, but there is only so much change at one time that my company is willing to go through. Simply switching compilers is enough for now, without having to change our distributions significantly.