As my title i tried to build on MSVS 2013 on win8 the latest version of wireshark taken from git repository. i followed wireshark guide until cmake but when i try to build on visual studio a 32-bit build version i found 3 errors. I tried to compile because i'd like to create a new dissector plugin in railway environment. i had lots of difficult and errors trying to build a 64 bit versione so i'd like to make a 32 bit version. List of 3 errors:
Can someone help me? Thanks in advance asked 31 May ‘16, 06:45 kenhero edited 31 May ‘16, 07:12 grahamb ♦ |
One Answer:
The listing of your errors is a bit odd, it's easier to diagnose issues if they are copied 'as-is'. Redirect the msbuild output to a file ( I can't work out what the first error is, the actual error is missing. The second & third errors are probably a result of the first, in that the build isn't producing a qtui.lib. Have you modified the code at all? If so, revert all changes and just build the standard code first. answered 31 May '16, 07:18 grahamb ♦ showing 5 of 17 show 12 more comments |
Hi,these are MSVS errors.
http://postimg.org/image/768utcg3f/
Your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information.
So you're not following the Dev. Guide. Can you try building from the command line using msbuild as detailed in the Dev. Guide and reporting those errors back to us?
http://s33.postimg.org/f1uzhg6bj/msbuilderror.png
if u need i can translate in english
You still seem to be not following the Dev. Guide. Please re-read Section 2.2.10 on setting up the command prompt. You need to
cd
to the build directory,C:\development\wsbuild32
before running msbuild. If you follow the Dev. Guide exactly as written it will work.There also seems to be an issue with the build configuration, the error is indicating that RelWithDebInfo|Win64 isn't a valid configuration, yet you don't seem to be passing that config option. Did you originally try to build a Win64 version in that build directory? If so, delete the build directory and start again from step 2.2.10.
ok,the error was a wrong VS Command prompt. i try to build a 64bit . After found the right command prompt i created a separated folder "wsbuild64" and build on it. Actually i only have this error about Qt5Widgets.lib
http://s33.postimg.org/qz0yveokv/Build_Error.png
Your "answer" has been converted to a comment as that's how this site works. Please read the FAQ for more information.
You have tried to build an x64 version of Wireshark using an x86 version of Qt. See the Developer's Guide instructions for installing Qt.
no,i had a 32 and 64bit QT version. Also: http://s33.postimg.org/h20nkio33/QTissue.png
Again, your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information.
As you seem unable to post the full build info, only fragmentary screenshots it's a bit difficult to help.
Please re-run the CMake generation step, redirecting the output to a text file and then post the contents of that text file as a comment, or by editing your original question and adding it:
If you need to temporarily post a comment as an answer, e.g. for length or to use the editor buttons, please then convert the answer to a comment under the appropriate question.
i think the error is in mkspecs/win32-msvc2013
The CMake generation all looks good, what do you get when you build, again redirect output to a text file:
What does the following command display:
ps:in another pc with only 64bit QT framework it works with 0 error and 83 warning
That show that it is a 64 bit version of Qt, built using VS2013.
I’m not sure what to think of now, I’ll have to look at your msbuild output a bit more.