leenderthayen / BSG

Beta Spectrum Generator
http://bsg.readthedocs.io/en/latest/
MIT License
13 stars 8 forks source link

error: ‘basic_logger_st’ is not a member of ‘spdlog’ #1

Closed DinkoAtanasov closed 5 years ago

DinkoAtanasov commented 5 years ago

Using the up-to date spdlog from github gives errors when compiling.

Checked with the source codes and it seems that the two functions "basic_logger_st" and "stdout_color_st" are under the folder "spdlog/sinks/". This is maybe a workaround but I simply included those in the "NuclearStructureManager.h" and the compilation was successful.

leenderthayen commented 5 years ago

Thanks for the notice! I tried reinstalling on a fresh machine a week ago but using the packaged version in ubuntu 18.04 which worked fine.

I'll update the code to reflect the new changes.

DWilliamNaim commented 5 years ago

Hey there. Have you updated the code?

I am still having the same problem.

Cheers

DWilliamNaim commented 5 years ago

Just to note I added :

include "spdlog/sinks/stdout_color_sinks.h"

include "spdlog/sinks/basic_file_sink.h"

To the NuclearStructureManager.h and it seemed to work as well.

leenderthayen commented 5 years ago

This is fixed in the latest version. Closing