psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
69 stars 20 forks source link

Error compilation Psi plus #727

Closed cavabanga26 closed 5 years ago

cavabanga26 commented 6 years ago

Hello! I try to compile psi-plus with qt5 5.11.0, but compilation was failed with error:

./_obj\zip.o:zip.cpp:(.text+0x1bb): undefined reference to `unzLocateFile'
./_obj\zip.o:zip.cpp:(.text+0x23f): undefined reference to `unzGetCurrentFileInfo'
./_obj\zip.o:zip.cpp:(.text+0x250): undefined reference to `unzOpenCurrentFile'
./_obj\zip.o:zip.cpp:(.text+0x2f1): undefined reference to `unzReadCurrentFile'
./_obj\zip.o:zip.cpp:(.text+0x41a): undefined reference to `unzCloseCurrentFile'
./_obj\zip.o:zip.cpp:(.text+0x599): undefined reference to `unzCloseCurrentFile'
./_obj\zip.o:zip.cpp:(.text+0x651): undefined reference to `unzLocateFile'
./_obj\zip.o:zip.cpp:(.text+0x6e3): undefined reference to `unzClose'
./_obj\zip.o:zip.cpp:(.text+0x7a1): undefined reference to `unzGetGlobalInfo'
./_obj\zip.o:zip.cpp:(.text+0x81f): undefined reference to `unzGetCurrentFileInfo'
./_obj\zip.o:zip.cpp:(.text+0x92e): undefined reference to `unzGoToNextFile'
./_obj\zip.o:zip.cpp:(.text+0xaa3): undefined reference to `unzOpen'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0xb0f): undefined reference to `stringprep_saslprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0xb23): undefined reference to `stringprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x106f): undefined reference to `stringprep_xmpp_nodeprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x1083): undefined reference to `stringprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x173f): undefined reference to `stringprep_xmpp_resourceprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x1753): undefined reference to `stringprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x1e5f): undefined reference to `stringprep_nameprep'
C:\Users\ljutov_ss\Desktop\psiplus_out\iris\lib\libiris.a(jid.o):jid.cpp:(.text+0x1e73): undefined reference to `stringprep'
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [C:\Users\ljutov_ss\Desktop\psiplus_out\psi-plus.exe] Error 1
mingw32-make[1]: *** [release] Error 2
mingw32-make: *** [sub-src-make_first] Error 2

How fix this error? Thanks.

tehnick commented 6 years ago

1) There is not enough information about your build environment. 2) It looks like you are trying to do a static build. If this is true, have in mind that we do not support static build in our build scripts and you will be on your own. 3) For MS Windows builds we provide special Psi SDK for active users who want to compile program themself.

cavabanga26 commented 6 years ago

Ok, I see README-qmake.txt, read and try to compile. Thank you, Boris!