[fixed]Compile problems (17.HelloWorld_Mobile)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
cyuyan
Posts: 5
Joined: Wed Mar 31, 2010 9:56 am
Location: china

[fixed]Compile problems (17.HelloWorld_Mobile)

Post by cyuyan »

code(example_helloworld ()) can't work.
when i debug code,i find load resource file fail.
cyuyan
Posts: 5
Joined: Wed Mar 31, 2010 9:56 am
Location: china

Post by cyuyan »

void CMountPointReader::buildDirectory()
{
IFileList * list = Parent->createFileList();

const u32 size = list->getFileCount();



when i debug,i find list==NULL,so run "list->getFileCount();",pragram exceptional exit
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ok, I hope that the fix commited to SVN will help.
pc0de
Posts: 300
Joined: Wed Dec 05, 2007 4:41 pm

Post by pc0de »

On Windows, this update causes the .dll build to error out with :

Code: Select all

error LNK2019: unresolved external symbol "public: virtual __thiscall irr::io::CMountPointReader::~CMountPointReader(void)"
Quick fix:

Code: Select all

===================================================================
--- source/Irrlicht/CMountPointReader.h (revision 3269)
+++ source/Irrlicht/CMountPointReader.h (working copy)
@@ -67,7 +67,7 @@
                                bool ignoreCase, bool ignorePaths);

                //! Destructor
-               virtual ~CMountPointReader();
+               virtual ~CMountPointReader() {}

                //! opens a file by index
                virtual IReadFile* createAndOpenFile(u32 index);
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Removed the declaration instead. Thanks.
Post Reply