DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2631
Version: 1.3-current


This was with 1.3.x-r8659

When I tried building with Visual Studio 2010, I just used Build > Build
All, with fltk set to the start-up project. It came up with about 50
errors somewhere along the line of "cannot find fltk.lib".

I figured I needed to just build fltk by itself, and when I did it came up
with the following error:

error C2440: '=' : cannot convert from 'WCHAR *' to 'LPSTR'     
c:\program files (x86)\microsoft visual studio
10.0\vc\include\fltk\src\fl_font_win32.cxx"     
line 345

All I did to make it build was change line 345 of "fl_font_win32.cxx" from
"gcp_res.lpClass = c_buff;" to "gcp_res.lpClass = (LPSTR)c_buff;"

And then it compiled!


Link: http://www.fltk.org/str.php?L2631
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to