I need some help... Been trying to compile the source code but error belows occured... Kind help will be highly appreciated... Thanks..
--------------------Configuration: TSPApp - Win32 Debug_NuMega--------------------
Creating Type Library...
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl
NOTE: WINVER has been defined as 0x0500 or greater which enables
Windows NT 5.0 and Windows 98 features. When these headers were released,
Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
For this release when WINVER is defined as 0x0500 or greater, you can only
build beta or test applications. To build a retail application,
set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk to see if retail Windows NT 5.0 or Windows 98 headers are available.
See the SDK release notes for more information.
You are not using the latest Platform SDK header/library
files. This may prevent the project from building correctly.
You may install the Platform SDK from http://msdn.microsoft.com/downloads/ d:\thesis\tsp_ga\jroptex.h(150) : error C2065: 'InterlockedExchangePointer' : undeclared identifier
d:\thesis\tsp_ga\jroptex.h(150) : error C2065: 'DWORD_PTR' : undeclared identifier
d:\thesis\tsp_ga\jroptex.h(150) : error C2146: syntax error : missing ')' before identifier 'dwSpinCount'
d:\thesis\tsp_ga\jroptex.h(150) : error C2059: syntax error : ')'
d:\thesis\tsp_ga\jroptex.h(199) : error C2664: 'InterlockedCompareExchange' : cannot convert parameter 1 from 'long *' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.
The algorithm takes a lot of time on big number of points ( about 800 - it almost never finishes ). It is impossible to run it on more then some thousends points - it fails on memory allocation. In general it is nice for presentation of the problem and for studing of templates, that the author likes very much. But there are much better solutions for TSP on the net.