Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot compile when using DCMAKE_BUILD_TYPE=DEBUG in centos container #3683

Closed
HarrisChu opened this issue Jan 11, 2022 · 2 comments
Closed
Labels
type/bug Type: something is unexpected

Comments

@HarrisChu
Copy link
Contributor

docker run -it --rm vesoft/nebula-dev:centos7

git clone https://github.com/vesoft-inc/nebula
cd nebula/

cmake \
  -DCMAKE_CXX_COMPILER=$TOOLSET_GCC_DIR/bin/g++ \
  -DCMAKE_C_COMPILER=$TOOLSET_GCC_DIR/bin/gcc \
  -DCMAKE_BUILD_TYPE=DEBUG \
  -DENABLE_TESTING=on \
  -GNinja \
  -B build

cmake --build build/ -j 8

errors as below

image

@HarrisChu HarrisChu added the type/bug Type: something is unexpected label Jan 11, 2022
@HarrisChu HarrisChu changed the title cannot use DCMAKE_BUILD_TYPE=Debug in centos container cannot compile when using DCMAKE_BUILD_TYPE=Debug in centos container Jan 11, 2022
@HarrisChu
Copy link
Contributor Author

could compile if using DCMAKE_BUILD_TYPE=Release

@HarrisChu HarrisChu changed the title cannot compile when using DCMAKE_BUILD_TYPE=Debug in centos container cannot compile when using DCMAKE_BUILD_TYPE=DEBUG in centos container Jan 11, 2022
@HarrisChu
Copy link
Contributor Author

ignore, should use Debug not DEBUG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

1 participant