TFLITE does not compile with CMake in Visual Studio 2019 #62228
Labels
comp:lite
TF Lite related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
subtype:windows
Windows Build/Installation Issues
type:bug
Bug
type:build/install
Build and install issues
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf-master
Custom code
Yes
OS platform and distribution
Windows 7 SP1 x64
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
NVIDIA GeForce 1660 SUPER 6 GB
Current behavior?
Cannot find #include <sys/mman.h> in "tensorflow/lite/kernels/internal/optimized/fully_connected_4bit.h"
Expected successful build.
P.S. There's TFLITE_MMAP_DISABLED condition in this file, but I didn't find it in CMakeLists.txt or anywhere else (except Bazel config files that are not used while building with CMake).
Standalone code to reproduce the issue
1. Open latest VS 2019 on 64-bit Windows 7 (maybe newer versions too). 2. Download tensorflow-master as zip, unpack. 3. Open tensoflow/lite as CMake project. 4. Right click on root CMakeLists.txt and choose "Build".
Relevant log output
Cannot find #include <sys/mman.h> in "tensorflow/lite/kernels/internal/optimized/fully_connected_4bit.h"
The text was updated successfully, but these errors were encountered: