Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] how to link CGAL libraries statically in Visual studio

Subject: CGAL users discussion list

List archive

[cgal-discuss] how to link CGAL libraries statically in Visual studio


Chronological Thread 
  • From: विकास पिसाळ (vikas pisal) <>
  • To:
  • Subject: [cgal-discuss] how to link CGAL libraries statically in Visual studio
  • Date: Sat, 7 Jul 2012 23:00:24 +0200

Friends,

I want to link CGAL libraries statically to my exe application.

These are the options which I tried.
1. Making Code generation as multi threaded and 'link MFC libs statically'
result: auto_link.h(359): fatal error C1189: #error :  "Mixing a dll CGAL library with a static runtime is a really bad idea..."
2. Using CGAL_MODULE_LINKER_FLAGS
Result: unrecognized flag by compiler

However, I can compile my application using Multithreaded debug dll and MFC shared libs.

What should I do?
-----------
Thanks
Vikas


  • [cgal-discuss] how to link CGAL libraries statically in Visual studio, vikas pisal, 07/07/2012

Archive powered by MHonArc 2.6.18.

Top of Page