ampl / mp

An open-source library for mathematical programming
https://mp.ampl.com
Other
229 stars 42 forks source link

Error build ampllocalsolver-static in VS2013 #105

Closed forestymonta closed 8 years ago

forestymonta commented 8 years ago
1>------ Build started: Project: ampllocalsolver-static, Configuration: Release x64 ------
1>  localsolver.cc
1>D:\Soft\__11\mp\solvers\localsolver\localsolver.cc(666): error C2039: 'CT_Ticked' : is not a member of 'localsolver'
1>D:\Soft\__11\mp\solvers\localsolver\localsolver.cc(666): error C2065: 'CT_Ticked' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

localsolver v6.0

vitaut commented 8 years ago

CT_Ticked is defined in lscallbacktype.h in LocalSolver version 5.5. Which version do you use?

forestymonta commented 8 years ago

6.0

vitaut commented 8 years ago

LocalSolver 6.0 is not supported yet (#80), but you can get version 5.5 from http://www.localsolver.com/olderversions.html.