Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] error when using CGAL 3.8 and taucs

Subject: CGAL users discussion list

List archive

[cgal-discuss] error when using CGAL 3.8 and taucs


Chronological Thread 
  • From: kyewong <>
  • To:
  • Subject: [cgal-discuss] error when using CGAL 3.8 and taucs
  • Date: Sun, 14 Aug 2011 23:52:57 -0700 (PDT)

Hi, i need to use both CGAL 3.8 and taucs in my project.
However, some problems(conflicts) are found.

*1* If i just simply use the taucs provided in CGAL 3.8, then error will
occur when running to the "taucs_ccs_factor_llt_mf" function I called in my
program. This error comes from the mlock.c file:
void __cdecl _unlock (
int locknum
)
{
/*
* leave the critical section.
*/
LeaveCriticalSection( _locktable[locknum].lock );
}

*2* I guess the reason for this error is that since only lib files of
dynamic link can be produced using cmake when building CGAL 3.8, the visual
studio project using CGAL 3.8 can only be of /MD option. This way, the taucs
lib should also be built under /MD, while the default taucs lib in CGAL is
built under /MT.

So if I still want to use functions such as "taucs_ccs_factor_llt_mf", I'll
have to recompile taucs under /MD independently, which will be another long
troublesome story...

I'm wondering if there is any elegant way to avoid this trouble please?
Thanks!

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/error-when-using-CGAL-3-8-and-taucs-tp3744007p3744007.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page