Hello Robert,
sorry for the late reply. I was quite busy and did not check my emails
regularly. It would be helpful to know which VisualStudio version gives
you this error. As I mentioned in one of my postings the "intrin.h" is
bugged in some of the "older" VS versions. What could be done is to
improve the CheckAtomicOps.cmake file to fail the test in such
situations. The mutex fallback should work in any case. I will look into
this problem as soon as possible but I need some info on VS-version,
target (win32, x64) and so on. Sorry for the inconveniences caused.
Best regards,
Blasius
Robert Osfield schrieb:
Hi Blasius,
On Mon, Oct 27, 2008 at 10:44 AM, Robert Osfield
<[EMAIL PROTECTED]> wrote:
I have now merged your changes. The build works fine under Linux, and
we'll need to test on other platforms to make sure it works there too.
From this thread it does sound like there might still be some
unresolved issues under Windows - we'll need to test for these, and
post to osg-users from yourself highlighting what issues remain would
be useful.
YES, the are unresolved problems. In fact the build is now broken
thanks to your changes. Here's a report I just got:
------ Build started: Project: OpenThreads, Configuration: Debug Win32 ------
1>Compiling...
1>Atomic.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\intrin.h(944) : error C2733: second C linkage of
overloaded function '_interlockedbittestandset' not allowed
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\intrin.h(944) : see declaration of
'_interlockedbittestandset'
1>C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\intrin.h(945) : error C2733: second C linkage of
overloaded function '_interlockedbittestandreset' not allowed
1> C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\intrin.h(945) : see declaration of
'_interlockedbittestandreset'
1>Build log was saved at
"file://c:\bsi.ext\3rdparty\osg\OpenSceneGraph\src\OpenThreads\win32\OpenThreads.dir\Debug\BuildLog.htm"
1>OpenThreads - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Since your changes have broken the build, your are best placed to
fixed them so please could you address this as soon as possible.
I am trying to get a 2.7.4 release out this morning but can't right
now because of this issue, so... rather than hold back the 2.7.4 I
will have to just revert your changes. I will wait an hour for a
response before doing the revert.
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
--
Blasius Czink High Performance Computing Center (HLRS)
Visualisation Department
Tel. ++49-711-68565805 Nobelstr.19, D-70569 Stuttgart
[EMAIL PROTECTED] http://www.hlrs.de
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org