You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make
Makefile:37: warning: overriding commands for target remove' Makefile:34: warning: ignoring old commands for target remove'
When I change this, remove is still not compiled.
Output:
remove.cpp: In function ‘int main(int, char**)’:
remove.cpp:215:9: error: ‘gzFile’ was not declared in this scope
gzFile fp;
^
remove.cpp:215:16: error: expected ‘;’ before ‘fp’
gzFile fp;
^
remove.cpp:216:9: error: ‘kseq_t’ was not declared in this scope
kseq_t *seq;
^
remove.cpp:216:17: error: ‘seq’ was not declared in this scope
kseq_t *seq;
^
remove.cpp:217:17: error: ‘buf’ was not declared in this scope
kseq_t *buf = 0;
I can remove the offending lines and remove then compiles, but I doubt this is a good fix. However as I only want to use the extract function it is ok for now.
Thanks
The text was updated successfully, but these errors were encountered:
I'm facing a couple of problems that seem to be related to aforementioned problems. I think it is also related to other compilation errors mentioned in other threads. I do not think it is a gcc version problem, since I'm running gcc-8 without problems for other software.
So, the makefile specifies a recipe for "remove" twice. This causes "make" to err and installation to fail. I presumed that the second "remove" should actually be called "counter". Could that be right? Now, if I change this in the makefile, I still get trouble, now referring to the remove.cpp code, with the errors mentioned above.
Also, if I just try to run ./cookiecutter from within Cookiecutter/src, it errors on remove.cpp
File "./cookiecutter", line 112 print i ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(print i)?
Are these all bugs, or are we doing something wrong?
Thanks for your time guys!
Hi, when compiling from the clone I noticed a couple of things:
remove: remove.cpp $(OBJ)
remove: counter.cpp $(OBJ)
$(CXX) $ (CXXFLAGS) -o counter counter.cpp $(OBJ)
Output:
remove.cpp: In function ‘int main(int, char**)’:
remove.cpp:215:9: error: ‘gzFile’ was not declared in this scope
gzFile fp;
^
remove.cpp:215:16: error: expected ‘;’ before ‘fp’
gzFile fp;
^
remove.cpp:216:9: error: ‘kseq_t’ was not declared in this scope
kseq_t *seq;
^
remove.cpp:216:17: error: ‘seq’ was not declared in this scope
kseq_t *seq;
^
remove.cpp:217:17: error: ‘buf’ was not declared in this scope
kseq_t *buf = 0;
I can remove the offending lines and remove then compiles, but I doubt this is a good fix. However as I only want to use the extract function it is ok for now.
Thanks
The text was updated successfully, but these errors were encountered: