You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
Hello, I was trying to build this on windows and encountered these issues:
Building on windows via python2 leads to the following error:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:20 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:20 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/Users/agrebeny/Desktop/itt/IntelSEAPI/build_win/64/CMakeFiles/CMakeOutput.log".
See also "C:/Users/agrebeny/Desktop/itt/IntelSEAPI/build_win/64/CMakeFiles/CMakeError.log".
The system cannot find the file specified
CMake Error: Generator: execution of make failed. Make command was: "MSBuild.exe" "ALL_BUILD.vcxproj" "/p:Configuration=Release" "/p:VisualStudioVersion=12.0"
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:20 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:20 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "C:/Users/agrebeny/Desktop/itt/IntelSEAPI/build_win/32/CMakeFiles/CMakeOutput.log".
See also "C:/Users/agrebeny/Desktop/itt/IntelSEAPI/build_win/32/CMakeFiles/CMakeError.log".
The system cannot find the file specified
CMake Error: Generator: execution of make failed. Make command was: "MSBuild.exe" "ALL_BUILD.vcxproj" "/p:Configuration=Release" "/p:VisualStudioVersion=12.0"
('target_bits', ['64', '32'])
('Found JDK:', u'C:\Program Files\Java\jdk1.7.0_40')
C:\Users\agrebeny\Desktop\itt\IntelSEAPI
('work_folder: ', 'C:\Users\agrebeny\Desktop\itt\IntelSEAPI\build_win\64')
('\n>>', u'cmake "C:\Users\agrebeny\Desktop\itt\IntelSEAPI" -G"Visual Studio 12 Win64" -DJDK="C:\Program Files\Java\jdk1.7.0_40" ')
('\n>>', 'cmake --build . --config Release --target ALL_BUILD')
('work_folder: ', 'C:\Users\agrebeny\Desktop\itt\IntelSEAPI\build_win\32')
('\n>>', u'cmake "C:\Users\agrebeny\Desktop\itt\IntelSEAPI" -G"Visual Studio 12" -DFORCE_32=ON -DJDK="C:\Program Files\Java\jdk1.7.0_40" ')
('\n>>', 'cmake --build . --config Release --target ALL_BUILD')
However, doing cmake . manually in the root directory and then building via the Visual Studio works fine.
For the record, VS2012 is installed.
Building with gcc 6.3 under cygwin leads to another issue:
[ 30%] Building CXX object CMakeFiles/IntelSEAPI.dir/main.cpp.o
/cygdrive/c/Users/agrebeny/Desktop/itt/IntelSEAPI/main.cpp: In function ‘int GlobalInit()’:
/cygdrive/c/Users/agrebeny/Desktop/itt/IntelSEAPI/main.cpp:109:54: error: ‘strdup’ was not declared in this scope
setenv(_strdup(INTEL_LIBITTNOTIFY "=" LIB_ITT));
^
/cygdrive/c/Users/agrebeny/Desktop/itt/IntelSEAPI/main.cpp:109:55: error: ‘putenv’ was not declared in this scope
setenv(_strdup(INTEL_LIBITTNOTIFY "=" LIB_ITT));
^
make[2]: *** [CMakeFiles/IntelSEAPI.dir/build.make:63: CMakeFiles/IntelSEAPI.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/IntelSEAPI.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello, I was trying to build this on windows and encountered these issues:
However, doing
cmake .
manually in the root directory and then building via the Visual Studio works fine.For the record, VS2012 is installed.
Thanks in advance!
The text was updated successfully, but these errors were encountered: