Building error

3 views
Skip to first unread message

Ricardo Ferreira

unread,
Jun 23, 2009, 8:57:41 AM6/23/09
to CuPP
I'm getting some errors while building CuPP. After cmake, when I try
to make, I get some errors concerning the examples...

For example, for the kernel example I get this:

[ 75%] Building CXX object examples/kernel/CMakeFiles/
kernel_kernel.dir/__/__/src/cuda/
kernel_kernel_generated_kernel_kernel.cu.o
In file included from /home/rfer/Desktop/cupp/examples/kernel/
kernel_kernel.cu:17:
/tmp/tmpxft_00002c50_00000000-1_kernel_kernel.cudafe1.stub.c: In
function ‘void global_function__entry(int, int&)’:
/tmp/tmpxft_00002c50_00000000-1_kernel_kernel.cudafe1.stub.c:13:
error: invalid conversion from ‘int’ to ‘int*’
/tmp/tmpxft_00002c50_00000000-1_kernel_kernel.cudafe1.stub.c:13:
error: initializing argument 2 of ‘void
__device_stub__Z15global_functioniRi(int, int*)’
make[2]: *** [examples/kernel/CMakeFiles/kernel_kernel.dir/__/__/src/
cuda/kernel_kernel_generated_kernel_kernel.cu.o] Error 1
make[1]: *** [examples/kernel/CMakeFiles/kernel_kernel.dir/all] Error
2
make: *** [all] Error 2


Any ideias?

Jens

unread,
Jun 25, 2009, 4:45:28 AM6/25/09
to CuPP
Sorry for the late reply.

Can you give me some information about your build environment?

-Jens

Ricardo Ferreira

unread,
Jun 25, 2009, 5:37:09 AM6/25/09
to cu...@googlegroups.com
I'm using Ubuntu 9.04, with kernel 2.6.28. Nvidia drivers 185 and gcc/g++ 4.3.3 ...

Jens

unread,
Jun 25, 2009, 7:24:02 AM6/25/09
to CuPP
And CUDA 2.2? Or 2.3 / 2.1?

On Jun 25, 11:37 am, Ricardo Ferreira <rica...@dazzledminds.net>
wrote:
> I'm using Ubuntu 9.04, with kernel 2.6.28. Nvidia drivers 185 and gcc/g++
> 4.3.3 ...
>

Ricardo Ferreira

unread,
Jun 25, 2009, 10:21:21 AM6/25/09
to cu...@googlegroups.com
Sorry, yeah, it's 2.2

Jens

unread,
Jun 26, 2009, 5:41:28 AM6/26/09
to CuPP
Looks like there was a bug, can you please try this version:

http://groups.google.com/group/cupp/web/cupp_v0.1.3_rc.tar.gz?hl=us

It should work with the your setup.

-Jens

On Jun 25, 4:21 pm, Ricardo Ferreira <rica...@dazzledminds.net> wrote:
> Sorry, yeah, it's 2.2
>
Reply all
Reply to author
Forward
0 new messages