PETSC构建错误:C编译器不起作用

时间:2015-05-14 05:04:01

标签: cygwin petsc

我正在尝试通过调用以下命令在Cygwin终端上安装PETSc ..

./configure --with-cc='win32fe cl'  --with-fc='win32fe ifort' --with-cxx='win32fe cl' --download-fblaslapack

/configure --with-cc=cl --with-cxx=g++ --with-fc=gfortran --download-fblaslapack --download-mpich

它向我射击错误:

C compiler you provided with -with-cc=win32fe cl does not work
C compiler you provided with -with-cc=cl does not work

我是Unix平台的新手,所以请帮助我。

1 个答案:

答案 0 :(得分:0)

试试这个:

if (stringdQuery != null && stringdQuery.cDate.HasValue)
{
    dtt = Convert.ToDateTime(stringdQuery.cDate); 
}

注意在空格之前添加的反斜杠来转义它们。

相关问题