mmizzle9 / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

CUDPP 1.1 compile errors (and fixes) (gcc 4.3.3-5ubuntu4) #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of the product are you using? On what operating system?
CUDPP 1.1, gcc 4.3.3-5ubuntu4 on Ubuntu 9.04 x64

Please provide any additional information below.

Building CUDPP 1.1 did not work out-of-the-box for me, and I believe
that some includes that should have been there are missing:

$ cudpp_1.1 cd common
$ common make
[...]
./../common/inc/cmd_arg_reader.h:417: error: must #include <typeinfo>
before using typeid
[...]
src/cutil.cpp:620: error: ‘strlen’ was not declared in this scope
[...]

To fix these:
in cmd_arg_reader.h
#include <typeinfo>
and in cutil.cpp
#include <cstring>

$ common make
[...]
./../common/inc/exception.h:89: error: ‘EXIT_FAILURE’ was not declared
in this scope
[...]

To fix:
#include <cstdlib>
in exception.h 

Original issue reported on code.google.com by andre.r....@gmail.com on 13 Aug 2009 at 9:52

GoogleCodeExporter commented 8 years ago

Original comment by harr...@gmail.com on 14 Dec 2009 at 7:18

GoogleCodeExporter commented 8 years ago
This has been fixed in trunk.

Original comment by harr...@gmail.com on 14 Dec 2009 at 8:54