[petsc-users] PETSc/VC12 compilation

Abilash Nair abilash at gmail.com
Tue Jan 14 10:32:19 CST 2014


Hello all,

I am trying to build petsc to use as a library on a visual C++ project.

I configured the petsc (v3.4.3) with VC++ 2012 under the shell provided by
VC2012 with the following command (in cygwin):

./config/configure.py --with-mpi=0 --download-f2cblaslapack=1 --with-fc=0
--with-cc='win32fe cl' --with-debugging=1

then I did a make all; make test while still in cygwin. I have sent the log
file outputs from these commands. As the files show, I am able to make with
no errors at all, however I am unable to execute any of the tests (error
being that a libstcc++.lib not found).

I hope you would be able to suggest a path forward.

Thanks!
Abilash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140114/65ec0f6b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 1671257 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140114/65ec0f6b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 37152 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140114/65ec0f6b/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.log
Type: application/octet-stream
Size: 1261 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140114/65ec0f6b/attachment-0005.obj>


More information about the petsc-users mailing list