Thanks to visit codestin.com
Credit goes to github.com

Skip to content

(Linux) Compile Error - make: *** [Makefile:91: all] Error 2 #40

@JulioAzcarate

Description

@JulioAzcarate

Hi all,

I'm trying to compile stem3 in Linux (manjaro). cmake looks to run pretty well, but I have a error by running make:

/home/USER/QSTEM-master/stem3/stem3.cpp:2762:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

2762 | while (readparam("sequence: ",buf,0)) {
| ^~~~~~~~~~~~
make[2]: *** [stem3/CMakeFiles/stem3.dir/build.make:90: stem3/CMakeFiles/stem3.dir/stem3.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:223: stem3/CMakeFiles/stem3.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Any advice to solve it?
Thanks in advance.

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