[Scip] pthread.h and intervalarith.c

Sebastian Ruther Sebastian.Ruther at uon.edu.au
Thu Dec 8 13:46:53 MET 2011


  Hello,

I attempted to install SCIP 2.1 on a Windows 7(64-bit)/Visual Studio 
setup (no ZIMPL or SOPLEX) and used the source code for this.
I have two issues:
pthread.h is a UNIX specific header. Has anyone a workaround for this yet?

the other is happening in intervalarith.c in the double negate function. 
It has the following comment:
/* The following lines of code are taken from GAOL, 
http://sourceforge.net/projects/gaol. */
Is there a workaround? I.e. are there other ways this can be implemented?


The complete output is
1>  scip.c
1>src\scip\scip.c(37): fatal error C1083: Cannot open include file: 
'pthread.h': No such file or directory
1>  intervalarith.c
1>src\scip\intervalarith.c(235): error C4235: nonstandard extension used 
: '__asm' keyword not supported on this architecture
1>src\scip\intervalarith.c(236): error C2065: 'fld' : undeclared identifier
1>src\scip\intervalarith.c(236): error C2146: syntax error : missing ';' 
before identifier 'x'
1>src\scip\intervalarith.c(237): error C2146: syntax error : missing ';' 
before identifier 'fchs'
1>src\scip\intervalarith.c(238): error C2065: 'fchs' : undeclared identifier
1>src\scip\intervalarith.c(238): error C2146: syntax error : missing ';' 
before identifier 'fstp'
1>src\scip\intervalarith.c(238): error C2065: 'fstp' : undeclared identifier
1>src\scip\intervalarith.c(238): error C2146: syntax error : missing ';' 
before identifier 'x'
1>src\scip\intervalarith.c(239): error C2143: syntax error : missing ';' 
before '}'

Any help is very much appreciated!
Regards,
Sebastian



More information about the Scip mailing list