Hi,

Here are the issues that I've found to date on XP trying to build 
openwengo 2.1.2 with VS 2005.

1. Running create_vcproj-VC80.bat fails to copy files

-- Found Qt-Version 4.3.3
-- Qt4 with ActiveX (QAxContainer) support on
Error copying file (if different) from 
"C:/Qt/4.3.3/plugins/imageformats/qmngd1.dll" to 
"C:/Projects/openwengo2.1.2/build/debug/imageformats/qmngd1.dll".
Error copying file (if different) from 
"C:/Qt/4.3.3/plugins/imageformats/qjpegd1.dll" to 
"C:/Projects/openwengo2.1.2/build/debug/imageformats".

The reason being this is that the QT files are now suffixed with "4". 
Thus, qmngd4.dll and qjpegd4.dll.

The full output from create_vcproj-VC80.bat [1] is after my sig.

2. On loading the "solution" in VS, a message appears saying:

  The solution already contains an item named "lrelease"

3. A bunch of /libs and /includes must be added to VS's options.

Obviously, boost and QT are required, but also the Microsoft Platform 
SDK and ActiveX SDK. In addition, for some reason dshow.h and .lib are 
required, so these need to be included from somewhere. I chose:

  C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK
  \PocketPC2003\Include

4. Initial builds produce reams of RTC (runtime check) errors - 
possibly something to do with stuff pointing to VC6 libraries? These 
messages go away after saving the solution!

5. The build proper produces the following errors:

Error   97      error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        portaudio
Error   202     error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        curl
Error   276     error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        owwebcam
Error   547     error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        phapiutil
Error   2245    fatal error LNK1104: cannot open file 'phapiutil.lib'
        phapi
Error   4106    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        owcrashreport
Error   4124    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        phamrplugin
Error   4148    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        phspeexplugin
Error   4290    fatal error LNK1104: cannot open file 'phapiutil.lib'   sfp-
plugin
Error   4420    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        yealinkwenbox
Error   4422    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        owutil-unit-tests
Error   4469    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        thread-tests
Error   4493    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        desktopservice
Error   4508    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testexpandbutton
Error   4536    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testimageselector
Error   4552    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testlinklabel
Error   4574    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testqobjectthreadsafe
Error   4599    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testscrollframe
Error   4613    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testwidgetratioenforcer
Error   4637    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testtrayicon
Error   4686    fatal error LNK1104: cannot open file 'owwebcam.lib'
        owwebcam-test
Error   4700    fatal error LNK1104: cannot open file 'owwebcam.lib'
        owwebcam-test-visu-c
Error   4728    fatal error LNK1104: cannot open file 'owwebcam.lib'
        owwebcam-multi-visu-test
Error   4766    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        soundtest
Error   4779    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testnetlib
Error   4804    error PRJ0019: A tool returned an error code from 
"Performing Post-Build Event..."        testflashwindow


The error PRJ0019s are due to the cmake copy errors. For example:

>Error copying file (if different) from 
"C:/Projects/openwengo2.1.2/build/libs/3rdparty/portaudio/portaudio.dll" 
to "C:/Projects/openwengo2.1.2/build/debug/."

The source should include /debug. Thus, 

"C:/Projects/openwengo2.1.2/build/libs/3rdparty/portaudio/debug/portaudi
o.dll"

I don't know how to fix this - other than manually changing all the 
affected projects' Post-Build Events. And this won't work for other 
build targets. This is a pretty serious issue, imo.

6. Finally, as mentioned in another post, there are two .libs missing 
for the build:

Error   2245    fatal error LNK1104: cannot open file 'phapiutil.lib' phapi
Error   4686    fatal error LNK1104: cannot open file 'owwebcam.lib' 
owwebcam-test

Any ideas where these might be?

-- 
Cheers,
Marc

[1]

C:\Projects\openwengo2.1.2\build>"c:\Program Files\Microsoft Visual 
Studio 8\Common7\Tools\vsvars32.
bat"   && cmake .. -G "Visual Studio 8 2005"
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
-- Check for working C compiler: c:/Program Files/Microsoft Visual 
Studio 8/VC/bin/cl.exe
-- Check for working C compiler: c:/Program Files/Microsoft Visual 
Studio 8/VC/bin/cl.exe -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c:/Program Files/Microsoft Visual 
Studio 8/VC/bin/cl.exe
-- Check for working CXX compiler: c:/Program Files/Microsoft Visual 
Studio 8/VC/bin/cl.exe -- works

-- Found Subversion (svn): C:/Program Files/Subversion/bin/svn.exe
-- OS: Windows-5.1
-- Processor: x86
-- Compiler: c:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe
-- Build type: Debug
-- Build tool: c:/PROGRA~1/MICROS~2/Common7/IDE/devenv.com
-- Build directory: C:/Projects/openwengo2.1.2/build/debug
-- svn revision: 1
-- Time: 20071220152657
-- Found Boost: C:/Boost/lib/boost_date_time-vc80-mt-
gd.lib;C:/Boost/lib/boost_filesystem-vc80-mt-gd
.lib;C:/Boost/lib/boost_iostreams-vc80-mt-
gd.lib;C:/Boost/lib/boost_program_options-vc80-mt-gd.lib;C
:/Boost/lib/boost_regex-vc80-mt-gd.lib;C:/Boost/lib/boost_serialization-
vc80-mt-gd.lib;C:/Boost/lib/
boost_signals-vc80-mt-gd.lib;C:/Boost/lib/libboost_test_exec_monitor-
vc80-mt-gd.lib;C:/Boost/lib/boo
st_thread-vc80-mt-gd.lib;C:/Boost/lib/libboost_unit_test_framework-vc80-
mt-gd.lib;C:/Boost/lib/boost
_wserialization-vc80-mt-gd.lib
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Found Qt-Version 4.3.3
-- Qt4 with ActiveX (QAxContainer) support on
Error copying file (if different) from 
"C:/Qt/4.3.3/plugins/imageformats/qmngd1.dll" to "C:/Projects
/openwengo2.1.2/build/debug/imageformats/qmngd1.dll".
Error copying file (if different) from 
"C:/Qt/4.3.3/plugins/imageformats/qjpegd1.dll" to "C:/Project
s/openwengo2.1.2/build/debug/imageformats".
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - not found.
-- Looking for include files HAVE_MACHINE_TYPES_H
-- Looking for include files HAVE_MACHINE_TYPES_H - not found.
-- Looking for include files HAVE_SYS_INT_TYPES_H
-- Looking for include files HAVE_SYS_INT_TYPES_H - not found.
-- Looking for include files HAVE_SYS_UIO_H
-- Looking for include files HAVE_SYS_UIO_H - not found.
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - not found.
-- Looking for include files HAVE_STDLIB_H
-- Looking for include files HAVE_STDLIB_H - found
-- Looking for inet_aton
-- Looking for inet_aton - not found
-- Looking for include files HAVE_SYSLOG_H
-- Looking for include files HAVE_SYSLOG_H - not found.
-- Crashreport activated
-- Found lrelease: C:/Qt/4.3.3/bin/lrelease.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Projects/openwengo2.1.2/build

C:\Projects\openwengo2.1.2\build>

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to