Collision not detected

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Collision not detected

Postby en51nm » Fri May 25, 2012 4:05 am

I'm using newton in combination with irrlicht to try and detect collision between two convex meshes. As you can see from the image I should clearly be getting a collision, but nothing is detected:

Image

I'm using the code from this tutorial to produce my collision object, object is a standard collision object, one sphere moves using key board input and is created by using "NewtonCreateConvexHull", the other is stactic and so uses an octree for speed and is created using "NewtonTreeCollisionEndBuild" after adding all of the faces with "NewtonTreeCollisionAddFace".

The collision detection is completed simply by calling "NewtonCollisionCollide".

The problem is that that the nHits = 0 despite there clearly being a collision...

I'm using Irrlicht 1.7.3 and Newton 1.53

Any ideas what I'm doing wrong? I've tried changing both the meshes to convex hull types. Could it be to do with the scale of my world?
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby en51nm » Fri May 25, 2012 4:14 am

I've tried changing the scale and this doesn't appear to have any effect, perhaps the newton collision objects aren't created properly, I'm not sure how to check this though
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby Julio Jerez » Fri May 25, 2012 7:08 am

you sodul use newton 3.00
Julio Jerez
Moderator
Moderator
 
Posts: 12424
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Collision not detected

Postby en51nm » Fri May 25, 2012 1:20 pm

Will it work with Newton 3.0? I've been struggling to set it up with VS2010
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby en51nm » Fri May 25, 2012 1:50 pm

I've tried compiling the code above (through the link) with Newton 3.0, but I get linker errors, I've got #include <newton.h> at the beginning of my code. I've added C:\newton-dynamics\coreLibrary_300\source\newton to my include directories and added C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\Win32\newton\Debug to my library directories. I get the following error when compiling:

error LNK2019: unresolved external symbol __imp__NewtonCreateConvexHull referenced in function "struct NewtonCollision * __cdecl CreateCollisionFromMesh(struct NewtonWorld *,class irr::scene::IMesh *)" (?CreateCollisionFromMesh@@YAPAUNewtonCollision@@PAUNewtonWorld@@PAVIMesh@scene@irr@@@Z)

and 10 other similar ones. I cannot find a newton.lib anywhere is there supposed to be one? There must be a tutorial for setting up Newton 3.0 with VS2010 - I have been unable to find one?

Also - I noticed these function have changed between Newton 1.53 and 3.0, what should I do to make them work?
-NewtonCreateConvexHull
-NewtonCollisionCollide

Thanks in advance
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby JoeJ » Fri May 25, 2012 4:12 pm

I 'm not very experineced with linking to other libraries and i use VS2008, but if no one else is willing to help, let's try it...
I do NOT compile newton together with my code as you tried.
I compile newton as it is, use the lib and dll files it generates, link that to my project and the only source file i need to include is newton.h.

Step by step (i guess its very similar with VS2010):
1. Open newton-dynamics-read-only\coreLibrary_300\projets\windows\project_vs2008\newton.vcproj in Visual Studio
2. You have 4 possible configurations: debug, debugDll and release, releaseDll. I'll focus on debugDll - set this Config and build Newton.
This happens without errors or warnings, now the 3 files are here:
newton-dynamics-read-only\coreLibrary_300\source\newton\newton.h
newton-dynamics-read-only\coreLibrary_300\projets\windows\project_vs2008\Win32\newton\debugDll\newton_d.lib and newton_d.dll

3. Now go to your own project and set the configuration to Debug too.
4. Include the newton.h in your code.
5. Menu: Project / Properties / Linker / General / Additional Library Directories:
Add the path here: '....newton-dynamics-read-only\coreLibrary_300\projets\windows\project_vs2008\Win32\newton\debugDll\'
And under ... Linker / Input / Additional Dependencies: Add 'newton_d.lib' here.
6. Copy the dll to the path where your compiled exe is.

That should work. Sorry if you already know those basic steps.

I'd recommend to look at the demos and tutorials coming with newton to create a first basic scene.
Maybe graphics / physics mismatch or there is another mistake, like both bodies are static.
The example you show should work with any newton version, you could post some code.
User avatar
JoeJ
 
Posts: 1489
Joined: Tue Dec 21, 2010 6:18 pm

Re: Collision not detected

Postby en51nm » Sat May 26, 2012 7:21 am

When I try your step below, I open the file: "newton-dynamics-read-only\coreLibrary_300\projets\windows\project_vs2010\newton.vcproj" and select debugDLL as the build configuration, but when I Build I get the following error:

Error 1 error LNK1104: cannot open file 'C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\Win32\physics\debug\physics_d.lib' C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\LINK

In addition, in the folder: "C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\Win32\newton\debugDll" I have neither newton_d.lib or newton_d.dll

I'm not sure what I'm doing wrong?
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby en51nm » Sat May 26, 2012 7:28 am

Doing the same as above but selecting the "debug" build configuration works, although there is no newton_d.dll file present in the folder: "C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\Win32\newton\Debug"
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby en51nm » Sat May 26, 2012 7:33 am

I've tried cleaning the solution, then doing the following:

1. Build newton with the "Debug" config, then straight after (succeeds)
2. Build newton with the "Release" config, then straight after (succeeds)
3. Build newton with the "debugDLL" config (fails) with the following error:

Error 1 error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in Newton.obj C:\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010\physics.lib(dgWorld.obj)

and 51 similar errors.

A clear, step-by-step, idiot proof guide to getting newton 3.0 to work for VS2010 would be useful at this point...
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby Julio Jerez » Sat May 26, 2012 7:42 am

What I do not undertand si why you have to do anthiong at all to the solution or the projects.

you only need to open the solution and click build and it will build all the libraries with zero warning and zero error. if it is not that then there is something wrong.
Julio Jerez
Moderator
Moderator
 
Posts: 12424
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Collision not detected

Postby en51nm » Sat May 26, 2012 8:37 am

At last it works!!!

For others who need an idiot proof guide (maybe it's just me?):

1. Download the newton 300 release software from the wiki and extract the "coreLibrary_300" to your C: drive.

2. Open VS2010 and then load the solution file "newton.sln" in the folder "C:\coreLibrary_300\projets\windows\project_vs2010".

3. Select debugDLL as the build configuration and then hit F7 or select Build->Build Solution - (important!! "build solution" not just "build"!).

4. Repeat step three but with the build configuration set to releaseDLL.

5. Next, open a new project, File->New->New Project. Select new win32 console application and in the wizard select "Empty project".

6. Right click on your project in the solution explorer and select Properties.

7. Select the Debug build configuration option and select VC++ Directories. Edit the "Library Directories" by adding the following folder:
C:\coreLibrary_300\projets\windows\project_vs2010\Win32\newton\debugDll then hit okay and "Apply"

8. Next go to the Link->Input->Additional Dependencies and add newton_d.lib to the list.Select "OK" and "Apply"

9. Select the Release build configuration option and select VC++ Directories. Edit the "Library Directories" by adding the following folder:
C:\coreLibrary_300\projets\windows\project_vs2010\Win32\newton\releaseDll then hit "OK" and "Apply"

10. Next go to the Link->Input->Additional Dependencies and add newton.lib to the list. Select "OK" and "Apply" then you can close the properties window.

11. Almost done! Open the Properties Manager and expand the list until you get to Microsoft.Cpp.Win32.user and then double click it. This sets default properties that are common to all build configurations and projects. Go to VC++ Directories and edit the "Include Directories". Add the following folder:
C:\coreLibrary_300\source\newton Select "OK" and "Apply" then you can close the properties window.

All done - just add #include <newton.h> where required, and add newton.dll and/or newton_d.dll to your project folder. For all new projects you will have to repeat steps 6-9.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby Bird » Sat May 26, 2012 8:40 am

Julio Jerez wrote:What I do not undertand si why you have to do anthiong at all to the solution or the projects.

you only need to open the solution and click build and it will build all the libraries with zero warning and zero error. if it is not that then there is something wrong.

Maybe it's a problem with the vs2010 Express version. The DLL Release versions do not compile here either using vs2010 Express. The DLL debug version do compile cleanly.
Here's the error messages:

-Bird
Code: Select all
----- Rebuild All started: Project: newton, Configuration: releaseDll Win32 ------
  NewtonClass.cpp
  Newton.cpp
core_d.lib(dgMemory.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgThreadHive.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgMatrix.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgPolyhedra.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgTree.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgMutexThread.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgThread.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgSmallDeterminant.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgDebug.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgConvexHull3d.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgSphere.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgGoogol.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgBroadPhaseCollision.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorld.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicUpdate.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgNarrowPhaseCollision.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMeshEffect1.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionCompound.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionConvexHull.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionInstance.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionMesh.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionBVH.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionHeightField.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgBody.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgBallConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgHingeConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgSlidingConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCorkscrewConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgUniversalConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgUpVectorConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMeshEffect2.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMeshEffect4.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMeshEffect3.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionDeformableMesh.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgUserConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgBilateralConstraint.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgContact.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgBodyMasterList.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgDeformableContact.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionSphere.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionConvex.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionNull.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgDeformableBody.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicsParallelSolver.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicsParallelSolverSimd.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicsParallelSolverSimdAVX.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicsSimpleSolver.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgWorldDynamicsSimpleSolverSimd.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionBox.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionCapsule.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionCylinder.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionTaperedCapsule.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionTaperedCylinder.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionChamferCylinder.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionCone.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionUserMesh.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionScene.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMinkowskiConv.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMinkowskiConvSimd.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgMeshEffectSolidTree.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollision.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
physics_d.lib(dgCollisionConvexPolygon.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in LIBCMT.lib(malloc.obj)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in LIBCMT.lib(recalloc.obj)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in LIBCMT.lib(msize.obj)
LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in LIBCMT.lib(dbghook.obj)
LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in LIBCMT.lib(isctype.obj)
LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in LIBCMT.lib(isctype.obj)
core_d.lib(dgSimd_128.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgIntersections.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgAsyncThread.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgTypes.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgPolyhedraMassProperties.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgAABBPolygonSoup.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgPolygonSoupBuilder.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgQuaternion.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgSimd_256.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgDelaunayTetrahedralization.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgConvexHull4d.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
core_d.lib(dgCRC.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in Newton.obj
     Creating library Win32/newton/releaseDll\newton.lib and object Win32/newton/releaseDll\newton.exp
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMT.lib(crtheap.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgNarrowPhaseCollision.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgCollisionCompound.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgContact.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgWorldDynamicsParallelSolver.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
Newton.obj : error LNK2001: unresolved external symbol __imp__Sleep@4
core_d.lib(dgThreadHive.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgBroadPhaseCollision.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
physics_d.lib(dgWorld.obj) : error LNK2001: unresolved external symbol __imp__Sleep@4
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__CreateSemaphoreA@16
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__CloseHandle@4
LIBCMT.lib(close.obj) : error LNK2001: unresolved external symbol __imp__CloseHandle@4
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol __imp__CloseHandle@4
LIBCMT.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp__CloseHandle@4
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__ReleaseSemaphore@12
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__WaitForSingleObject@8
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__RaiseException@16
LIBCMT.lib(_fpexcept_.obj) : error LNK2001: unresolved external symbol __imp__RaiseException@16
LIBCMT.lib(throw.obj) : error LNK2001: unresolved external symbol __imp__RaiseException@16
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
core_d.lib(dgThread.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
LIBCMT.lib(dllcrt0.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
LIBCMT.lib(threadex.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThreadId@0
core_d.lib(dgDebug.obj) : error LNK2001: unresolved external symbol __imp__OutputDebugStringA@4
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__OutputDebugStringA@4
LIBCMTD.lib(free.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMTD.lib(mbstowcs.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMTD.lib(wcstombs.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(lseek.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMTD.lib(expand.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMTD.lib(realloc.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(commit.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(read.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(realloc.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(lseeki64.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(wctomb.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(inithelp.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(close.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(free.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(threadex.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__GetLastError@0
LIBCMT.lib(free.obj) : error LNK2001: unresolved external symbol __imp__HeapFree@12
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp__HeapFree@12
LIBCMTD.lib(free.obj) : error LNK2001: unresolved external symbol __imp__HeapFree@12
LIBCMT.lib(malloc.obj) : error LNK2001: unresolved external symbol __imp__HeapAlloc@12
LIBCMT.lib(calloc_impl.obj) : error LNK2001: unresolved external symbol __imp__HeapAlloc@12
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp__HeapAlloc@12
LIBCMTD.lib(malloc.obj) : error LNK2001: unresolved external symbol __imp__HeapAlloc@12
LIBCMTD.lib(crtmbox.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMTD.lib(woutputs.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMTD.lib(woutputp.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(outputs.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMTD.lib(woutput.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(output.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(outputp.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(_libm_error_.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(dllcrt0.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(onexit.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(purevirt.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp__DecodePointer@4
LIBCMT.lib(dllcrt0.obj) : error LNK2001: unresolved external symbol __imp__GetCommandLineA@0
LIBCMT.lib(hooks.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMTD.lib(crtmbox.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(cmiscdat.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(_libm_error_.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(onexit.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(purevirt.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(handler.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__EncodePointer@4
LIBCMT.lib(threadex.obj) : error LNK2001: unresolved external symbol __imp__ExitThread@4
LIBCMT.lib(threadex.obj) : error LNK2001: unresolved external symbol __imp__CreateThread@24
LIBCMT.lib(heapinit.obj) : error LNK2001: unresolved external symbol __imp__HeapCreate@12
LIBCMT.lib(heapinit.obj) : error LNK2001: unresolved external symbol __imp__HeapDestroy@4
LIBCMTD.lib(crtmbox.obj) : error LNK2001: unresolved external symbol __imp__GetProcAddress@8
LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp__GetProcAddress@8
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__GetProcAddress@8
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__GetProcAddress@8
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__GetProcAddress@8
LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp__GetModuleHandleW@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__GetModuleHandleW@4
LIBCMT.lib(crt0dat.obj) : error LNK2001: unresolved external symbol __imp__ExitProcess@4
LIBCMT.lib(crt0msg.obj) : error LNK2001: unresolved external symbol __imp__WriteFile@20
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol __imp__WriteFile@20
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__WriteFile@20
LIBCMT.lib(crt0msg.obj) : error LNK2001: unresolved external symbol __imp__GetStdHandle@4
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__GetStdHandle@4
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__GetStdHandle@4
LIBCMT.lib(crt0msg.obj) : error LNK2001: unresolved external symbol __imp__GetModuleFileNameW@12
LIBCMTD.lib(dbgrptw.obj) : error LNK2001: unresolved external symbol __imp__GetModuleFileNameW@12
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__TlsAlloc@0
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__TlsGetValue@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__TlsSetValue@8
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__TlsFree@4
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4
LIBCMT.lib(localref.obj) : error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4
LIBCMT.lib(setlocal.obj) : error LNK2001: unresolved external symbol __imp__InterlockedIncrement@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__SetLastError@4
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(initnum.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(initmon.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(initctyp.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(setlocal.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(localref.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(inittime.obj) : error LNK2001: unresolved external symbol __imp__InterlockedDecrement@4
LIBCMT.lib(tidtable.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentThread@0
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__SetHandleCount@4
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__InitializeCriticalSectionAndSpinCount@8
LIBCMT.lib(stream.obj) : error LNK2001: unresolved external symbol __imp__InitializeCriticalSectionAndSpinCount@8
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp__InitializeCriticalSectionAndSpinCount@8
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__InitializeCriticalSectionAndSpinCount@8
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__GetFileType@4
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__GetFileType@4
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol __imp__GetFileType@4
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__GetFileType@4
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__GetStartupInfoW@4
LIBCMT.lib(ioinit.obj) : error LNK2001: unresolved external symbol __imp__DeleteCriticalSection@4
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp__DeleteCriticalSection@4
LIBCMT.lib(closeall.obj) : error LNK2001: unresolved external symbol __imp__DeleteCriticalSection@4
LIBCMT.lib(stdargv.obj) : error LNK2001: unresolved external symbol __imp__GetModuleFileNameA@12
LIBCMTD.lib(dbgrpt.obj) : error LNK2001: unresolved external symbol __imp__GetModuleFileNameA@12
LIBCMT.lib(a_env.obj) : error LNK2001: unresolved external symbol __imp__FreeEnvironmentStringsW@4
LIBCMT.lib(a_map.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMTD.lib(wcstombs.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMT.lib(a_env.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMT.lib(wctomb.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMT.lib(a_loc.obj) : error LNK2001: unresolved external symbol __imp__WideCharToMultiByte@32
LIBCMT.lib(a_env.obj) : error LNK2001: unresolved external symbol __imp__GetEnvironmentStringsW@0
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__QueryPerformanceCounter@4
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetTickCount@0
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcessId@0
LIBCMT.lib(gs_support.obj) : error LNK2001: unresolved external symbol __imp__GetSystemTimeAsFileTime@4
LIBCMT.lib(cpu_disp.obj) : error LNK2001: unresolved external symbol __imp__IsProcessorFeaturePresent@4
LIBCMT.lib(_mathfcns_.obj) : error LNK2001: unresolved external symbol __imp__IsProcessorFeaturePresent@4
LIBCMT.lib(msize.obj) : error LNK2001: unresolved external symbol __imp__HeapSize@12
LIBCMTD.lib(expand.obj) : error LNK2001: unresolved external symbol __imp__HeapSize@12
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__UnhandledExceptionFilter@4
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__UnhandledExceptionFilter@4
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__SetUnhandledExceptionFilter@4
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__IsDebuggerPresent@0
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__IsDebuggerPresent@0
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__TerminateProcess@8
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__TerminateProcess@8
LIBCMT.lib(invarg.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcess@0
LIBCMT.lib(gs_report.obj) : error LNK2001: unresolved external symbol __imp__GetCurrentProcess@0
LIBCMT.lib(winsig.obj) : error LNK2001: unresolved external symbol __imp__SetConsoleCtrlHandler@8
LIBCMT.lib(inithelp.obj) : error LNK2001: unresolved external symbol __imp__GetLocaleInfoW@16
LIBCMT.lib(a_loc.obj) : error LNK2001: unresolved external symbol __imp__GetLocaleInfoW@16
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__GetLocaleInfoW@16
LIBCMT.lib(exsup.obj) : error LNK2001: unresolved external symbol _RtlUnwind@16
LIBCMT.lib(exsup4.obj) : error LNK2001: unresolved external symbol _RtlUnwind@16
LIBCMT.lib(eh3valid.obj) : error LNK2001: unresolved external symbol __imp__VirtualQuery@12
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol __imp__GetConsoleCP@0
LIBCMT.lib(write.obj) : error LNK2001: unresolved external symbol __imp__GetConsoleMode@8
LIBCMT.lib(_file.obj) : error LNK2001: unresolved external symbol __imp__EnterCriticalSection@4
LIBCMT.lib(stream.obj) : error LNK2001: unresolved external symbol __imp__EnterCriticalSection@4
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp__EnterCriticalSection@4
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__EnterCriticalSection@4
LIBCMT.lib(_file.obj) : error LNK2001: unresolved external symbol __imp__LeaveCriticalSection@4
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp__LeaveCriticalSection@4
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__LeaveCriticalSection@4
LIBCMT.lib(mlock.obj) : error LNK2001: unresolved external symbol __imp__FatalAppExitA@8
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__FreeLibrary@4
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__InterlockedExchange@8
LIBCMT.lib(setmode.obj) : error LNK2001: unresolved external symbol __imp__InterlockedExchange@8
LIBCMT.lib(rand_s.obj) : error LNK2001: unresolved external symbol __imp__LoadLibraryW@4
LIBCMT.lib(crtmboxw.obj) : error LNK2001: unresolved external symbol __imp__LoadLibraryW@4
LIBCMTD.lib(crtmbox.obj) : error LNK2001: unresolved external symbol __imp__LoadLibraryW@4
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__GetCPInfo@8
LIBCMT.lib(initctyp.obj) : error LNK2001: unresolved external symbol __imp__GetCPInfo@8
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__GetACP@0
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__GetACP@0
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__GetOEMCP@0
LIBCMT.lib(mbctype.obj) : error LNK2001: unresolved external symbol __imp__IsValidCodePage@4
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__IsValidCodePage@4
LIBCMT.lib(realloc.obj) : error LNK2001: unresolved external symbol __imp__HeapReAlloc@16
LIBCMTD.lib(expand.obj) : error LNK2001: unresolved external symbol __imp__HeapReAlloc@16
LIBCMTD.lib(realloc.obj) : error LNK2001: unresolved external symbol __imp__HeapReAlloc@16
LIBCMT.lib(lseeki64.obj) : error LNK2001: unresolved external symbol __imp__SetFilePointer@16
LIBCMT.lib(lseek.obj) : error LNK2001: unresolved external symbol __imp__SetFilePointer@16
LIBCMT.lib(putwch.obj) : error LNK2001: unresolved external symbol __imp__WriteConsoleW@20
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__WriteConsoleW@20
LIBCMTD.lib(mbstowcs.obj) : error LNK2001: unresolved external symbol __imp__MultiByteToWideChar@24
LIBCMT.lib(mbtowc.obj) : error LNK2001: unresolved external symbol __imp__MultiByteToWideChar@24
LIBCMT.lib(a_map.obj) : error LNK2001: unresolved external symbol __imp__MultiByteToWideChar@24
LIBCMT.lib(a_str.obj) : error LNK2001: unresolved external symbol __imp__MultiByteToWideChar@24
LIBCMT.lib(read.obj) : error LNK2001: unresolved external symbol __imp__MultiByteToWideChar@24
LIBCMT.lib(osfinfo.obj) : error LNK2001: unresolved external symbol __imp__SetStdHandle@8
LIBCMT.lib(commit.obj) : error LNK2001: unresolved external symbol __imp__FlushFileBuffers@4
LIBCMT.lib(open.obj) : error LNK2001: unresolved external symbol __imp__CreateFileA@28
LIBCMT.lib(a_map.obj) : error LNK2001: unresolved external symbol __imp__LCMapStringW@24
LIBCMT.lib(a_str.obj) : error LNK2001: unresolved external symbol __imp__GetStringTypeW@16
LIBCMT.lib(iswctype.obj) : error LNK2001: unresolved external symbol __imp__GetStringTypeW@16
LIBCMT.lib(initcon.obj) : error LNK2001: unresolved external symbol __imp__CreateFileW@28
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp__SetEndOfFile@4
LIBCMT.lib(chsize.obj) : error LNK2001: unresolved external symbol __imp__GetProcessHeap@0
LIBCMT.lib(read.obj) : error LNK2001: unresolved external symbol __imp__ReadFile@20
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__GetUserDefaultLCID@0
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__GetLocaleInfoA@16
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__EnumSystemLocalesA@8
LIBCMT.lib(getqloc.obj) : error LNK2001: unresolved external symbol __imp__IsValidLocale@8
LIBCMTD.lib(dbgheap.obj) : error LNK2001: unresolved external symbol __imp__HeapValidate@12
LIBCMTD.lib(heapchk.obj) : error LNK2001: unresolved external symbol __imp__HeapValidate@12
LIBCMTD.lib(dbgheap.obj) : error LNK2001: unresolved external symbol __imp__IsBadReadPtr@8
LIBCMTD.lib(dbgrptt.obj) : error LNK2001: unresolved external symbol __imp__OutputDebugStringW@4
LIBCMTD.lib(expand.obj) : error LNK2001: unresolved external symbol __imp__HeapQueryInformation@20
Win32/newton/releaseDll\newton.dll : fatal error LNK1120: 89 unresolved externals
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========
Bird
 
Posts: 636
Joined: Tue Nov 22, 2011 1:27 am

Re: Collision not detected

Postby en51nm » Sat May 26, 2012 9:05 am

Bird wrote:The DLL Release versions do not compile here either using vs2010 Express. The DLL debug version do compile cleanly.


I got that error before as well. Try to delete newton from your HDD and then try again from a clean directory using the instructions I posted above.
en51nm
 
Posts: 27
Joined: Thu May 17, 2012 3:20 pm

Re: Collision not detected

Postby Julio Jerez » Sat May 26, 2012 9:32 am

Bird wrote:Maybe it's a problem with the vs2010 Express version. The DLL Release versions do not compile here either using vs2010 Express. The DLL debug version do compile cleanly.
Here's the error messages:


This sounds like a big confusion here.
Let us clarify this because I am going with the impression that the project are all correct, and I keep getting these build errors.
I just did this.

in my temp folder, and click check out from svn.
then and when to folder
C:\tmp\newton-dynamics\coreLibrary_300\projets\windows\project_vs2010

the I double clicked on newton.sln
and Select configuration DebugDLL, and I click build
The project compiled with zero warning and zero errors, is that what you guys are doing and you are getting errors?
I did the same for ReleaseDLL configuration and I also got a build with zero warning and zero errors.

and I am doing the same thong you are doing?
I have VS 2010 proffesional, which I hate because it is full of Bugs, I primirially use VS2009 which by far better and I only build 2010 when new stuff is added to teh projects,
but I do not think there is a problem with teh solution and or teh indivual projects.
Julio Jerez
Moderator
Moderator
 
Posts: 12424
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Collision not detected

Postby Julio Jerez » Sat May 26, 2012 9:53 am

I look up what the error means
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2'


and apprently it is a bug in VS2010, that MS refuses to fix too.
bascially in VS 2009 and lower some header file and macros that allowe mixing diffrent compiler settings.
so I am guessing that you gusy are addin teh Netwon project to you projects.
if this is the case whe you need to do is to change the setting of teh newton projects to the setting you have in your project
My guess is that you are using runtime libraries: Multi-threaded (/MD) and I use Multi-threaded (/MT)
the reason I do this is because /MT link alll the libarries with the binary making a binary that is independ of the run time you have in your machine, not installer nessesary.
doing the other way, the demos will need and installed or they will fail if they machine does no have the same VS runtime library that was used to build the DLL or the EXE.
this is yet another solution in search of a problem nonsence microsoft started with VS 2005, I think it *, but it does not seems to bother anyone else.

make sure all projects of your soution has the same Runtime library. change the newton's to match yours, and see if that workd.
Julio Jerez
Moderator
Moderator
 
Posts: 12424
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 218 guests

cron