Russian Qt Forum
Сентябрь 22, 2024, 02:30 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: 1 [2]   Вниз
  Печать  
Автор Тема: В чём ошибка при установке qt 4.5.2 opensource?  (Прочитано 22510 раз)
Maxim
Гость
« Ответ #15 : Июнь 30, 2009, 05:37 »

Опять проблема. Всё вроде пошло нормально, но при запуске nmake:
Код:
...................................
qtcpserver.cpp
qlocalsocket.cpp
qlocalserver.cpp
qnativesocketengine_win.cpp
qlocalsocket_win.cpp
qlocalserver_win.cpp
Generating Code...
        cl -c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\debug_shared\QtNetworkd_pch.pch -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 -w34100 -w34189 -GR -EHsc -D
QT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASC
II -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DQT_DLL -DQT_CORE_LIB -I"..\..\include\QtCore" -I"..\..\include" -I"..\..\include\QtN
etwork" -I"tmp\rcc\debug_shared" -I"tmp" -I"..\3rdparty\zlib" -I"kernel" -I"..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\..\mkspecs\wi
n32-msvc2008" -Fotmp\obj\debug_shared\ @C:\Users\Maxim\AppData\Local\Temp\nmE2A4.tmp
qssl.cpp
qsslcertificate.cpp
c:\qt\4.5.2\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory
qsslconfiguration.cpp
qsslcipher.cpp
qsslerror.cpp
qsslkey.cpp
c:\qt\4.5.2\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory
qsslsocket.cpp
c:\qt\4.5.2\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory
qsslsocket_openssl.cpp
c:\qt\4.5.2\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory
qsslsocket_openssl_symbols.cpp
c:\qt\4.5.2\src\network\ssl\qsslsocket_openssl_p.h(66) : fatal error C1083: Cannot open include file: 'openssl/asn1.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

c:\Qt\4.5.2>
« Последнее редактирование: Июнь 30, 2009, 05:39 от Maxim » Записан
ритт
Гость
« Ответ #16 : Июнь 30, 2009, 06:13 »

отключи поддержку ссл или доставь пакет
Записан
Maxim
Гость
« Ответ #17 : Июнь 30, 2009, 10:15 »

Как это "доставить пакет"?
Записан
ритт
Гость
« Ответ #18 : Июнь 30, 2009, 10:49 »

воспользуйся волшебством заклинания "openssl msvc" в любой популярной поисковой системе...
и получишь http://www.google.ru/search?hl=ru&safe=off&q=openssl+msvcr&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&lr=&aq=f&oq= третья ссылка снизу (например)

зы. и не засоряй эфир
Записан
Maxim
Гость
« Ответ #19 : Июль 06, 2009, 15:56 »

Чистая система, те же параметры, VS2008, MinGW не ставил. При конфиге выскочила ошибка от rcc.exe. Потребовал mingwm10.dll. Зачем? Можно ли скомпилить Qt на одной VS?
Записан
SABROG
Гость
« Ответ #20 : Июль 06, 2009, 16:35 »

А QtCreator ставил?
Записан
crackedmind
Гость
« Ответ #21 : Июль 06, 2009, 16:43 »

А причем тут Qt Creator? Nokia его собирает на msvc2008

видимо где то компилятор ресурсов не родной vs2008 в путях остался, либо еще что...
Записан
Maxim
Гость
« Ответ #22 : Июль 06, 2009, 20:50 »

Так система чистая! Заново переставленная, с нуля. Windows XP SP3.
Где можно пошерстить зависимости/пути?
Записан
SABROG
Гость
« Ответ #23 : Июль 06, 2009, 22:41 »

А причем тут Qt Creator? Nokia его собирает на msvc2008

видимо где то компилятор ресурсов не родной vs2008 в путях остался, либо еще что...

Сам exe'шник да, а библиотеки Qt, которые с ним идут - нет. Но тут похоже в другом дело.
Записан
ритт
Гость
« Ответ #24 : Июль 06, 2009, 22:43 »

винт форматировал? кутэ из архива или была на винте до переустановки?
Записан
ритт
Гость
« Ответ #25 : Июль 06, 2009, 22:44 »

Где можно пошерстить зависимости/пути?
!google: depends walker
Записан
gislinux
Гость
« Ответ #26 : Сентябрь 26, 2009, 11:41 »

  Сделал попытки по советам данной темы установить Qt 4.5.2 для VS2008. При запуске configure через через Visual Studio 2008 Command Promt получил следующее
Код:
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.

This is the Qt for Windows Open Source Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL) version 3
or the GNU Lesser General Public License (LGPL) version 2.1.

Type '3' to view the GNU General Public License version 3 (GPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.

Do you accept the terms of the license?
Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
Make sure you have the Direct3D SDK installed, and that you have run
the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
The D3D SDK library path *needs* to appear before the Platform SDK library
path in your LIB environment variable.
Environment:
    INCLUDE=       C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE       C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE       C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include       
    LIB=       C:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB       C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB       C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib       
    PATH=       C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE       C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN       C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools       C:\WINDOWS\Microsoft.NET\Framework\v3.5       C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727       C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages       C:\Program Files\\Microsoft SDKs\Windows\v6.0A\bin       C:\PROGRA~1\Borland\CBUILD~1\Bin       C:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl       C:\WINDOWS\system32       C:\WINDOWS       C:\WINDOWS\System32\Wbem       c:\Program Files\Microsoft SQL Server\90\Tools\binn\       C:\BC5_02\BIN              c:\Qt\qt.4.5.2_vs2008\bin       c:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
You are licensed to use this software under the terms of the GNU GPL version 3.You are licensed to use this software under the terms of the Lesser GNU LGPL version 2.1.
See C:/Qt/qt.4.5.2_vs20083

 or C:/Qt/qt.4.5.2_vs2008L

Configuration:
    dist-config     large-config     medium-config     minimal-config     small-config     full-config     build_all     debug
Qt Configuration:
    release     debug     zlib     png     accessibility     qt3support     opengl     ipv6     scripttools     xmlpatterns     phonon     phonon-backend     webkit     svg     minimal-config     small-config     medium-config     large-config     full-config

QMAKESPEC...................win32-msvc2008 (detected)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
Direct3D support............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............yes
WebKit support..............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes

Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

Sources are in..............C:\Qt\qt.4.5.2_vs2008
Build is done in............C:\Qt\qt.4.5.2_vs2008
Install prefix..............C:\Qt\qt.4.5.2_vs2008
Headers installed to........C:\Qt\qt.4.5.2_vs2008\include
Libraries installed to......C:\Qt\qt.4.5.2_vs2008\lib
Plugins installed to........C:\Qt\qt.4.5.2_vs2008\plugins
Binaries installed to.......C:\Qt\qt.4.5.2_vs2008\bin
Docs installed to...........C:\Qt\qt.4.5.2_vs2008\doc
Data installed to...........C:\Qt\qt.4.5.2_vs2008
Translations installed to...C:\Qt\qt.4.5.2_vs2008\translations
Examples installed to.......C:\Qt\qt.4.5.2_vs2008\examples
Demos installed to..........C:\Qt\qt.4.5.2_vs2008\demos

Creating qmake...
cl -c -Foproject.obj  -W3 -nologo -O2  -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac  -IC:\Qt\qt.4.5.2_vs2008\include -IC:\Qt\qt.4.5.2_vs2008\include\QtCore  -IC:\Qt\qt.4.5.2_vs2008\include -IC:\Qt\qt.4.5.2_vs2008\include\QtCore  -IC:\Qt\qt.4.5.2_vs2008\src\corelib\global  -IC:\Qt\qt.4.5.2_vs2008\include\QtScript  -IC:\Qt\qt.4.5.2_vs2008\mkspecs\win32-msvc2008   -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL  -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD  -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED   -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
c1xx : fatal error C1083: Cannot open compiler intermediate file: 'C:\DOCUME~1\':??:%\LOCALS~1\Temp\_CL_cf0d66f2ex': No such file or directory
Телодвижения с vsvars32.bat и без него дают такой же результат. Что делать?
Записан
lit-uriy
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 3880


Просмотр профиля WWW
« Ответ #27 : Сентябрь 26, 2009, 14:50 »

>>C:\DOCUME~1\':??:%\LOCALS~1\Temp\_CL_cf0d66f2ex
Попробуй настроить переменные окружения TEMP и TMP, на каталог, путь к которому не содержит пробелов.
Записан

Юра.
gislinux
Гость
« Ответ #28 : Сентябрь 26, 2009, 17:56 »

  Спасибо за совет! Помогло. В TMP был прописан каталог русскими буквами. В этом была проблема.
Записан
Страниц: 1 [2]   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.062 секунд. Запросов: 23.