soramimi / qSIP

VoIP/SIP client (softphone)
37 stars 13 forks source link

Unable to build on my windows system #1

Open hackertron opened 6 years ago

hackertron commented 6 years ago

hello i tried to build QSIP on my windows system . I am using Qt 5.9 on windows 10 .

when i build it i get following error

error: LNK1104: cannot open file 'baresipd.lib'

soramimi commented 6 years ago

There are 9 project files.

Open everything with Qt Creator except qSIP.pro Run "Rebuild all"

Check that library files was created.

Run "Close all Projects and Editors"

Finally, Open qSIP.pro and build it.

hackertron commented 6 years ago

I followed your steps .

  1. opened the above mentioned .pro files in qt creator .
  2. clicked on rebuild all .

i am getting these errors

qsip

soramimi commented 6 years ago

Yellow exclamations are warnings, so you can ignore it. Red is error, please scroll messages, and show me error messages.

hackertron commented 6 years ago

er1 er2

soramimi commented 6 years ago

I guess you are probably using Qt 64-bit edition. but qSIP is not supported 64-bit edition. Qt for Windows is provided with 32-bit and 64-bit edition. Please try to use 32-bit compiler and Qt library.

hackertron commented 6 years ago

Okay i will try it :+1: . Thanks !! :)

hackertron commented 6 years ago

Hello , i tried to build it on 32-bit windows system now . There are no warnings or big errors now :) . There is only 1 error now i.e. \qSIP-master\build-qSIP-Desktop_Qt_5_6_3_MinGW_32bit-Debug\ui_MainWindow.h:24: error: PhoneWidget.h: No such file or directory

include "PhoneWidget.h"

                     ^

That's strange because i do have PhoneWidget.h

capture

soramimi commented 6 years ago

Now, I committed a small fix.

Please try the following.

  1. git pull
  2. open qSIP.pro with Qt Creator
  3. [Edit] -> [Run qmake]
  4. build
hackertron commented 6 years ago

Hey can you send me the compiled/build version of Qsip ? . I am still having issues with building it

soramimi commented 6 years ago

https://files.soramimi.jp/qsip/ First, please install Visual C++ 2013 Redistributable Package (vcredist_x86.exe).

By the way, I have not used MinGW compiler. My favorite development environment is MSVC 2013 and Qt 5.7.1 If you want to build by yourself, I recommend that you get MSVC 2013 for Windows Desktop. Of course, Express Edition is fine. It is for free.

hackertron commented 6 years ago

Thanks for the upload . The thing is i built the source on an old system i have in which 32-bit windows was installed with Mingw .

My main environment is VS 2015 with Qt 5.9.0 .

By the way why 32-bit not on 64 ?

soramimi commented 6 years ago

The code that you showed me the other day contains the keyword '__asm'. This means that an inline assembler is used. However, the inline assembler can not be used with the 64-bit compiler.

Compiler and libraries must use 32 bit edition. However, OS can use 64-bit Windows.

hackertron commented 6 years ago

Are you on any forum / social site , would love to connect with you and collaborate on a project :D .

soramimi commented 6 years ago

I use only Japanese social sites. for example, the following sites.

Usually I speak only Japanese. Please send issue when you have something requests.