Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wbolden
Created July 28, 2014 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wbolden/857eddd11e4dcb915c02 to your computer and use it in GitHub Desktop.
Save wbolden/857eddd11e4dcb915c02 to your computer and use it in GitHub Desktop.
will@will-laptop-linux:~/Git/CUDANN$ sudo make
gcc -std=c++11 -c -Wall -I/usr/local/cuda/include -I/usr/include Main.cpp
Main.cpp:11:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glew32.lib")
^
Main.cpp:12:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glu32.lib")
^
Main.cpp:13:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "opengl32.lib")
^
Main.cpp:14:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "glfw3.lib")
^
gcc -std=c++11 -c -Wall -I/usr/local/cuda/include -I/usr/include Display.cpp
gcc -std=c++11 -c -Wall -I/usr/local/cuda/include -I/usr/include FileUtil.cpp
gcc -std=c++11 -c -Wall -I/usr/local/cuda/include -I/usr/include Timer.cpp
/usr/local/cuda/bin/nvcc -arch=compute_30 -code=sm_30,compute_30 -c -I/usr/local/cuda/include -I/usr/include NeuralNetwork.cu
NeuralNetwork.cu(517): warning: integer operation result is out of range
NeuralNetwork.cu(517): warning: integer operation result is out of range
NeuralNetwork.cu: In function ‘void randomTrain(int*, int, int, float)’:
NeuralNetwork.cu:517:34: warning: integer overflow in expression [-Woverflow]
int n = (rand() * (RAND_MAX+1) + rand())% devNumItems;
^
/usr/local/cuda/bin/nvcc -arch=compute_30 -code=sm_30,compute_30 -o Main.o Display.o FileUtil.o Timer.o NeuralNetwork.o -L/usr/lib -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -L/usr/local/cuda/lib64 -lGLEW -lglfw3 -lGL -lGLU -lcuda -lcudart
/usr/bin/ld: /usr/local/lib/libglfw3.a(x11_clipboard.c.o): undefined reference to symbol 'XConvertSelection'
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [CUDANN] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment