Build failed on FreeBSD missing file
Hello, i tried build with cmake but have problem with your source code because missing file parser/tokenizer.cpp
mkdir build
cd build
cmake ..
cmake ..
-- The C compiler identification is Clang 6.0.1
-- The CXX compiler identification is Clang 6.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Configuration results
---------------------
C compiler : /usr/bin/cc
C++ compiler : /usr/bin/c++
Build type: Release
C compiler flags : -O3 -DNDEBUG
C++ compiler flags : -Wall -Wextra -Wno-unused-parameter -O3 -march=native -funroll-loops -DNDEBUG
Installation prefix: /usr/local
WITH_LFORTRAN_ASSERT: no
LFORTRAN_STATIC_BIN: no
WITH_LLVM: no
WITH_JSON: no
WITH_PYTHON: no
-- Configuring done
CMake Error at src/lfortran/CMakeLists.txt:23 (add_library):
Cannot find source file:
parser/tokenizer.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at src/lfortran/CMakeLists.txt:23 (add_library):
No SOURCES given to target: lfortran_lib
CMake Generate step failed. Build files cannot be regenerated correctly.
Edited by martinfx