Strange error when linking against pthread using Visual Studio .NET
Benjamin Schindler
config@gmx.ch
Wed Mar 3 00:43:00 GMT 2004
I'm working with a friend on a small project that is supposed to run on
both Windows and Linux. The project makes use of threads, and so far,
the threading works just fine under Linux. However, in Windows (with the
pthread library) it wont work:
When compiling in debug mode, the program crashes with:
An unhandled exception of type 'System.TypeLoadException' occurred in
voxel.exe
Additional information: Could not load type pthread_t_ from assembly
voxel,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.
When compiling in release mode, it won't even compile: the linker fails
with
voxel fatal error LNK1254: metadata for symbol
'?vo_registerCommand@@$$J0YAXPADP6AXPAPAD@Z@Z' inconsistent with COFF
symbol table
Any ideas here?
Thank you
More information about the Pthreads-win32
mailing list