Game Development Community

TGE browser plugin Compilation Error

by Aten India · in Torque Game Engine · 05/07/2009 (2:27 am) · 0 replies

I found this resource on how to use TGE as a browser plugin(http://tdn.garagegames.com/wiki/TGE/Code/How_to_make_torque_a_plugin),if I am compiling and build the project one by one this resouce in my TGE1.5.1 ver. I'm having below result and error when I Build np3DPluginFF and Torque Demo in VS 2005 Pro no errors came.
like that.,

1>------ Build started: Project: np3DPluginFF, Configuration: Release Win32 ------
1>Running the XPIDL compiler and linker for nsI3DPluginFF
1>"Step1/3 Creating d:torquesdkengineout.pluginff.release\nsI3DPluginFF.h"
1>"Step2/3 Creating d:torquesdkengineout.pluginff.release\nsI3DPluginFF.xpi"
1>"Step3/3 Linking XPI's into "d:torquesdkengineout.pluginff.releasensI3DPluginFF.xpt"
1>Copying Release plugin to FireFox
1>Copying d:torquesdkengineout.pluginff.releasenp3DPluginFF.dll
1> 1 file(s) copied.
1>Copying d:torquesdkengineout.pluginff.release\nsI3DPluginFF.xpt
1> 1 file(s) copied.
1>Build log was saved at "file://d:TorqueSDKengineout.PluginFF.ReleaseBuildLog.htm"
1>np3DPluginFF - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

and

7>audio.cc
7>vc7fix.cpp
7>Compiling resources...
7>Linking...
7>Generating code
7>d:torquesdkenginetstsshapeinstance.cc(535) : warning C4700: uninitialized local variable 'saveBaseName' used
7>Finished generating code
7>Embedding manifest...
7>Build log was saved at "file://d:TorqueSDKengineout.VC7.RELEASEBuildLog.htm"
7>Torque Demo - 0 error(s), 59 warning(s)
========== Rebuild All: 7 succeeded, 0 failed, 0 skipped ==========

But I build and Compiling np3DPlugin the error came in my console Project Project : error PRJ0019: A tool returned an error code from "Performing registration"
1>------ Build started: Project: np3DPlugin, Configuration: Release Win32 ------
1>Copying Release plugin to FireFox
1> 1 file(s) copied.
1> 1 file(s) copied.
1>Performing registration
1>Project : error PRJ0019: A tool returned an error code from "Performing registration"
1>Build log was saved at "file://d:TorqueSDKengineout.Plugin.ReleaseBuildLog.htm"
1>np3DPlugin - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

pls can you guide me what mistake i can do in my visual stdio 2005 pro.if anyother settings to change in this project.