PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

unable to download or install PVF 13.2
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
Dolf



Joined: 22 Mar 2012
Posts: 128

PostPosted: Mon Mar 04, 2013 6:37 pm    Post subject: RE: Reply with quote

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
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6213
Location: The Portland Group Inc.

PostPosted: Tue Mar 05, 2013 10:08 am    Post subject: Reply with quote

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
View user's profile
Dolf



Joined: 22 Mar 2012
Posts: 128

PostPosted: Tue Mar 05, 2013 10:48 am    Post subject: RE: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group