Le 25 mars 08 à 09:07, Uchida a écrit :

Hello all,

I try to compile the OpenWengo source (wengophone-2.1.2-source.zip),
for Visual Studio .NET 2003.
But, I have the following error. Somebody, please advice.


Qt libraries : binary install (qt-win-opensource-4.3.4-mingw.exe)



Uchida,

If you use binarry install of QT you'll need to to build wengophone using mingw.

If you want to build using VS you'll need to downloadd QT in source form apply This patch
compile the QT and then compile Wengophone


Thanks
Vadim





Error
-----------------------------------------------------------------------------
C:\msys\1.0\home\wengophone-2.1.2-source\build\>cmake .. -G "NMake
Makefiles"
-- Check for CL compiler version
-- Check for CL compiler version - 1310
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe -- works
Subversion (svn) command line not found, it is recommended to install it
-- OS: Windows-5.1
-- Processor: x86
-- Compiler: C:/Program Files/Microsoft Visual Studio .NET
2003/Vc7/bin/cl.exe
-- Build type: Debug
-- Build tool: nmake
-- Build directory: C:/openwengo/build/debug
-- svn revision: 0
-- Time: 20070704085248
-- Found Boost:
C:/Boost/lib/boost_date_time-vc71-mt-gd.lib;C:/Boost/lib/ boost_filesystem-vc71-mt-gd.lib;C:/Boost/lib/boost_iostreams-vc71-mt- gd.lib;C :/Boost/lib/boost_program_options-vc71-mt-gd.lib;C:/Boost/lib/ boost_python-vc71-mt-gd.lib;C:/Boost/lib/boost_regex-vc71-mt- gd.lib;C:/Boost/lib/boost_s erialization-vc71-mt-gd.lib;C:/Boost/lib/boost_signals-vc71-mt- gd.lib;C:/Boost/lib/libboost_test_exec_monitor-vc71-mt-gd.lib;C:/ Boost/lib/boost_thread -vc71-mt-gd.lib;C:/Boost/lib/libboost_unit_test_framework-vc71-mt- gd.lib;C:/Boost/lib/boost_wserialization-vc71-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
CMake Error: Could NOT find QtCore. Check
C:/msys/1.0/home/wengophone-2.1.2-sourcebuild/CMakeFiles/ CMakeError.log for
more details.
-- Configuring done

-----------------------------------------------------------------------------





C:/msys/1.0/home/wengophone-2.1.2-sourcebuild/CMakeFiles/ CMakeError.log
-----------------------------------------------------------------------------
Determining if the Q_WS_X11 exist failed with the following output:
nmake -f CMakeFiles\cmTryCompileExec.dir/build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build
"C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CMakeFiles
1

Building C object CMakeFiles/cmTryCompileExec.dir/ CheckSymbolExists.obj
C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe
@C:\DOCUME~1\uchida\LOCALS~1\Temp\nmFB.tmp
CheckSymbolExists.c
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CheckSymbolExists.c(8)
: error C2065: 'Q_WS_X11' : undeclared identifier.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.


File
C:/msys/1.0/home/wengophone-2.1.2-source/build/CMakeFiles/CMakeTmp/ CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_X11
cmakeRequireSymbol(0,&Q_WS_X11);
#endif
return 0;
}

Determining if the Q_WS_QWS exist failed with the following output:
nmake -f CMakeFiles\cmTryCompileExec.dir/build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build
"C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CMakeFiles
1

Building C object CMakeFiles/cmTryCompileExec.dir/ CheckSymbolExists.obj
C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe
@C:\DOCUME~1\uchida\LOCALS~1\Temp\nmFF.tmp
CheckSymbolExists.c
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CheckSymbolExists.c(8)
: error C2065: 'Q_WS_QWS' : undeclared identifier.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN\nmake.exe"' : return code '0x2'
Stop.


File
C:/msys/1.0/home/wengophone-2.1.2-source/build/CMakeFiles/CMakeTmp/ CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_QWS
cmakeRequireSymbol(0,&Q_WS_QWS);
#endif
return 0;
}

Determining if the Q_WS_MAC exist failed with the following output:
nmake -f CMakeFiles\cmTryCompileExec.dir/build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build
"C:\Program Files\CMake 2.4\bin\cmake.exe" -E cmake_progress_report
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CMakeFiles
1

Building C object CMakeFiles/cmTryCompileExec.dir/ CheckSymbolExists.obj
C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe
@C:\DOCUME~1\uchida\LOCALS~1\Temp\nm100.tmp
CheckSymbolExists.c
C:\msys\1.0\home\wengophone-2.1.2-source\build\CMakeFiles\CMakeTmp \CheckSymbolExists.c(8)
: error C2065: 'Q_WS_MAC' : undeclared identifier.

NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3.NET\Vc7\bin\cl.exe' :
return code '0x2'
Stop.
-----------------------------------------------------------------------------



Thanks.
Uchida

_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to