CANT COMPILE[VIDEO]

NIKIMC

16-08-2010 00:55:11

I can not compile ogrenewt ,here is a video what am I doing
http://www.youtube.com/watch?v=-frygk4bJhM

NIKIMC

25-08-2010 13:36:07

anyone to help ?

NIKIMC

30-08-2010 14:37:52

if someone like to help me comiling ogrenewt via TeamViewer?

hotmirror

06-09-2010 18:11:37

Hi, I had the same problems, I haven't get it to work... But today i found a "tutorial" and now I was able to Compile OgreNewt in release-Mode, so i have the OgreNewt.dll/lib. In Debug-Mode I got these errors:

1>------ Erstellen gestartet: Projekt: OgreNewt, Konfiguration: Debug Win32 ------
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(D:\Newton\OgreNewt\lib\OgreNewt.dll) entspricht nicht dem OutputFile-Eigenschaftswert (D:\Newton\OgreNewt\lib\OgreNewt_d.dll) von Linker. Das Projekt wird daher möglicherweise nicht ordnungsgemäß erstellt. Damit dieses Problem behoben werden kann, müssen die Eigenschaftswerte für $(OutDir), $(TargetName) und $(TargetExt) dem in %(Link.OutputFile) angegebenen Wert entsprechen.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(OgreNewt) entspricht nicht dem OutputFile-Eigenschaftswert (OgreNewt_d) von Linker. Das Projekt wird daher möglicherweise nicht ordnungsgemäß erstellt. Damit dieses Problem behoben werden kann, müssen die Eigenschaftswerte für $(OutDir), $(TargetName) und $(TargetExt) dem in %(Link.OutputFile) angegebenen Wert entsprechen.
1> Bibliothek ".\lib\OgreNewt_d.lib" und Objekt ".\lib\OgreNewt_d.exp" werden erstellt.
1>LINK : warning LNK4098: Standardbibliothek "LIBCMTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>OgreNewt_Joint.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall CustomUserBlank::CustomUserBlank(unsigned int,struct NewtonBody const *,struct NewtonBody const *)" (__imp_??0CustomUserBlank@@QAE@IPBUNewtonBody@@0@Z)" in Funktion ""public: __thiscall OgreNewt::CustomJoint::CustomJoint(unsigned int,class OgreNewt::Body const *,class OgreNewt::Body const *)" (??0CustomJoint@OgreNewt@@QAE@IPBVBody@1@0@Z)".
1>OgreNewt_Joint.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual void __thiscall CustomUserBlank::GetInfo(struct NewtonJointRecord *)const " (?GetInfo@CustomUserBlank@@MBEXPAUNewtonJointRecord@@@Z)".
1>OgreNewt_Joint.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual void __thiscall CustomUserBlank::SubmitConstraints(float,int)" (?SubmitConstraints@CustomUserBlank@@MAEXMH@Z)".
1>OgreNewt_Joint.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall CustomUserBlank::~CustomUserBlank(void)" (__imp_??1CustomUserBlank@@UAE@XZ)" in Funktion ""public: virtual void * __thiscall CustomUserBlank::`scalar deleting destructor'(unsigned int)" (??_GCustomUserBlank@@UAEPAXI@Z)".
1>./lib/OgreNewt_d.dll : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========


Here is the Link to this "tutorial" -> http://www.ogre3d.org/addonforums/viewtopic.php?f=4&t=11510&start=30#p69335
I hope this helps and sorry for my bad english^^

SFCBias

06-09-2010 23:47:20

well if it compiles in release mode then there shouldn't really be a problem adding debug symbols to the binary. SO i'd make sure that everything is the same with the linker settings and the compiler settings except for the debug symbols