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

undefined reference to `google::kLogSiteUninitialized' with cmake #543

Closed
foroughmajidi opened this issue Apr 27, 2020 · 3 comments
Closed
Labels

Comments

@foroughmajidi
Copy link

foroughmajidi commented Apr 27, 2020

I try to build glog with cmake in cygwin64 as following:
1-cmake . -DBUILD_SHARED_LIBS=on
2-make -j
the result of above instruction:
Capture27

3-make install

Capture28

Whould you please tell me how to solve it?

@sergiud
Copy link
Collaborator

sergiud commented Mar 30, 2021

This variable was removed in 4a82a85.

@sergiud sergiud closed this as completed Mar 30, 2021
@rancheng
Copy link

try uninstall the libgoogle-glog-dev from your system and build v0.5.0-rc2 from source to install the older version:

git clone https://github.com/google/glog.git
cd glog/
git checkout v0.5.0-rc2
mkdir build && cd build
cmake ..
sudo make -j12 install

@Azx030512
Copy link

just type conda deactivate can solve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants