Hi,

I followed all the instructions in the msvc10.html file provided earlier and tried to build just WidgetToolbar project again which resulted in the following errors:

1>------ Build started: Project: SmartWin, Configuration: Debug Win32 ------
1>  trackable.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  slot.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  signal_base.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  named_slot_map.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  connection.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  WidgetSplitter.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Widget.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  PrintCanvas.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Message.cpp
1>  LibraryLoader.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  ImageList.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Icon.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Font.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  DestructionClass.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  CommandLine.cpp
1>  CanvasClasses.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Bitmap.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  BasicTypes.cpp
1>  Application.cpp
1>  Unknown compiler version - please run the configure tests and report the results
1>  Generating Code...
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(E:\cpp_libs\SmartWin\Lib\SmartWin.lib) does not match the Library's OutputFile property value (E:\cpp_libs\SmartWin\Lib\SmartWinD.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(SmartWin) does not match the Library's OutputFile property value (SmartWinD). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
1>  SmartWin.vcxproj -> E:\cpp_libs\SmartWin\Lib\SmartWin.lib
2>------ Build started: Project: WidgetToolbar, Configuration: Debug Win32 ------
2>  Main.cpp
2>  Unknown compiler version - please run the configure tests and report the results
2> 
2>WidgetToolbar.rc(21): error RC2144: PRIMARY LANGUAGE ID not a number
2> 
2> 
2>WidgetToolbar.rc(59): error RC2135: file not found: LANGUAGE
2> 
2> 
2>WidgetToolbar.rc(68): error RC2135: file not found: 101
2> 
2> 
2>WidgetToolbar.rc(83): error RC2135: file not found: "BITMAP1.BMP"
2> 
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ========

I look forward to receiving your feedback.

Best regards / Asif


On Tue, Mar 22, 2011 at 11:59 AM, asif saeed <asif.lse2@gmail.com> wrote:
Hi,

I am trying to build SmartWinUnitTest solution but the build results in the following errors:

==================================================================================================================================
1>------ Build started: Project: SampleWidgets, Configuration: Debug Win32 ------
2>------ Build started: Project: SmartWin, Configuration: Debug Win32 ------
2>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(E:\cpp_libs\SmartWin\Lib\SmartWin.lib) does not match the Library's OutputFile property value (E:\cpp_libs\SmartWin\Lib\SmartWinD.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
2>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1153,5): warning MSB8012: TargetName(SmartWin) does not match the Library's OutputFile property value (SmartWinD). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
2>  SmartWin.vcxproj -> E:\cpp_libs\SmartWin\Lib\SmartWin.lib
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(24): error RC2144: PRIMARY LANGUAGE ID not a number
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(62): error RC2135: file not found: LANGUAGE
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(71): error RC2135: file not found: 101
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(72): error RC2135: file not found: 102
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(73): error RC2135: file not found: 103
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(74): error RC2135: file not found: 105
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(83): error RC2135: file not found: 104
1> 
1> 
1>..\PocketPC\SmartWinDevicesUnitTests\SampleWidgets\SampleWidgets.rc(98): error RC2135: file not found: "ICON1.ICO"
1> 
3>------ Build started: Project: WidgetSlider, Configuration: Debug Win32 ------
4>------ Build started: Project: NotePad, Configuration: Debug Win32 ------
3> 
3>WidgetSlider.rc(20): error RC2144: PRIMARY LANGUAGE ID not a number
3> 
3> 
3>WidgetSlider.rc(58): error RC2135: file not found: LANGUAGE
3> 
3> 
3>WidgetSlider.rc(67): error RC2135: file not found: 101
3> 
3> 
3>WidgetSlider.rc(82): error RC2135: file not found: "BITMAP.BMP"
3> 
4> 
4>NotePad.rc(24): error RC2144: PRIMARY LANGUAGE ID not a number
4> 
4> 
4>NotePad.rc(62): error RC2135: file not found: LANGUAGE
4> 
4> 
4>NotePad.rc(71): error RC2135: file not found: 101
4> 
5>------ Build started: Project: TicTacToe, Configuration: Debug Win32 ------
6>------ Build started: Project: Calculator, Configuration: Debug Win32 ------
5> 
5>TicTacToe.rc(24): error RC2144: PRIMARY LANGUAGE ID not a number
5> 
5> 
5>TicTacToe.rc(63): error RC2135: file not found: LANGUAGE
5> 
5> 
5>TicTacToe.rc(74): error RC2135: file not found: 101
5> 
5> 
5>TicTacToe.rc(81): error RC2135: file not found: 102
5> 
5> 
5>TicTacToe.rc(96): error RC2135: file not found: "CURSOR1.CUR"
5> 
6> 
6>Calculator.rc(24): error RC2144: PRIMARY LANGUAGE ID not a number
6> 
6> 
6>Calculator.rc(63): error RC2135: file not found: LANGUAGE
6> 
6> 
6>Calculator.rc(72): error RC2135: file not found: 101
6> 
7>------ Build started: Project: WidgetWindowSubclassed, Configuration: Debug Win32 ------
8>------ Build started: Project: WidgetToolbar, Configuration: Debug Win32 ------
7> 
7>WidgetWindowSubclassed.rc(20): error RC2144: PRIMARY LANGUAGE ID not a number
7> 
7> 
7>WidgetWindowSubclassed.rc(58): error RC2135: file not found: LANGUAGE
7> 
7> 
7>WidgetWindowSubclassed.rc(67): error RC2135: file not found: 101
7> 
8> 
8>WidgetToolbar.rc(21): error RC2144: PRIMARY LANGUAGE ID not a number
8> 
8> 
8>WidgetToolbar.rc(59): error RC2135: file not found: LANGUAGE
8> 
8> 
8>WidgetToolbar.rc(68): error RC2135: file not found: 101
8> 
8> 
8>WidgetToolbar.rc(83): error RC2135: file not found: "BITMAP1.BMP"
8> 
9>------ Build started: Project: WidgetList, Configuration: Debug Win32 ------
9> 
9>WidgetList.rc(20): error RC2144: PRIMARY LANGUAGE ID not a number
9> 
9> 
9>WidgetList.rc(55): error RC2135: file not found: 103
9> 
9> 
9>WidgetList.rc(56): error RC2135: file not found: 104
9> 
9> 
9>WidgetList.rc(57): error RC2135: file not found: 105
9> 
9> 
9>WidgetList.rc(66): error RC2135: file not found: 106
9> 
9> 
9>WidgetList.rc(81): error RC2135: file not found: "ICON1.ICO"
9> 
========== Build: 1 succeeded, 8 failed, 35 up-to-date, 0 skipped ==========

==================================================================================================================================

Could you please give a quick solution? There was LANG_NORWEGIAN specified as the LANGUAGE identifier - I tried to replace that with LANG_USER_DEFAULT and  sub-language id with LANG_SYSTEM_DEFAULT but the build still fails. Bitmap and icon file related errors are strange because bitmap/icon files are there but somehow the build cannot find them.

Look forward to receiving your feedback.

Thanks & best regards / Asif