On 26 Sep 2013, at 18:24, kim nielsen martinez <[email protected]> wrote:
> Hi, > > I wrote a long email yesterday, but now I just would like to ask a simple > question to see if it is easier to answer and it gives me a clue about how to > proceed now. > > I compiled gmsh as a DLL with Cmake. If I just compile the SHARED project, > compilation goes fine. > > But if I try to compile gmsh project, it gives the following error: > > fatal error LNK1104 cannot open file Debug\Gmsh.lib, in file gmsh of project > gmsh > > Any suggestion what I´m doing wrong? > > Furthermore, I opened gmsh.dll (which I compiled from shared project) with > dependency walker to look for the actual names of some methods/functions in > the library in order to call them in my app, but it gives error such as: > - Error: At least one required implicit or forwarded dependency was not found. > Morever, I can't find any of the functions such as GmshInitialize() or > GmshFinalize()... Is there any additional step that must be done to get a > correct DLL? > > Thank you very much for your attention, I hope you can help me to solve this > problem that has been occupying my time for the last week so far.. Hi Kim - We have very little (no ?) experience with Windows DLLs. The only DLL I have ever generated for Gmsh is the one that I build automatically every night using the mingw compiler to build the dynamic Windows buid (see http://geuz.org/gmsh/bin/Windows/gmsh-svn-Windows64-dynamic.zip). Maybe other people on the list can help... Christophe > > Regards, > _______________________________________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
