This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
pthreads for Windows CE with Visual Studio 2005
- From: mario dot aleksic at daimlerchrysler dot com
- To: pthreads-win32 at sourceware dot org
- Date: Mon, 21 Aug 2006 08:51:56 +0200
- Subject: pthreads for Windows CE with Visual Studio 2005
Hi all,
I'm having troubles building pthreads 2-7-0 for Windows CE with Visual
Studio 2005.
Although it might seem rather trivial, I'm writing down exactly what I did
so that hopefully someone can tell me where I'm mistaken:
- select "New Project" in Visual Studio, project for a smart device, SDK
is "QCOM_TIU_TINY" (that's a Qualcomm board, but I had the same issues
when selecting "Pocket PC 2003" here), application type "DLL", empty
project
- add pthread.c to the project
- change the following project properties: add "." as include directory,
add preprocessor definitions __CLEANUP_C;PTW32_BUILD
When I build the project, I get the following error message:
------ Erstellen gestartet: Projekt: pthread, Konfiguration: Release
QCOM_TIU_TINY (ARMV4I) ------
Kompilieren...
pthread.c
c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\pthread.h(1215)
: error C2375: '_errno' : redefinition; different linkage
c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\need_errno.h(66)
: see declaration of '_errno'
c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\implement.h(661)
: fatal error C1083: Cannot open include file: 'process.h': No such file
or directory
Das Buildprotokoll wurde unter "
file://c:\Aleksic\Cpp-projects\cvs-Aleksic\pthread\WinCe-Test\pthread-Q-org\QCOM_TIU_TINY
(ARMV4I)\Release\BuildLog.htm" gespeichert.
pthread - 2 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0
übersprungen ==========
Best regards,
Mario.
--------------------------------------------------------------------------
Mario Aleksic
DaimlerChrysler AG
Research and Technology
Telematics-Functions (REI/VF)
mail: HPC: 050-G021, D-71059 Sindelfingen
street address: Hanns-Klemm-Straße 45, 71034 Böblingen
Phone +49 7031 4389 557
Fax +49 7031 4389 214
e-mail: Mario.Aleksic@DaimlerChrysler.com
--------------------------------------------------------------------------