> On 16 Apr 2018, at 20:16, Su Tian <tia...@purdue.edu> wrote: > > Hello All, > > I want to test the OCC and API capabilities using the demo ‘boolean’. I have > built OCC and Gmsh into static libraries. When preparing the CMake file for > building ‘boolean.exe’, do I need to link all OCC libraries explicitly? > (libTK*.a) Do I even need to link all those static libraries required for > building the OCC libraries? (freetype and tcltk)
Yes, if you build static libraries you'll have to link them in the final binary at the end. To avoid all these issues we have started producing binary software development kits (SDKs): cf. the *sdk* files in http://gmsh.info/bin This should make it much easier to develop your own app using Gmsh, as the provided dynamic Gmsh lib contains all the dependencies (OpenCASCADE, FLTK, PETSc, etc.). Since yesterday these SDKs even provide an alternate C++ interface (cf. the README in the SDK), which allows you to use the C++ API even if your C++ compiler (e.g. Microsoft Visual C++) is not ABI-compatible with ours (Mingw GCC). Christophe > > Thank you. > > Su > > > <https://www.avast.com/antivirus> > This email has been checked for viruses by Avast antivirus software. > www.avast.com <https://www.avast.com/antivirus> > > <x-msg://167/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>_______________________________________________ > gmsh mailing list > gmsh@onelab.info <mailto:gmsh@onelab.info> > http://onelab.info/mailman/listinfo/gmsh > <http://onelab.info/mailman/listinfo/gmsh>
_______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh