Menu

#57 Problem with QCacheGrind install on Windows

v1.0_(example)
open
nobody
None
5
2015-05-13
2015-05-10
No

I attempted to follow the installation instructions for QCachegrind on Windows. I have QT 5.4 on Windows. I created a folder to install, went to that directory, then ran qmake ../qcg.pro. This successfully created a Makefile. But then when I ran either 'make' ( Gnunwin32 utilities ) or mingw32-make ( mingw make ), I received the error:

cd cgview\ && ( if not exist Makefile C:\Utilities\Qt\5.4\msvc2013_64\bin\qmake
C:\Utilities\kcachegrind\kcachegrind-0.7.4\cgview\cgview.pro -o Makefile ) && ma
ke -f Makefile
make[1]: Entering directory C:/Utilities/kcachegrind/kcg_install/cgview' make -f Makefile.Release make[2]: Entering directoryC:/Utilities/kcachegrind/kcg_install/cgview'
Makefile.Release:124: *** missing separator. Stop.
make[2]: Leaving directory C:/Utilities/kcachegrind/kcg_install/cgview' make[1]: *** [release] Error 2 make[1]: Leaving directoryC:/Utilities/kcachegrind/kcg_install/cgview'
make: *** [sub-cgview-make_first] Error 2

Discussion

  • Josef Weidendorfer

    As Makefile.Release is created by qmake, this seems to be a bug with Qt5.4.
    How does the context around line 124 of Makefile.Release look like?

     
  • Edward Diener

    Edward Diener - 2015-05-13

    I solved this by getting the QT mingw kit under Windows and then I was able to build QCacheGrind with it. I think my problem was that I was using the qmake distributed with the MSVC 2013 kit and therefore I needed to use nmake instead of make.

     

Log in to post a comment.