Comments (7)
Are you building with some special CMake/compiler options? Which version of GammaRay?
Our CI doesn't cover Qt 5.4/MSVC2013 yet, so this configuration could indeed be an issue.
from gammaray.
No, I did not change any of the CMake options or anything. And I downloaded whatever the latest version is. However, I dint know Qt 5.4/MSVC2013 is not covered. Could you please guide me, for Windows platform, what other Qt version(s) and compilers are supported?
from gammaray.
I face a similar linking issue while building the latest version. I use Qt 5.5 with VS2013
[ 33%] Built target gammaray_launcher_ui_internal_automoc
[ 36%] Built target gammaray_launcher_ui_internal
[ 36%] Automatic moc for target gammaray-launcher
[ 36%] Built target gammaray-launcher_automoc
[ 36%] Linking CXX executable ..\..\bin\gammaray-launcher.exe qtmain.lib(qtmain_win.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in main.cpp.obj
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj)
msvcrt.lib(MSVCR120.dll) : error LNK2005: _memmove already defined in LIBCMT.lib (memmove.obj)
msvcrt.lib(MSVCR120.dll) : error LNK2005: __hypot already defined in LIBCMT.lib(hypot.obj)
msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xbad_alloc(void)" (?_Xbad_alloc@std@@YAXXZ) already defined in libcpmt.lib(xthrow.obj)
msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xlength_error(char const *)" (_Xlength_error@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj)
msvcprt.lib(MSVCP120.dll) : error LNK2005: "void __cdecl std::_Xout_of_range(char const *)" (_Xout_of_range@std@@YAXPBD@Z) already defined in libcpmt.lib(xthrow.obj)
msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const * __cdecl std::_Syserror_map(int)" (_Syserror_map@std@@YAPBDH@Z) already defined in libcpmt.lib(syserror.obj)
msvcprt.lib(MSVCP120.dll) : error LNK2005: "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) already defined in libcpmt.lib(syserror.obj)
LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
..\..\bin\gammaray-launcher.exe : fatal error LNK1169: one or more multiply defined symbols found
LINK failed. with 1169
NMAKE : fatal error U1077: '"C:\Program Files (x86)\CMake\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Strangely enough when I generate VS2013 project files with CMake, there are no compilation errors.
from gammaray.
We have gammaray master building ok with msvc2013 64 bit with Qt5.5.0
Are you using code from the master branch or from a zipball or?
also, are you using Qt5.5 Enterprise or hand-built Qt5.5 or from the opensource installer or?
ie. we need more info to try and find the combination that doesn't work for you.
from gammaray.
The code is from the master branch (f6ef76fd7fec035111c205cd9c3df90c84b2acd8
). The Qt was installed using the open source installer.
FYI I switched to the v2.3.0 tag (921e1d0899ffbd40725a5d725fd7fef3b1817831
) and I managed to build GammaRay without issues
from gammaray.
I had the same problem with version 2.3.0, downloaded from releases page. Using Qt 5.5.0 from opensource offline installer Windows7 64bits.
I downloaded the master branch and build without issues.
from gammaray.
Assuming this got fixed in the meanwhile
from gammaray.
Related Issues (20)
- Widget Inspector not updating in real time HOT 1
- Can't attach to PySide2 Application importing QtCore HOT 8
- [Feature request] Improve the Connection Error dialog HOT 1
- Help Needed: Building GammaRay from Source on UBUNTU HOT 5
- GammaRay: Failed to load: ..\gammaray\plugins\gammaray\3.0\qt6_5-GNU-x86_64d\gammaray_probed.dll HOT 3
- GammaRay exits after 1 minute HOT 3
- Building against custom Qt6 build fails if `qmake` is missing HOT 1
- Qt widgets tab inspector does not exist HOT 1
- This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
- Build failure in the absence of QtWidget HOT 20
- Build Failed : no such file or directory direct.h HOT 4
- Qt platform plugin could be initialized HOT 1
- Error while building GammaRay for Qt 6.6.2 on windows HOT 4
- QT 6.7 Target not responding HOT 2
- GammayRay exit on attach to process HOT 2
- Please make sure your Qt5 installation contains private headers. HOT 1
- QuickScenes view is once again unusable with QQuickWidget apps HOT 2
- Qt 6.7 supported? HOT 3
- connectiontest-preload-filter and connectiontest-style-filter fail from time to time
- error when i cloned gammaray from github HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gammaray.