From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4473 invoked by alias); 19 Mar 2008 11:00:07 -0000 Received: (qmail 4458 invoked by uid 22791); 19 Mar 2008 11:00:06 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Mar 2008 10:59:38 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jbw1A-00079L-UP for pthreads-win32@sourceware.org; Wed, 19 Mar 2008 03:59:36 -0700 Message-ID: <16142990.post@talk.nabble.com> Date: Wed, 19 Mar 2008 11:00:00 -0000 From: chirakara1974 To: pthreads-win32@sourceware.org Subject: pthreads win32 build errors on Microsoft Visual express MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kiran_divakaran@infosys.com X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2008/txt/msg00006.txt.bz2 Hi All, I am using the pthread libs and includes from the below link. ftp://sourceware.org/pub/pthreads-win32/dll-latest Have included pthreadVCE2.lib and pthreadVCE2.dll and the pthread.h , sched.h and semaphore.h in the Microsoft Visual Studio express paths for include and libraries. I am using a simple threaded program. But I am getting the below errors , please help me resolve them. Is there anything else I need to include apart from these . Any precompiler options and link lines etc. Have added the pthreadVCE2.lib as well in the additional dependencies option of the linker still the error are present. Please help. {{{{------ Build started: Project: Ticktok, Configuration: Debug Win32 ------ Linking... mythread.obj : error LNK2019: unresolved external symbol __imp__pthread_exit referenced in function _PrintHello mythread.obj : error LNK2019: unresolved external symbol __imp__pthread_create referenced in function _main D:\Express0\Ticktok\Debug\Ticktok.exe : fatal error LNK1120: 2 unresolved externals Build log was saved at "file://d:\Express0\Ticktok\Debug\BuildLog.htm" Ticktok - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========}}}} Regards, Kiran -- View this message in context: http://www.nabble.com/pthreads-win32-build-errors-on-Microsoft-Visual-express-tp16142990p16142990.html Sent from the Sourceware - pthreads-win32 list mailing list archive at Nabble.com.