Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
orwant opened this issue Aug 5, 2015 · 1 comment
Closed

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

orwant opened this issue Aug 5, 2015 · 1 comment
Assignees
Milestone

Comments

@orwant
Copy link
Collaborator

orwant commented Aug 5, 2015

Originally reported on Google Code with ID 27

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

Reported by ian@holsman.com.au on 2013-07-07 18:36:36

@orwant
Copy link
Collaborator Author

orwant commented Aug 5, 2015

Thanks for the report. I fixed the visual studio compilation.

Reported by laurent.perron on 2013-07-08 07:28:18

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants