LAPACKE and GMM++ compatibility

Open discussion regarding features, bugs, issues, vendors, etc.

LAPACKE and GMM++ compatibility

Postby torquil » Mon Oct 14, 2013 6:18 pm

Hi!

I'm having some problems combining GMM++ and LAPACKE when compiling with G++ 4.8.1. It seems that "lapacke.h" is including "complex.h", which defines the symbol "I". This causes problems when GMM++ uses this as the name of a function argument.

Is there are way to make lapacke.h use the C++ header "complex", instead of "complex.h"? I see that there is some C++ logic in lapacke_config.h, but even if I compile with -DLAPACKE_COMPLEX_CPP, the problem persists.

Test program that does not compile:

#include "lapacke.h"
#include "gmm/gmm_matrix.h"
int main() { return(0); }

Best regards
Torquil Sørensen
torquil
 
Posts: 1
Joined: Mon Oct 14, 2013 5:38 pm

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 2 guests