randichilyon / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

Build Issue VS2013 -- src/constraint_solver/diffn.cc #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi.
I'm trying to build the code using VS2013 and came across the following code 
errors.

C:\src\or-tool>tools\make all
cl /EHsc /MD /nologo -nologo  /O2 -DNDEBUG /Isrc /Iexamples /Isrc\\gen 
/IC:\\src\\or-tool\\dependencies\\install\\src\\windows 
/IC:\\src\\or-tool\\dependencies\\install\\src /DGFLAGS_DLL_DECL=
 /DGFLAGS_DLL_DECLARE_FLAG= /DGFLAGS_DLL_DEFINE_FLAG= /IC:\\src\\or-tool\\dependencies\\install\\include /Idependencies\\sources\\TinyThread++-1.0\\source /Idependencies\\sources\\Minisat /IC:
\\src\\or-tool\\dependencies\\install\\include 
/IC:\\src\\or-tool\\dependencies\\install\\include /DUSE_CBC 
/IC:\\src\\or-tool\\dependencies\\install\\include /DUSE_CLP    /D__WIN32__ 
/IC:\\sr
c\\or-tool\\dependencies\\install\\include -c src/constraint_solver/diffn.cc 
/Foobjs\\diffn.obj
diffn.cc
src/constraint_solver/diffn.cc(85) : error C2065: 'vector' : undeclared 
identifier
src/constraint_solver/diffn.cc(85) : error C2275: 'int64' : illegal use of this 
type as an expression
        src\base/integral_types.h(26) : see declaration of 'int64'
src/constraint_solver/diffn.cc(85) : error C2065: 'size_x' : undeclared 
identifier
src/constraint_solver/diffn.cc(86) : error C2065: 'size_x' : undeclared 
identifier
src/constraint_solver/diffn.cc(87) : error C2065: 'vector' : undeclared 
identifier
src/constraint_solver/diffn.cc(87) : error C2275: 'int64' : illegal use of this 
type as an expression
        src\base/integral_types.h(26) : see declaration of 'int64'
src/constraint_solver/diffn.cc(87) : error C2065: 'size_y' : undeclared 
identifier
src/constraint_solver/diffn.cc(88) : error C2065: 'size_y' : undeclared 
identifier
src/constraint_solver/diffn.cc(90) : error C2065: 'size_x' : undeclared 
identifier
src/constraint_solver/diffn.cc(90) : error C2065: 'size_y' : undeclared 
identifier
src/constraint_solver/diffn.cc(91) : error C2065: 'size_y' : undeclared 
identifier
src/constraint_solver/diffn.cc(91) : error C2065: 'size_x' : undeclared 
identifier
src/constraint_solver/diffn.cc(241) : error C2065: 'vector' : undeclared 
identifier
src/constraint_solver/diffn.cc(241) : error C2059: syntax error : '>'
src/constraint_solver/diffn.cc(243) : error C2065: 'intervals' : undeclared 
identifier
src/constraint_solver/diffn.cc(245) : error C2065: 'intervals' : undeclared 
identifier
tools\make: *** [objs/diffn.obj] Error 2

Original issue reported on code.google.com by i...@holsman.com.au on 7 Jul 2013 at 6:36

GoogleCodeExporter commented 9 years ago
Thanks for the report. I fixed the visual studio compilation.

Original comment by laurent....@gmail.com on 8 Jul 2013 at 7:28