(solved) Compile Error PRJ0019

jash

09-03-2011 12:41:59

I've just installed Bullet 2.77 and got OgreBullet from the SVN. Compiling Bullet Works fine.but when i complie OgreBullet in debug mode i get this errors.I'm using Visual Studio 2008 express edition.
this is the bulid log.


3>Generating Code...
3>Compiling manifest to resources...
3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Linking...
3>LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
3>LINK : ..\..\..\/OgreBulletDynamicsDemo_d.exe not found or not built by the last incremental link; performing full link
3> Creating library ..\..\..\/OgreBulletDynamicsDemo_d.lib and object ..\..\..\/OgreBulletDynamicsDemo_d.exp
3>Embedding manifest...
3>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
3>Performing Post-Build Event...
3>C:\DEV\OgreSDK\lib\..\bin\Debug\arise.exe
3>C:\DEV\OgreSDK\lib\..\bin\Debug\cg.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Ogre.log
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreMain_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreMeshUpgrader_d.exe
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgrePaging_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreProperty_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreRTShaderSystem_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreTerrain_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OgreXMLConverter_d.exe
3>C:\DEV\OgreSDK\lib\..\bin\Debug\OIS_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\plugins_d.cfg
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_BSPSceneManager_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_CgProgramManager_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_OctreeSceneManager_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_OctreeZone_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_ParticleFX_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\Plugin_PCZSceneManager_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\quakemap_d.cfg
3>C:\DEV\OgreSDK\lib\..\bin\Debug\RenderSystem_Direct3D9_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\RenderSystem_GL_d.dll
3>C:\DEV\OgreSDK\lib\..\bin\Debug\resources_d.cfg
3>C:\DEV\OgreSDK\lib\..\bin\Debug\samples_d.cfg
3> 1 file(s) copied.
3>The system cannot find the path specified.
3>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
3>Build log was saved at "file://c:\DEV\work\OgreBullet\Demos\Dynamics_Demos\obj\Debug\BuildLog.htm"
3>Dynamics_Demos - 1 error(s), 169 warning(s)
========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========


when play the demos most of the work expect the ragdoll demo,
This is the only error i get every thing else is fine (Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event...")

Please help

Fish

11-03-2011 01:44:34

Look in the "Post-Build Event" section in your project properties and make sure the paths are correct. The "Event" is trying to copy files form one location to another.

- Fish

jash

12-03-2011 04:17:43

Hey thanks ,there was a problem with the paths i've changed them and works fine

Latin1

16-06-2011 18:16:13

About the PRJ0019 error...

I also get it when I try to compile the Dynamics_Demos project.

Here's what my command line looks like for both Debug and Release modes:

copy $(OGRE_LIBS)\..\bin\$(configurationName) $(TargetPath)
copy $(OGRE_HOME)\dependencies\bin\$(configurationName) $(TargetPath)

Is there some kind of error in the path? I feel like there should be a slash or something before $(TargetPath), but it hasn't changed anything.

Edit: Apparently I was only getting errors because the second line references a folder that existed several Ogre versions ago; the build still went fine, because the build happens before the post-build options are used. Of course. I removed the second line and everything compiles fine.