Topic: problems with compling OOFEM with MS VC++6.0
Hello,
I did exactly as what has been written on "http://www.oofem.org/wiki/doku.php?id=w … ompilation", the guide describes the steps necessary to compile oofem using Microsoft Visual c++ compiler, from oofem wiki. But, I still can't have OOFEM compiled successfully.
The beginning errors are as follows:
"
Compiling...
main.C
d:\work_temporary\oofem_proj\oofemlib\logger.h(147) : error C2010: '.' : unexpected in macro formal parameter list
d:\work_temporary\oofem_proj\oofemlib\logger.h(147) : error C2010: '.' : unexpected in macro formal parameter list
d:\work_temporary\oofem_proj\oofemlib\logger.h(147) : error C2010: '.' : unexpected in macro formal parameter list
d:\work_temporary\oofem_proj\oofemlib\logger.h(147) : error C2010: ')' : unexpected in macro formal parameter list
d:\work_temporary\oofem_proj\oofemlib\logger.h(148) : error C2010: '.' : unexpected in macro formal parameter list
d:\work_temporary\oofem_proj\oofemlib\logger.h(148) : error C2010: '.' : unexpected in macro formal parameter list
"
I double clicked on the error, and the cursor located at this line:
"
#define __LOG_E_MESSAGE(logger, level, _file, _line, ...) logger.writeELogMsg(level, _file, _line, __VA_ARGS__)
", line 147 in logger.h.
Could you please kindly help me out of this "#define" error? Many thanks!