can't compile Hello DNA!

68 views
Skip to first unread message

W Langdon

unread,
Mar 15, 2015, 10:08:54 AM3/15/15
to nvbio...@googlegroups.com
Has anyone got the examples on GIThub nvBIO to compile (let alone work)
So far I have got no where with:
http://nvlabs.github.io/nvbio/host_device_page.html and
http://nvlabs.github.io/nvbio/hello_dna_page.html

I expect I missing something obvious but all I get is acres of
error messages

Bill

Nuno Subtil

unread,
Mar 16, 2015, 1:27:22 AM3/16/15
to W Langdon, nvbio...@googlegroups.com
Would you mind posting the build log? I realize that these error messages are not always terribly helpful, but they’re all we have :)

Nuno

--
You received this message because you are subscribed to the Google Groups "nvbio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nvbio-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

W Langdon

unread,
Mar 16, 2015, 6:17:36 AM3/16/15
to nvbio...@googlegroups.com, william.bi...@gmail.com
Dear Nuno,
             Nice to hear from you. Sure I have put the error messages from nvcc at:
http://www.cs.ucl.ac.uk/staff/W.Langdon/nvbio/host_device_page.cu_errors
There are 7 the first one says:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-CentOS-linux/4.7.2/../../../../include/c++/4.7.2/bits/stl_iterator_base_types.h(166): error: name followed by "::" must be a class or namespace name
          detected during:
            instantiation of class "std::iterator_traits<_Iterator> [with _Iterator=nvbio::uint32]" 
../nvbio-master/nvbio/basic/iterator.h(110): here
            instantiation of class "nvbio::iterator_traits<T> [with T=nvbio::uint32]" 
../nvbio-master/nvbio/basic/vector_view.h(92): here
            instantiation of class "nvbio::vector_view<Iterator, IndexType> [with Iterator=nvbio::uint32, IndexType=nvbio::uint32]" 
host_device_page.cu(33): here
and the last says:


host_device_page.cu(43): error: no suitable user-defined conversion from "nvbio::vector_view<nvbio::uint32 *, nvbio::uint64>" to "nvbio::vector_view<nvbio::uint32, nvbio::uint32>" exists

../nvbio-master/nvbio/basic/vector_view.h(159): error: expression must have pointer-to-object type
          detected during instantiation of "nvbio::vector_view<Iterator, IndexType>::reference nvbio::vector_view<Iterator, IndexType>::operator[](IndexType) [with Iterator=nvbio::uint32, IndexType=nvbio::uint32]" 
host_device_page.cu(36): here

The cutnpaste I tried to compile is at
http://www.cs.ucl.ac.uk/staff/W.Langdon/nvbio/host_device_page.cu

Any ideas or suggestions would be most welcome
Thank you
Bill

ps: I have reported an error with nvidia (Bug ID: 1624013)
Reply all
Reply to author
Forward
0 new messages