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

Compilation error in dependency fmtlib (error: expected unqualified-id before numeric constant) #1

Closed
ilykos opened this issue Mar 16, 2019 · 1 comment

Comments

@ilykos
Copy link

ilykos commented Mar 16, 2019

During 'make' step inside sailfish 0.10 an error occurs breaking the installation script.

Ubuntu 18.04 / FuSeq 1.1.0

/home/<user>/Tools/fuseq/FuSeq-1.1.0/sailfish-0.10.0/include/spdlog/details/format.h:2056:24: error: expected unqualified-id before numeric constant
         const unsigned CHAR_WIDTH = 1;
                        ^~~~~~~~~~

The fix of spdlog is described here:
fmtlib/fmt@abbefd7

Bundling a more recent version of fmtlib/spdlog/sailfish will probably solve the problem.

@ilykos ilykos changed the title Compilation error in dependency spdlog (error: expected unqualified-id before numeric constant) Compilation error in dependency fmtlib (error: expected unqualified-id before numeric constant) Mar 16, 2019
@nghiavtr
Copy link
Owner

Dear ilykos,

Many thanks for your report and solution about the error of FuSeq during installation from source using Ubuntu 18.04.

Since I was successful with other versions of Linux (e.g., Ubuntu 16.04 and Centos 3.10 ), so I think it is likely that the error wass due to the Linux OS version rather than the Sailfish's codes.

For using the binary version of FuSeq in Ubuntu 18, as my experiment, it is still ok; but similarly to Ubuntu 16, it still needs to remove librt.so.1 from folder "linux/lib".

Best,
Nghia

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

No branches or pull requests

2 participants