Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build on my windows system #1

Open
hackertron opened this issue Oct 11, 2017 · 14 comments
Open

Unable to build on my windows system #1

hackertron opened this issue Oct 11, 2017 · 14 comments

Comments

@hackertron
Copy link

hackertron commented Oct 11, 2017

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
Copy link
Owner

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.

@hackertron
Copy link
Author

hackertron commented Oct 12, 2017

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
Copy link
Owner

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

@hackertron
Copy link
Author

er1
er2

@soramimi
Copy link
Owner

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
Copy link
Author

Okay i will try it 👍 . Thanks !! :)

@hackertron
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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

@soramimi
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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

@soramimi
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants