Hi to everybody!
First of all I want to present myself: I’m paolo, an italian student of the Milano University Bicocca. I’m italian so SORRY FOR MY ENGLISH. I’m studying every day to improve it so I want to apologize if I’m going to write something wrong.
However…
I’m doing a thesis on CUDA and OPENCL computing and I’m installing the cuda sdk on my mac.
These are the specs of my mac:
MacBook4,1 2,4 GHz 2 GB ram GMA X3100
I know that CUDA runs only on NVIDIA gpu and I have a 8800GT in my other pc. I just installed the toolkit and sdk to try and compile CUDA code on my mac.
I’m running Snow Leopard 10.6.2 and I’m following the NVIDIA guide: Getting Started
NVIDIA CUDA Development
Tools 2.3 Installation and Verification on Mac OS X
I installed the these two files: cudatoolkit_2.3a_macos_32.pkg and gpucomputingsdk_2.3a_macos_32.pkg.
I changed the PATH variable and the other one …
The problem is that when I try to make the Makefile in /Developer/GPU…/C I have this error:
[codebox]make emu=1
a - obj/i386/release/bank_checker.cpp.o
a - obj/i386/release/cmd_arg_reader.cpp.o
a - obj/i386/release/cutil.cpp.o
a - obj/i386/release/stopwatch.cpp.o
a - obj/i386/release/stopwatch_linux.cpp.o
a - obj/i386/release/multithreading.cpp.o
a - obj/i386/release/paramgl.cpp.o
a - obj/i386/release/param.cpp.o
src/rendercheck_gl.cpp:58: warning: unused parameter ‘bQAReadback’
src/rendercheck_gl.cpp:58: warning: unused parameter ‘bUseFBO’
src/rendercheck_gl.cpp: In member function ‘virtual bool CheckRender::PGMvsPGM(const char*, const char*, float, float)’:
src/rendercheck_gl.cpp:148: warning: too many arguments for format
src/rendercheck_gl.cpp: In member function ‘virtual bool CheckRender::PPMvsPPM(const char*, const char*, float, float)’:
src/rendercheck_gl.cpp:194: warning: too many arguments for format
src/rendercheck_gl.cpp:187: warning: unused variable ‘src_data’
src/rendercheck_gl.cpp:187: warning: unused variable ‘ref_data’
src/rendercheck_gl.cpp: In member function ‘virtual bool CheckRender::compareBin2BinUint(const char*, const char*, unsigned int, float, float)’:
src/rendercheck_gl.cpp:230: warning: too few arguments for format
src/rendercheck_gl.cpp:232: warning: too many arguments for format
src/rendercheck_gl.cpp: In member function ‘virtual bool CheckBackBuffer::readback(GLuint, GLuint, GLuint)’:
src/rendercheck_gl.cpp:463: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘GLuint’
src/rendercheck_gl.cpp:467: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘GLuint’
src/rendercheck_gl.cpp: At global scope:
src/rendercheck_gl.cpp:522: warning: unused parameter ‘Bpp’
src/rendercheck_gl.cpp:549: warning: unused parameter ‘width’
src/rendercheck_gl.cpp:549: warning: unused parameter ‘height’
src/rendercheck_gl.cpp:549: warning: unused parameter ‘Bpp’
src/rendercheck_gl.cpp:564: warning: unused parameter ‘width’
src/rendercheck_gl.cpp:564: warning: unused parameter ‘height’
src/rendercheck_gl.cpp:564: warning: unused parameter ‘Bpp’
src/rendercheck_gl.cpp:706: warning: unused parameter ‘width’
src/rendercheck_gl.cpp:706: warning: unused parameter ‘height’
src/rendercheck_gl.cpp: In member function ‘virtual bool CheckFBO::readback(GLuint, GLuint, GLuint)’:
src/rendercheck_gl.cpp:1273: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘GLuint’
src/rendercheck_gl.cpp:1277: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘GLuint’
a - obj/i386/release/rendercheck_gl.cpp.o
make -C src/3DFD/
ld: warning: in obj/i386/emurelease/3dfd.cu.o, file is not of required architecture
ld: warning: in /usr/local/cuda/lib/libcudart.dylib, file is not of required architecture
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/emurelease/3dfd] Error 1
make: *** [src/3DFD/Makefile.ph_build] Error 2[/codebox]
I typed emu=1 as written in the guide because I have no NVIDIA card.
I don’t really know how to solve this problem. External Image
Every kind of help would be appreciated :rolleyes:
Thank you in advance.
Bye, Paolo