-
Notifications
You must be signed in to change notification settings - Fork 5
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
Install Error #7
Comments
what version of gcc are you using? |
I tried adding inttypes.h to define uint16_t, but these should have been available through your stdint.h include. You can pull a new version and try building again. |
Hi mchaisso, |
Hi, I installed vamos successfully use conda. |
Hi!
When I tried to install vamos on linux platform, the following error occurred after I excute make:
In file included from vntr.h:12,
from main.cpp:6:
read.h:26:9: error: ‘uint16_t’ does not name a type
26 | uint16_t l_qname;
| ^~~~~~~~
read.h:1:1: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’?
+++ |+#include
1 | #ifndef READ_H_
read.h:28:9: error: ‘uint32_t’ does not name a type
28 | uint32_t len;
| ^~~~~~~~
read.h:28:9: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
read.h:34:9: error: ‘uint16_t’ does not name a type
34 | uint16_t flag=0;
| ^~~~~~~~
read.h:34:9: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’?
read.h:44:41: error: ‘uint32_t’ has not been declared
44 | READ (char * Qname, char * Chr, uint32_t Len) : qname(Qname), chr(Chr), len(Len) { seq = NULL;};
| ^~~~~~~~
read.h: In constructor ‘READ::READ()’:
read.h:38:17: error: ‘l_qname’ was not declared in this scope; did you mean ‘qname’?
38 | l_qname = 0;
| ^~~~~~~
| qname
read.h: In constructor ‘READ::READ(char*, char*, int)’:
read.h:44:81: error: class ‘READ’ does not have any field named ‘len’
44 | READ (char * Qname, char * Chr, uint32_t Len) : qname(Qname), chr(Chr), len(Len) { seq = NULL;};
| ^~~
read.h: In member function ‘bool less_than_key::operator()(READ*, READ*)’:
read.h:57:24: error: ‘class READ’ has no member named ‘len’
57 | return (read1->len < read2->len);
| ^~~
read.h:57:37: error: ‘class READ’ has no member named ‘len’
57 | return (read1->len < read2->len);
| ^~~
vntr.h: At global scope:
vntr.h:95:9: error: ‘uint32_t’ does not name a type
95 | uint32_t ref_start;
| ^~~~~~~~
vntr.h:14:1: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
13 | #include "option.h"
+++ |+#include
14 |
vntr.h:96:9: error: ‘uint32_t’ does not name a type
96 | uint32_t ref_end;
| ^~~~~~~~
vntr.h:96:9: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’?
vntr.h:103:23: error: ‘uint8_t’ was not declared in this scope
103 | vector<vector<uint8_t>> annos; // the motif annotation for each read sequence
| ^~~~~~~
vntr.h:103:23: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’?
vntr.h:103:23: error: template argument 1 is invalid
vntr.h:103:23: error: template argument 2 is invalid
vntr.h:103:30: error: template argument 1 is invalid
103 | vector<vector<uint8_t>> annos; // the motif annotation for each read sequence
| ^~
vntr.h:103:30: error: template argument 2 is invalid
vntr.h:118:23: error: ‘uint8_t’ was not declared in this scope
118 | vector<vector<uint8_t>> consensus;
| ^~~~~~~
vntr.h:118:23: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’?
vntr.h:118:23: error: template argument 1 is invalid
vntr.h:118:23: error: template argument 2 is invalid
vntr.h:118:30: error: template argument 1 is invalid
118 | vector<vector<uint8_t>> consensus;
| ^~
vntr.h:118:30: error: template argument 2 is invalid
vntr.h:129:27: error: ‘uint32_t’ has not been declared
129 | VNTR (string Chr, uint32_t Start, uint32_t End, uint32_t Len) : chr(Chr), ref_start(Start), ref_end(End), len(Len)
| ^~~~~~~~
vntr.h:129:43: error: ‘uint32_t’ has not been declared
129 | VNTR (string Chr, uint32_t Start, uint32_t End, uint32_t Len) : chr(Chr), ref_start(Start), ref_end(End), len(Len)
| ^~~~~~~~
vntr.h:129:57: error: ‘uint32_t’ has not been declared
129 | VNTR (string Chr, uint32_t Start, uint32_t End, uint32_t Len) : chr(Chr), ref_start(Start), ref_end(End), len(Len)
| ^~~~~~~~
vntr.h: In constructor ‘VNTR::VNTR(std::string, int, int, int)’:
vntr.h:129:83: error: class ‘VNTR’ does not have any field named ‘ref_start’
129 | VNTR (string Chr, uint32_t Start, uint32_t End, uint32_t Len) : chr(Chr), ref_start(Start), ref_end(End), len(Len)
| ^~~~~~~~~
vntr.h:129:101: error: class ‘VNTR’ does not have any field named ‘ref_end’
129 | VNTR (string Chr, uint32_t Start, uint32_t End, uint32_t Len) : chr(Chr), ref_start(Start), ref_end(End), len(Len)
| ^~~~~~~
vntr.h:131:44: error: ‘ref_start’ was not declared in this scope; did you mean ‘va_start’?
131 | string s = ":" + to_string(ref_start);
| ^~~~~~~~~
| va_start
vntr.h:132:44: error: ‘ref_end’ was not declared in this scope
132 | string e = "-" + to_string(ref_end);
| ^~~~~~~
vntr.h: At global scope:
vntr.h:189:30: error: ‘uint8_t’ was not declared in this scope
189 | void outputConsensus (vector<uint8_t> &consensus);
| ^~~~~~~
vntr.h:189:30: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’?
vntr.h:189:37: error: template argument 1 is invalid
189 | void outputConsensus (vector<uint8_t> &consensus);
| ^
vntr.h:189:37: error: template argument 2 is invalid
main.cpp: In function ‘int main(int, char**)’:
main.cpp:538:51: error: ‘class READ’ has no member named ‘l_qname’; did you mean ‘qname’?
538 | cout.write(read->qname, read->l_qname);
| ^~~~~~~
| qname
main.cpp:540:49: error: ‘class READ’ has no member named ‘len’
540 | cout.write(read->seq, read->len);
| ^~~
make: *** [Makefile:37: main.o] Error 1
Do you have any idea?
I changed to version 1.3.8, and installed libdeflate but new error occured:
anaconda2/envs/vamos/lib/libhts.so: undefined reference to `libdeflate_gzip_compress'
The text was updated successfully, but these errors were encountered: