[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16221] trunk/blender/source/gameengine: BGE Python API - GameLogic.getBlendFileList(path='//') to return a list of blend's in the current directory.

lguillaume lecocqguillaume at gmail.com
Fri Aug 22 13:17:57 CEST 2008


I made the compilation on MSVC++ 2008 express, and have problem when linking
(french message, but extern symbol not found):

bf_ketsji.lib(KX_PythonInit.obj) : error LNK2019: symbole externe non résolu
"int __cdecl closedir(struct _DIR *)" (?closedir@@YAHPAU_DIR@@@Z) référencé
dans la fonction "struct _object * __cdecl gPyGetBlendFileList(struct
_object *,struct _object *)" (?gPyGetBlendFileList@@YAPAU_object@@PAU1 at 0@Z)

bf_ketsji.lib(KX_PythonInit.obj) : error LNK2019: symbole externe non résolu
"struct dirent * __cdecl readdir(struct _DIR *)" (?readdir@@YAPAUdirent@
@PAU_DIR@@@Z) référencé dans la fonction "struct _object * __cdecl
gPyGetBlendFileList(struct _object *,struct _object *)"
(?gPyGetBlendFileList@@YAPAU_object@@PAU1 at 0@Z)

bf_ketsji.lib(KX_PythonInit.obj) : error LNK2019: symbole externe non résolu
"struct _DIR * __cdecl opendir(char const *)" (?opendir@@YAPAU_DIR@@PBD at Z)
référencé dans la fonction "struct _object * __cdecl
gPyGetBlendFileList(struct _object *,struct _object *)"
(?gPyGetBlendFileList@@YAPAU_object@@PAU1 at 0@Z)

2008/8/22 Campbell Barton <ideasman42 at gmail.com>

> Could somebody test this?
>
> #ifndef WIN32
>  #include <dirent.h>
>  #include <unistd.h>
> #else
>  #include "BLI_winstuff.h"
>  #include <io.h>
> #endif
>
> On Fri, Aug 22, 2008 at 9:02 PM, Nathan Letwory <jesterking at letwory.net>
> wrote:
> > The filebrowser works, perhaps look into reusing some of that code?
> >
> > On Fri, Aug 22, 2008 at 1:56 PM, lguillaume <lecocqguillaume at gmail.com>
> wrote:
> >> Hello, after searching on web, dirent.h doesn't exist for MSVC.
> >>
> >> Regards.
> >>
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at blender.org
> >> http://lists.blender.org/mailman/listinfo/bf-committers
> >>
> >>
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080822/4a9ea80a/attachment.htm 


More information about the Bf-committers mailing list