| View previous topic :: View next topic |
| Author |
Message |
Dolf
Joined: 22 Mar 2012 Posts: 78
|
Posted: Mon Mar 04, 2013 6:37 pm Post subject: RE: |
|
|
f90main.obj : error LNK2019: unresolved external symbol MAIN_ referenced in function main
C:\Users\Dolf\Desktop\Cuda dev\Quick_cuda\x64\Release\Quick_cuda.exe : fatal error LNK1120: 1 unresolved externals
Quick_cuda build failed. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Tue Mar 05, 2013 10:08 am Post subject: |
|
|
Hi Dolf,
This means that you don't have a "main" in your source (i..e in Fortran a "program"). Are you trying to just compile an single file and did not mean to link?
- Mat |
|
| Back to top |
|
 |
Dolf
Joined: 22 Mar 2012 Posts: 78
|
Posted: Tue Mar 05, 2013 10:48 am Post subject: RE: |
|
|
Hi Mat,
I was able to solve the problem by deleting manually all old generated files from my old PGI compiler (12.6) and it worked perfectly!.
thanks.
Dolf |
|
| Back to top |
|
 |
|