Aiyen
January 11th, 2010, 03:53 PM
Hello all
I am trying to use the external-tools plugin of gedit to compile and run programs I write using the CUDA compiler. These are my settings for it.
#!/bin/sh
# [Gedit Tool]
# Name=nvcc compile with g++-4.3
# Shortcut=F5
# Languages=
# Applicability=all
# Output=output-panel
# Input=nothing
# Save-files=nothing
nvcc $GEDIT_CURRENT_DOCUMENT_NAME --compiler-bindir=/home/aiyen/CUDA_Test_Folder/ -o ${GEDIT_CURRENT_DOCUMENT_NAME%.*}
But I keep getting this error
Running tool: nvcc compile with g++-4.3
/home/aiyen/.gnome2/gedit/tools/shortcut-for-nvcc-under-g++-4.3: 11: nvcc: not found
Exited: 32512
When I am trying to call nvcc in a terminal there is no problem so what do I need to change to make it accept nvcc calls in gedit as well?
Thanks in advance
I am trying to use the external-tools plugin of gedit to compile and run programs I write using the CUDA compiler. These are my settings for it.
#!/bin/sh
# [Gedit Tool]
# Name=nvcc compile with g++-4.3
# Shortcut=F5
# Languages=
# Applicability=all
# Output=output-panel
# Input=nothing
# Save-files=nothing
nvcc $GEDIT_CURRENT_DOCUMENT_NAME --compiler-bindir=/home/aiyen/CUDA_Test_Folder/ -o ${GEDIT_CURRENT_DOCUMENT_NAME%.*}
But I keep getting this error
Running tool: nvcc compile with g++-4.3
/home/aiyen/.gnome2/gedit/tools/shortcut-for-nvcc-under-g++-4.3: 11: nvcc: not found
Exited: 32512
When I am trying to call nvcc in a terminal there is no problem so what do I need to change to make it accept nvcc calls in gedit as well?
Thanks in advance