PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Compilate code in the c++ error
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



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

PostPosted: Mon Apr 29, 2013 3:44 pm    Post subject: Reply with quote

Thanks Lodi,

We're in the process of adding C++11 support, but until then, you unfortunately can't use the "thread" class. You're picking up the Microsoft version of header file which is giving you these odd errors.

- Mat
Back to top
View user's profile
lodi



Joined: 29 Nov 2012
Posts: 9

PostPosted: Wed May 01, 2013 12:36 pm    Post subject: Reply with quote

Thank you already!
But, now i get error:
LInk: fatal error lnk1104:cannot open file 'kernel32.lib'
Back to top
View user's profile
mkcolg



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

PostPosted: Wed May 01, 2013 1:27 pm    Post subject: Reply with quote

Hi lodi,

I'm not sure. "kernel32.lib" is a Windows system library so should be there.

What is the full output from your link with the "-v" flag added?

- Mat
Back to top
View user's profile
lodi



Joined: 29 Nov 2012
Posts: 9

PostPosted: Thu May 02, 2013 5:14 pm    Post subject: Reply with quote

Hi,
I'm using pgcpp the without any flag.
Thanks for the answers.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu May 02, 2013 5:21 pm    Post subject: Reply with quote

Please add the "-v" flag (verbose) to your compile and post the output.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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