Unable to complie Cg program Example/BumpMapFP

lba821103

23-09-2009 03:44:32

My computer have not find Example BumpMap.
why appear these Error?
How did I sloved these Error?

Org.log(As follow):
10:29:45: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
10:29:45: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
10:29:45: Parsing script OgreLoadingPanel.overlay
10:29:45: Finished parsing scripts for resource group Bootstrap
10:29:45: Parsing scripts for resource group General
10:29:45: Parsing script Examples.program
10:29:45: Parsing script StdQuad_vp.program
10:29:46: Parsing script deferred.glsl.program
10:29:46: Parsing script deferred.hlsl.program
10:29:46: Parsing script deferred.program
10:29:46: Parsing script deferred_post_ambient.program
10:29:46: Parsing script deferred_post_debug.glsl.program
10:29:46: Parsing script deferred_post_debug.hlsl.program
10:29:46: Parsing script deferred_post_debug.program
10:29:46: Parsing script deferred_post_minilight.glsl.program
10:29:46: Parsing script deferred_post_minilight.hlsl.program
10:29:46: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at d:\work_new\ogre\ogre-v1-6-3\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
10:29:46: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
10:29:46: Parsing script deferred_post_minilight.program
10:29:46: Parsing script deferred_post_multipass.glsl.program
10:29:46: Parsing script deferred_post_multipass.hlsl.program
10:29:46: Parsing script deferred_post_onepass.glsl.program
10:29:46: Parsing script deferred_post_onepass.hlsl.program
10:29:46: Parsing script deferred_post_vs.program
10:29:46: Parsing script Example.material
10:29:46: Parsing script Examples-Advanced.material
10:29:47: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFP: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(122) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: High-level program Examples/BumpMapFP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFP: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(122) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPSpecular: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(216) : error C3004: function "normalize" not supported in this profile
(219) : error C3004: function "normalize" not supported in this profile
(225) : error C3004: function "pow" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: High-level program Examples/BumpMapFPSpecular encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPSpecular: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(216) : error C3004: function "normalize" not supported in this profile
(219) : error C3004: function "normalize" not supported in this profile
(225) : error C3004: function "pow" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: Compiler error: number expected in Examples-Advanced.material(679): incorrect float constant declaration
10:29:47: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPShadowRcv: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(146) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: High-level program Examples/BumpMapFPShadowRcv encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Examples/BumpMapFPShadowRcv: CG ERROR : The compile returned an error.
(37) : warning C7011: implicit cast from "float4" to "float3"
(92) : warning C7011: implicit cast from "float4" to "float3"
(155) : warning C7011: implicit cast from "float4" to "float3"
(182) : warning C7011: implicit cast from "float4" to "float3"
(146) : error C3004: function "normalize" not supported in this profile
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:47: Parsing script SkyBox.material
10:29:47: Parsing script ASCII.material
10:29:47: Parsing script ASMSwizzle.material
10:29:47: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
10:29:47: Parsing script BlackAndWhite.material
10:29:47: Parsing script Bloom.material
10:29:47: Parsing script Bloom2.material
10:29:47: Parsing script CGSwizzle.material
10:29:47: Parsing script DepthShadowmap.material
10:29:47: Parsing script Dither.material
10:29:47: Parsing script DOF.material
10:29:47: Parsing script Embossed.material
10:29:47: Parsing script Example-DynTex.material
10:29:47: Parsing script Example-Water.material
10:29:47: Parsing script Example.material
10:29:48: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at d:\work_new\ogre\ogre-v1-6-3\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
10:29:48: Compiler error: invalid parameters in Example.material(762): setting of constant failed
10:29:48: Parsing script Examples-Advanced.material
10:29:48: Parsing script facial.material
10:29:48: Parsing script Glass.material
10:29:48: Parsing script GLSLSwizzle.material
10:29:48: Parsing script Halftone.material
10:29:48: Parsing script hdr.material
10:29:48: Parsing script HeatVision.material
10:29:48: Parsing script Hurt.material
10:29:48: Parsing script instancing.material
10:29:49: Parsing script Invert.material
10:29:49: Parsing script IsoSurf.material
10:29:49: Parsing script Laplace.material
10:29:49: Parsing script MotionBlur.material
10:29:49: Parsing script MRTtest.material
10:29:49: Parsing script NightVision.material
10:29:49: Parsing script Ocean.material
10:29:49: Parsing script OffsetMapping.material
10:29:49: Parsing script Ogre.material
10:29:49: Parsing script OldMovie.material
10:29:49: Parsing script OldTV.material
10:29:49: Parsing script ParticleGS.material
10:29:49: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at d:\work_new\ogre\ogre-v1-6-3\ogre\plugins\cgprogrammanager\src\ogrecgprogrammanagerdll.cpp (line 66)
10:29:49: Parsing script Posterize.material
10:29:49: Parsing script pssm.material
10:29:49: Parsing script RadialBlur.material
10:29:49: Parsing script RZR-002.material
10:29:49: Parsing script SharpenEdges.material
10:29:49: Parsing script smoke.material
10:29:49: Parsing script Tiling.material
10:29:49: Parsing script VarianceShadowmap.material
10:29:49: Parsing script deferred.material
10:29:49: Parsing script deferreddemo.material
10:29:49: Parsing script deferred_post_ambient.material
10:29:49: Parsing script deferred_post_debug.material
10:29:49: Parsing script deferred_post_minilight.material
10:29:49: Parsing script deferred_post_multipass.material
10:29:50: Parsing script deferred_post_onepass.material
10:29:50: Parsing script dx.material
10:29:50: Parsing script partA.material
10:29:50: Compiler error: fewer parameters expected in partA.material(403): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(428): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(434): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(459): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(465): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(651): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(682): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(713): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(744): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(775): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(806): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(1079): texture_alias must have at most 1 argument
10:29:50: Compiler error: fewer parameters expected in partA.material(1860): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(3100): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(4929): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5307): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5338): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5431): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5524): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5555): texture_alias must have at most 1 argument
10:29:51: Compiler error: fewer parameters expected in partA.material(5673): texture_alias must have at most 1 argument
10:29:51: Parsing script partB.material
10:29:52: Parsing script partC.material
10:29:54: Compiler error: fewer parameters expected in partC.material(2210): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2242): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2273): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2304): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2367): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2390): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2412): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2443): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2474): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(2505): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(4508): texture_alias must have at most 1 argument
10:29:54: Compiler error: fewer parameters expected in partC.material(4539): texture_alias must have at most 1 argument
10:29:55: Parsing script ROOM.material
10:29:55: Parsing script dx.material
10:29:55: Parsing script Examples-Advanced.material
10:29:55: Parsing script partA.material
10:29:56: Compiler error: fewer parameters expected in partA.material(403): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(428): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(434): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(459): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(465): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(651): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(682): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(713): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(744): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(775): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(806): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(1079): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(1860): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(3100): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(4929): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(5307): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(5338): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(5431): texture_alias must have at most 1 argument
10:29:56: Compiler error: fewer parameters expected in partA.material(5524): texture_alias must have at most 1 argument
10:29:57: Compiler error: fewer parameters expected in partA.material(5555): texture_alias must have at most 1 argument
10:29:57: Compiler error: fewer parameters expected in partA.material(5673): texture_alias must have at most 1 argument
10:29:57: Parsing script partB.material
10:29:59: Parsing script partC.material
10:30:01: Compiler error: fewer parameters expected in partC.material(2210): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2242): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2273): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2304): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2367): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2390): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2412): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2443): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2474): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(2505): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(4508): texture_alias must have at most 1 argument
10:30:01: Compiler error: fewer parameters expected in partC.material(4539): texture_alias must have at most 1 argument
10:30:01: Parsing script RomanBath.material
10:30:01: Parsing script emitted_emitter.particle
10:30:01: Parsing script Example-Water.particle
10:30:01: Parsing script Example.particle
10:30:01: Parsing script smoke.particle
10:30:01: Parsing script Examples.compositor
10:30:01: Parsing script deferred.compositor
10:30:01: Parsing script sample.fontdef
10:30:01: Parsing script Compositor.overlay
10:30:01: Parsing script DP3.overlay
10:30:01: Parsing script Example-CubeMapping.overlay
10:30:01: Parsing script Example-DynTex.overlay
10:30:01: Parsing script Example-Water.overlay
10:30:01: Parsing script Shadows.overlay
10:30:01: Finished parsing scripts for resource group General
10:30:01: Parsing scripts for resource group Internal
10:30:01: Finished parsing scripts for resource group Internal
10:30:01: ********************************
10:30:01: ** oScene Loader Lib **
10:30:01: ********************************
10:30:01: oSceneLoader: Loading 'total.osm' file
10:30:04: oSceneLoader: Creating scene on 'Root' node
10:30:04: Texture: evening_fr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: Texture: evening_bk.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: Texture: evening_lf.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: Texture: evening_rt.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: Texture: evening_up.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: Texture: evening_dn.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:30:04: ********************************
10:30:04: ** oSceneLoader: Scene loaded **
10:30:04: ********************************
10:30:05: *** Initializing OIS ***