Skip to content

Static only build fails #28

@rahul-bedarkar

Description

@rahul-bedarkar

Hello,

I'm trying to add LetMeCreate package in Buildroot. While testing it in static only environment, build fails with following errors.

rahul@rahul-Aspire-4736Z:~/upstream/LetMeCreate/build$ cmake .. -DBUILD_SHARED=OFF
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rahul/upstream/LetMeCreate/build

rahul@rahul-Aspire-4736Z:~/upstream/LetMeCreate/build$ make
Scanning dependencies of target letmecreate_core_s
[ 1%] Building C object CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o
In file included from /home/rahul/upstream/LetMeCreate/src/core/uart.c:9:0:
/home/rahul/upstream/LetMeCreate/include/letmecreate/core/common.h:17:37: fatal error: letmecreate/core/export.h: No such file or directory
compilation terminated.
CMakeFiles/letmecreate_core_s.dir/build.make:62: recipe for target 'CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o' failed
make[2]: *** [CMakeFiles/letmecreate_core_s.dir/src/core/uart.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/letmecreate_core_s.dir/all' failed
make[1]: *** [CMakeFiles/letmecreate_core_s.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Thanks,
Rahul

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions