cordarei / libwm

Automatically exported from code.google.com/p/libwm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build breaks on vs 2005

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. download trunk libwm
2. cmake (2.6.4) and use 'visual studio 8 2005' as the generator
3. build the resultant libwm.sln

What is the expected output? What do you see instead?

expect a clean build, see:

...
1>window.cpp
1>..\..\..\libwm\src\win32\window.cpp(95) : error C2065: 'TRACKMOUSEEVENT' 
: undeclared identifier
1>..\..\..\libwm\src\win32\window.cpp(95) : error C2146: syntax error : 
missing ';' before identifier 'tme'
1>..\..\..\libwm\src\win32\window.cpp(95) : error C2065: 'tme' : undeclared 
identifier
1>..\..\..\libwm\src\win32\window.cpp(96) : error C2228: left of '.cbSize' 
must have class/struct/union
1>        type is ''unknown-type''
1>..\..\..\libwm\src\win32\window.cpp(96) : error C2070: ''unknown-type'': 
illegal sizeof operand
1>..\..\..\libwm\src\win32\window.cpp(97) : error C2228: left of '.dwFlags' 
must have class/struct/union
...


What version of the product are you using? On what operating system?

* libwm trunk
* windows xp
* visual studio 8 / 2005


Original issue reported on code.google.com by bobkue...@gmail.com on 10 Sep 2009 at 1:33

TRACKMOUSEEVENT is located in the WinUser.h header inside the Microsoft 
Platform SDK.
Does the compiler find WinUser.h or are the include paths missing something? If 
the
header is found, is there some weird macro that makes TRACKMOUSEEVENT behave 
funny?

I don't have Visual Studio 2005 or the time to fix this problem. Please send
CMakeFiles.txt patches, preferably as Mercurial Bundles.

Original comment by maililis...@gmail.com on 13 Sep 2009 at 6:13

  • Changed state: Accepted
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium