Hello,
I'm working with Abaqus 6.13 and visual studio 2010 for running C++ subroutine with the following abaqus command:
Abaqus make job=test.cpp
the file.cpp is:
------------------------------------
#include
#include
int ABQmain(int argc, char **argv)
{
return 0;
}
------------------------------------
The file is very simple but returns errors in libraries :
----------------------------------
test.cpp
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(66) : error C2628: '_iobuf' suivi de 'void' n'est pas conforme (n'auriez-vous pas oubliéun ';' ?)
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(627) : error C2036: 'void *' : taille inconnue
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(629) : error C2036: 'void *' : taille inconnue
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\cstdio(34) : error C2371: '_iobuf' : redéfinition ; types de base différents
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(56) : voir la déclaration de '_iobuf'
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\cstdio(40) : error C2589: 'void' : jeton non conforme à droite de '::'
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\cstdio(40) : error C2059: erreur de syntaxe : '::'
Abaqus Error: Problem during compilation - C:\test.cppThe Abaqus Make execution procedure exited with errors
---------------------------
I use a research license assigned to INSA (institut national des sciences appliquées).
your help will be invaluable to me.
Have a good day,
thank you in advance.
Tristan