librory / madfish-webtoolkit

Automatically exported from code.google.com/p/madfish-webtoolkit
MIT License
0 stars 0 forks source link

Cannot build under MS VS2005/WinXP #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
* What steps will reproduce the problem?
1. Cmake under Visual Studio 2005 with steps in Wiki
2. Build All

* What is the expected output? What do you see instead?
I've expected all is built, but compiler shows error:

------ Build started: Project: CoreToolkit, Configuration: Debug Win32 ------
Compiling...
Thread.cpp
..\..\CoreToolkit\Thread.cpp(153) : error C3861: 'SignalObjectAndWait': 
identifier not found
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\CoreToolkit\CoreToolkit.dir
\Debug\BuildLog.htm"
CoreToolkit - 1 error(s), 0 warning(s)
------ Build started: Project: ImageBoard, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 
'..\CoreToolkit\Debug\CoreToolkit.lib'
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\ImageBoard\ImageBoard.dir\D
ebug\BuildLog.htm"
ImageBoard - 1 error(s), 0 warning(s)
------ Build started: Project: HelloWorld, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 
'..\CoreToolkit\Debug\CoreToolkit.lib'
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\HelloWorld\HelloWorld.dir\D
ebug\BuildLog.htm"
HelloWorld - 1 error(s), 0 warning(s)
------ Build started: Project: FileServer, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 
'..\CoreToolkit\Debug\CoreToolkit.lib'
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\FileServer\FileServer.dir\D
ebug\BuildLog.htm"
FileServer - 1 error(s), 0 warning(s)
------ Build started: Project: SessionDemo, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 
'..\CoreToolkit\Debug\CoreToolkit.lib'
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\SessionDemo\SessionDemo.dir
\Debug\BuildLog.htm"
SessionDemo - 1 error(s), 0 warning(s)
------ Build started: Project: SimpleBlog, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 
'..\CoreToolkit\Debug\CoreToolkit.lib'
Build log was saved at "file://d:\Windows CE 
Tools\webtoolkit\madfish-webtoolkit-1.1\WebAppBuilds\SimpleBlog\SimpleBlog.dir\D
ebug\BuildLog.htm"
SimpleBlog - 1 error(s), 0 warning(s)
------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 ------
Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 6 failed, 2 up-to-date, 1 skipped ==========

* What version of the product are you using? On what operating system?
madfish-webtoolkit-1.1.tar.gz 
trying on WinXP

Original issue reported on code.google.com by Sazonov....@gmail.com on 15 Dec 2010 at 1:28

GoogleCodeExporter commented 8 years ago
To solve this, you should add preprocessor definition "_WIN32_WINNT" above 
0x0400 to the CoreToolkit project properties. For example, 0x0502 is for 
WindowsXP SP2. Full list of these can be googled.

Original comment by niem...@live.ru on 2 Jun 2011 at 11:58