public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Benjamin Schindler <config@gmx.ch>
To: pthreads-win32@sources.redhat.com
Subject: Strange error when linking against pthread using Visual Studio .NET
Date: Wed, 03 Mar 2004 00:43:00 -0000	[thread overview]
Message-ID: <1078274693.17578.7.camel@benjamin> (raw)

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

                 reply	other threads:[~2004-03-03  0:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1078274693.17578.7.camel@benjamin \
    --to=config@gmx.ch \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).