ich versuche das es im project.pro datei unter Windows openssl include gefunden wird,
unter Linux gehts ohne probleme.
Habe schon verschiedenes probiert aber ohne erfolg,
wie es aussieht pthreads findet es aber openssl nicht.
win32 {
OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc
DEFINES = WINDOWS_SYS WIN32
DESTDIR = lib
INCLUDEPATH += d:\Development\openssl-0.9.7g-xpgp-0.1c\include
UPNPC_DIR = ../../../../miniupnpc-1.0
PTHREADS_DIR = ../../../../pthreads-w32-2-8-0-release
ZLIB_DIR = ../../../../zlib-1.2.3
INCLUDEPATH += . $${PTHREADS_DIR} $${ZLIB_DIR} $${ZLIB_DIR}
}
Nun wo mache ich den einen fehler? ich weis genau das der pfad stimmt.win32 {
OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc
DEFINES = WINDOWS_SYS WIN32
DESTDIR = lib
SSL_DIR = ../../../../openssl-0.9.7g-xpgp-0.1c
UPNPC_DIR = ../../../../miniupnpc-1.0
PTHREADS_DIR = ../../../../pthreads-w32-2-8-0-release
ZLIB_DIR = ../../../../zlib-1.2.3
INCLUDEPATH += . $${SSL_DIR} $${PTHREADS_DIR} $${ZLIB_DIR} $${ZLIB_DIR}
}
g++ -c -g -frtti -fexceptions -mthreads -Wall -DWINDOWS_SYS -DWIN32 -DPQI_USE_XP
GP -DMINIUPNPC_VERSION=10 -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"d:\Q
t\4.4.3\include\QtCore" -I"d:\Qt\4.4.3\include\QtCore" -I"d:\Qt\4.4.3\include\Qt
Gui" -I"d:\Qt\4.4.3\include\QtGui" -I"d:\Qt\4.4.3\include" -I"..\..\..\..\openss
l-0.9.7g-xpgp-0.1c\include" -I"." -I"..\..\..\..\pthreads-w32-2-8-0-release" -I"
..\..\..\..\zlib-1.2.3" -I"..\..\..\..\zlib-1.2.3" -I"d:\Qt\4.4.3\include\Active
Qt" -I"temp\moc" -I"." -I"d:\Qt\4.4.3\mkspecs\default" -o temp\obj\xpgp_id.o pqi
\xpgp_id.cc
In file included from pqi\xpgp_id.cc:5:
./pqi/authxpgp.h:37:25: openssl/ssl.h: No such file or directory
./pqi/authxpgp.h:38:25: openssl/evp.h: No such file or directory
In file included from ./pqi/pqi_base.h:38,
from ./pqi/authxpgp.h:45,
from pqi\xpgp_id.cc:5:
./pqi/pqinetwork.h:53:1: warning: "_WIN32_WINNT" redefined
In file included from D:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/
windows.h:48,
from ../../../../pthreads-w32-2-8-0-release/pthread.h:198,
from ./util/rsthreads.h:30,
from ./pqi/authxpgp.h:43,
from pqi\xpgp_id.cc:5:
D:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/windef.h:20:1: warning