qSIP icon indicating copy to clipboard operation
qSIP copied to clipboard

Unable to build on my windows system

Open hackertron opened this issue 8 years ago • 14 comments

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'

hackertron avatar Oct 11 '17 19:10 hackertron

There are 9 project files.

  • baresip.pro
  • g722.pro
  • gsm.pro
  • portaudio.pro
  • qSIP.pro
  • re.pro
  • rem.pro
  • speex.pro
  • webrtc.pro

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

Check that library files was created.

  • _build\baresipd.lib
  • _build\g722d.lib
  • _build\gsmd.lib
  • _build\portaudiod.lib
  • _build\red.lib
  • _build\remd.lib
  • _build\speexd.lib
  • _build\webrtcd.lib

Run "Close all Projects and Editors"

Finally, Open qSIP.pro and build it.

soramimi avatar Oct 12 '17 02:10 soramimi

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

hackertron avatar Oct 12 '17 14:10 hackertron

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

soramimi avatar Oct 12 '17 14:10 soramimi

er1 er2

hackertron avatar Oct 12 '17 15:10 hackertron

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.

soramimi avatar Oct 12 '17 15:10 soramimi

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

hackertron avatar Oct 12 '17 16:10 hackertron

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

hackertron avatar Oct 13 '17 14:10 hackertron

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

soramimi avatar Oct 13 '17 15:10 soramimi

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

hackertron avatar Oct 17 '17 07:10 hackertron

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.

soramimi avatar Oct 17 '17 08:10 soramimi

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 ?

hackertron avatar Oct 17 '17 13:10 hackertron

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.

soramimi avatar Oct 17 '17 14:10 soramimi

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

hackertron avatar Oct 17 '17 16:10 hackertron

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

  • Qt users group JP
  • stackoverflow JP
  • Qiita
  • Twitter

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

soramimi avatar Oct 17 '17 20:10 soramimi