-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
Did you pull in all submodules ? |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying to my help, do I need any sub-modules for the CPU version of windows? I did not add any sub-modules, just run the official bat script in the source folder. |
Beta Was this translation helpful? Give feedback.
-
I think that you are missing dependencies and yes you need dependencies even if building CPU version for Windows. Try running: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
remove the build folder after 'git submodule update --init --recursive' and rebuild |
Beta Was this translation helpful? Give feedback.
-
You didn't install git. Please get it from: https://git-scm.com/download/win Then run the build command as usual. |
Beta Was this translation helpful? Give feedback.
Thanks, I can continue to build after using "git submodule update --init --recursive", but encountered a new failure (about pthread)::
Check CMakeError.log:
`Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: G:/SourceCode/onnxruntime-1.6.0/onnxruntime-1.6.0/build/Windows/RelWithDebInfo/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_e1e6d.vcxproj /p:Confi…