Hey all,
I’ve been trying to run a CUDA program I found on matrix inversion to help me along with a many-node heat transfer problem. Problem is,
when I try to test-run the thing, the compiler gives me the aforementioned error: "“unresolved external symbol __main referenced in function __tmainCRTSt.”
I’ve read solutions when using Visual C++ online, but I’m posting this question because I’m not using Visual C++ directly. However, I’m running the following execution line in the Command Prompt:
“nvcc -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin” <>.cu --ptxas-options=-v.”
So the compiler knows to reference any “bin” files from Visual to build the program, but again, I’m just using Notepad++ and the Command Prompt.
Thanks in advance for any ideas.