Closed GoogleCodeExporter closed 8 years ago
There's a bug in SWIG 2.0.2 that prevents Angel from building when it's on a
path with spaces. If you put it on a path without spaces (C:\Projects, for
example), this problem should go away.
Annoying, but we'll update to the newer SWIG before release.
Original comment by lieseg...@gmail.com
on 5 May 2011 at 5:31
thanks for reply ... but its not solve the problem
i download again for svn to C:\MyGame\ folder
and build it again... i got the same thing :
fatal error C1083: Cannot open source file: '..\Angel\Scripting\Interfaces\AngelLuaWrapping.cpp': No such file or directory
Original comment by omar....@gmail.com
on 5 May 2011 at 6:17
and this:
error LNK2001: unresolved external symbol _luaopen_angel
Original comment by omar....@gmail.com
on 5 May 2011 at 6:23
The link error is caused by not finding the wrapping file. Does that file
exist? It won't get generated if SWIG can't process the file path. Make sure
you're trying from a clean checkout or export.
Original comment by lieseg...@gmail.com
on 5 May 2011 at 7:06
can you explain more.... sry
Original comment by omar....@gmail.com
on 5 May 2011 at 7:20
I was saying that the second error is being caused by the first -- they're
actually the same issue.
Does the file Angel\Scripting\Interfaces\AngelLuaWrapping.cpp exist? It is
generated by the build process but can't be if you're on a path with spaces.
Thus the compiler can't build it and you end up with undefined symbols when you
go to link.
(The bug log isn't the best place for this kind of discussion.)
Original comment by lieseg...@gmail.com
on 5 May 2011 at 8:29
Original issue reported on code.google.com by
omar....@gmail.com
on 5 May 2011 at 1:58