- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
I am trying to build onnxruntime (https://github.com/microsoft/onnxruntime) with Intel C++ compiler. I am getting an error (image attached) related to “static assertion” . I have also attached the source code causing it. I have found a stack overflow post which says this is bug for Intel compiler because MSVC can handle this. But the post is 3 years old. So I am expecting that there might be something I am missing. I am using “parallel studio xe 2019.4.064”. kindly look into this and let me know.
Stack overflow post - https://stackoverflow.com/questions/35764069/static-assert-and-intel-c-compiler
https://software.intel.com/en-us/forums/intel-c-compiler/topic/610395
Thanks,
Joy
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It may not be the same issue that posted 3 years ago. What VS are you using? Can you create a pre-processed file for investigation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using VS 15 2017. Steps to reproduce the issue :-
git clone https://github.com/microsoft/onnxruntime.git
cd onnxruntime
git submodule update –-init -–recursive
mkdir build
cd build
cmake -A x64 -G "Visual Studio 15 2017" -T "Intel C++ Compiler 19.0" ..\cmake
msbuild "onnxruntime.sln" /t:Rebuild /p:Configuration=Release /m
I think some template type is considered as POD while using MSVC but not ICC.

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