- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm attempting to build the Cardiac_demo project on GitHub for Windows 10 Pro, to use as a sample for VTune profiling. The GitHub project is owned by Intel's Alexey Malkhanov.
I installed the prerequisites (Intel MPI Library, Intel C++ Compiler, Qt) but am getting hung up on the build_qt.sh step. If I run build_qt.sh from a cmd shell, then another shell window briefly pops up but disappears before I can read the text. If I run the bash shell that comes with Git, and then run "sh build_qt.sh" I get the following output:
build_qt.sh: line 17: /usr/bin/qmake-qt4: No such file or directory
build_qt.sh: line 18: make: command not found
build_qt.sh: line 20: icc: command not found
Error building librcm.so
It appears I don't have the development environment configured correctly. I installed the prerequisites using default installation settings, but did not set up any environment variables, is that the missing step? Is there a guide somewhere with more information on what I'm missing?
Thanks!
P.S. I also submitted this as a GitHub project issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This forum is only focused on analyzers-related issues.
From the log, it looks like the missing make and icc caused the build to fail. Did you check whether the make and ICC are installed in your environment or specify the correct path?
Currently, Intel oneAPI toolkits only provide Intel oneAPI DPC++/C++ compiler below (icx); ICC was discontinued.
or download Intel DPC++/C++ compiler as a part of Intel oneAPI toolkits:
You need to change the compiler from icc to icx in the build_qt.sh below:
icc ../rcm.cpp -I.. -shared -fPIC -o librcm.so
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, that helped a bit. Getting the Cardiac_demo project to build under Windows seems to be a bigger problem, due to the dependency on Qt and its qmake-based build process. I will look elsewhere for more information on how to do this, thanks again for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm back a few days later to note that my question about this demo is at least indirectly an "analyzer-related issue", since the Cardiac_demo is linked from the Tutorials and Samples page for VTune. On that page (which I hadn't seen, I was directed to the demo directly) it does say that the sample is intended for Linux, and not Windows. It would be fantastic if the demo could be moved from Alexey's repository to an official Intel repository, and (ideally) set up to work on Windows as well or (at minimum) clearly documented as not being a suitable Windows demo.
For now I'm moving on to other samples and demos, so not expecting any immediate fix. Thanks!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page