-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Consider the guide of
Building SC from the command prompt:
- cd sc
- mkdir build
- cd build
- cmake ..
- make
- make install # optional
E:\stepcode-develop\build>cmake -G "MinGW Makefiles" ..
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Win10/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Win10/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:46 (cmake_policy):
The OLD behavior for policy CMP0077 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for stdarg.h
-- Looking for stdarg.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sysent.h
-- Looking for sysent.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for process.h
-- Looking for process.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for abs
-- Looking for abs - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Assuming compiler is capable of unity build. (SC_UNITY_BUILD=TRUE)
-- Override by setting SC_UNITY_BUILD; TRUE will result in faster build times but *huge* translation units and higher memory use in compilation.
-- Compiling schema scanner...
-- Schema scanner built. Running it...
-- Will generate 412 C++ files for sdai_ISO15926.
-- Will generate 602 C++ files for sdai_ap203.
-- Will generate 2354 C++ files for sdai_ap203e2.
-- Will generate 5312 C++ files for sdai_ap209.
-- Will generate 3392 C++ files for sdai_ap210e2.
-- Will generate 4894 C++ files for sdai_ap210e3.
-- Will generate 2124 C++ files for sdai_ap214e3.
-- Will generate 820 C++ files for sdai_ap219.
-- Will generate 774 C++ files for sdai_ap227.
-- Will generate 1402 C++ files for sdai_ap235.
-- Will generate 1098 C++ files for sdai_ap238.
-- Will generate 1102 C++ files for sdai_ap239.
-- Will generate 1136 C++ files for sdai_ap240.
-- Will generate 4012 C++ files for sdai_ap242.
-- Will generate 1736 C++ files for sdai_ifc2x3.
-- Will generate 2072 C++ files for sdai_IFC4.
-- Will generate 520 C++ files for sdai_pdm.
-- ** Note: CMake variable SC_BUILD_SCHEMAS was not set - defaults to building ALL schemas
-- .. Don't worry about any messages above about missing headers or failed tests, as long as
-- you see 'Configuring done' below. Headers and features vary by compiler.
-- .. Generating step can take a while if you are building several schemas.
-- Configuring done
-- Generating done
-- Build files have been written to: E:/stepcode-develop/build
E:\stepcode-develop\build>make
[ 0%] Building C object src/express/generated/CMakeFiles/objlib_expparse_c.dir/expparse.c.obj
expparse.y:35:16: warning: 'print_objects_while_running' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
expparse.y:62:9: warning: 'yylineno' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
[ 0%] Built target objlib_expparse_c
...
[ 7%] Built target objlib_factory_c
[ 7%] Linking CXX shared library ..\..\bin\libexpress.dll
CMakeFiles\express.dir/objects.a(type.c.obj):type.c:(.text+0x29): undefined reference to `__imp_DICTlookup'
CMakeFiles\express.dir/objects.a(type.c.obj):type.c:(.text+0x3d): undefined reference to `__imp_DICT_type'
CMakeFiles\express.dir/objects.a(type.c.obj):type.c:(.text+0x7b): undefined reference to `__imp_DICTdefine'
CMakeFiles\express.dir/objects.a(type.c.obj):type.c:(.text+0xae): undefined reference to `__imp_ERRORreport_with_symbol'
CMakeFiles\express.dir/objects.a(type.c.obj):type.c:(.text+0xcf): undefined reference to `__imp_TYPEcreate_nostab'
CMakeFiles\express.dir/objects.a(expr.c.obj):expr.c:(.text+0x39): undefined reference to `__imp_Type_Real'
CMakeFiles\express.dir/objects.a(expr.c.obj):expr.c:(.text+0x46): undefined reference to `__imp_EXPcreate_simple'
The full compile log can be found here.
step-compile.txt
Metadata
Metadata
Assignees
Labels
No labels