lcjava / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

Scripting\Interfaces\AngelLuaWrappingIntroGame.cpp #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
###What steps will reproduce the problem?
1. i download the svn
2. i build in Release
---------------------------------------------------------------------

###What is the expected output? What do you see instead?

1>------ Rebuild All started: Project: _libogg, Configuration: Release Win32 
------
2>------ Rebuild All started: Project: _LuaLib, Configuration: Release Win32 
------
2>Deleting intermediate and output files for project '_LuaLib', configuration 
'Release|Win32'
1>Deleting intermediate and output files for project '_libogg', configuration 
'Release|Win32'
1>Compiling...
2>Compiling...
1>bitwise.c
2>lapi.c
1>framing.c
1>Creating library...
2>spawn.c
1>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\libogg-1.2.0\win32\VS2
008\Win32\Release\BuildLog.htm"
1>_libogg - 0 error(s), 0 warning(s)
2>pusherror.c
2>ex.c
2>dirent.c
2>lfs.c
3>------ Rebuild All started: Project: _libvorbis, Configuration: Release Win32 
------
2>lzio.c
2>lvm.c
2>lundump.c
3>Deleting intermediate and output files for project '_libvorbis', 
configuration 'Release|Win32'
2>luac.c
2>ltm.c
2>ltablib.c
2>ltable.c
2>lstrlib.c
2>lstring.c
2>lstate.c
2>lparser.c
2>loslib.c
2>lopcodes.c
2>lobject.c
2>Compiling...
2>loadlib.c
2>lmem.c
2>lmathlib.c
2>llex.c
2>liolib.c
2>linit.c
2>lgc.c
2>lfunc.c
2>ldump.c
2>ldo.c
2>ldebug.c
2>ldblib.c
2>lcode.c
2>lbaselib.c
2>lauxlib.c
2>Creating library...
3>Compiling...
2>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\lua-5.1.4\ReleaseLibBu
ild\BuildLog.htm"
2>_LuaLib - 0 error(s), 0 warning(s)
3>analysis.c
3>window.c
3>vorbisenc.c
4>------ Rebuild All started: Project: _freetype, Configuration: Release Win32 
------
4>Deleting intermediate and output files for project '_freetype', configuration 
'Release|Win32'
3>synthesis.c
4>Compiling...
3>smallft.c
4>autofit.c
3>sharedbook.c
3>res0.c
4>winfnt.c
3>registry.c
3>psy.c
4>type42.c
3>mdct.c
4>type1cid.c
3>mapping0.c
3>lsp.c
4>type1.c
3>lpc.c
3>lookup.c
3>info.c
4>truetype.c
3>floor1.c
3>floor0.c
4>sfnt.c
3>envelope.c
3>codebook.c
3>block.c
4>raster.c
4>psmodule.c
3>Compiling...
3>bitrate.c
4>pshinter.c
3>Creating library...
4>psaux.c
3>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\libvorbis-1.3.1\win32\
VS2008\libvorbis\Win32\Release\BuildLog.htm"
3>_libvorbis - 0 error(s), 0 warning(s)
5>------ Rebuild All started: Project: _LuaExe, Configuration: Release Win32 
------
4>pfr.c
4>pcf.c
4>ftwinfnt.c
5>Deleting intermediate and output files for project '_LuaExe', configuration 
'Release|Win32'
4>fttype1.c
4>ftsynth.c
4>ftpfr.c
4>ftmm.c
4>ftbbox.c
4>smooth.c
4>Generating Code...
4>Compiling...
4>ftsystem.c
4>ftstroke.c
4>ftlzw.c
4>ftinit.c
4>ftgzip.c
4>ftglyph.c
4>ftgasp.c
4>ftcache.c
4>ftbitmap.c
4>ftbase.c
4>cff.c
4>bdf.c
4>Generating Code...
5>Compiling...
4>Compiling...
5>lua.c
4>ftdebug.c
4>Creating library...
5>Linking...
5>Generating code
4>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\freetype-2.3.7\objs\re
lease\BuildLog.htm"
4>_freetype - 0 error(s), 0 warning(s)
6>------ Rebuild All started: Project: _GLFW, Configuration: Release Win32 
------
5>Finished generating code
6>Deleting intermediate and output files for project '_GLFW', configuration 
'Release|Win32'
5>Embedding manifest...
6>Compiling...
6>enable.c
5>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\lua-5.1.4\ReleaseExeBu
ild\BuildLog.htm"
5>_LuaExe - 0 error(s), 0 warning(s)
6>window.c
7>------ Rebuild All started: Project: _libvorbisfile, Configuration: Release 
Win32 ------
6>win32_window.c
6>win32_time.c
7>Deleting intermediate and output files for project '_libvorbisfile', 
configuration 'Release|Win32'
6>win32_thread.c
6>win32_joystick.c
7>Compiling...
6>win32_init.c
6>win32_glext.c
6>win32_fullscreen.c
6>win32_enable.c
6>win32_dllmain.c
6>time.c
6>thread.c
6>tga.c
6>stream.c
6>joystick.c
6>input.c
6>init.c
6>image.c
6>glext.c
6>Compiling...
6>fullscreen.c
7>vorbisfile.c
6>Creating library...
7>Creating library...
7>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\libvorbis-1.3.1\win32\
VS2008\libvorbisfile\Win32\Release\BuildLog.htm"
7>_libvorbisfile - 0 error(s), 0 warning(s)
8>------ Rebuild All started: Project: _Box2D, Configuration: Release Win32 
------
6>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\glfw\support\msvc80\Re
lease\BuildLog.htm"
6>_GLFW - 0 error(s), 0 warning(s)
8>Deleting intermediate and output files for project '_Box2D', configuration 
'Release|Win32'
8>Compiling...
9>------ Rebuild All started: Project: _FTGL, Configuration: Release MT Win32 
------
8>b2Body.cpp
8>b2PolygonShape.cpp
8>b2CircleShape.cpp
9>Deleting intermediate and output files for project '_FTGL', configuration 
'Release MT|Win32'
8>b2TimeOfImpact.cpp
8>b2DynamicTree.cpp
8>b2Distance.cpp
8>b2Collision.cpp
8>b2CollidePolygon.cpp
8>b2CollideCircle.cpp
8>b2BroadPhase.cpp
8>b2StackAllocator.cpp
8>b2Settings.cpp
8>b2Math.cpp
8>b2BlockAllocator.cpp
8>b2TOISolver.cpp
8>b2PolygonContact.cpp
8>b2PolygonAndCircleContact.cpp
8>b2ContactSolver.cpp
8>b2Contact.cpp
8>b2CircleContact.cpp
8>Compiling...
8>b2WeldJoint.cpp
8>b2RevoluteJoint.cpp
8>b2PulleyJoint.cpp
8>b2PrismaticJoint.cpp
8>b2MouseJoint.cpp
8>b2LineJoint.cpp
8>b2Joint.cpp
8>b2GearJoint.cpp
8>b2FrictionJoint.cpp
8>b2DistanceJoint.cpp
8>b2WorldCallbacks.cpp
8>b2World.cpp
8>b2Island.cpp
8>b2Fixture.cpp
8>b2ContactManager.cpp
8>Creating library...
9>Compiling...
9>FTBitmapGlyph.cpp
8>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\Box2D-2.1.2\Box2D\Rele
ase\BuildLog.htm"
8>_Box2D - 0 error(s), 0 warning(s)
9>FTVectoriser.cpp
9>FTTextureGlyph.cpp
9>FTSize.cpp
9>FTPolyGlyph.cpp
9>FTPoint.cpp
9>FTPixmapGlyph.cpp
9>FTOutlineGlyph.cpp
9>FTLibrary.cpp
9>FTGlyphContainer.cpp
9>FTGlyph.cpp
9>FTGLTextureFont.cpp
9>FTGLPolygonFont.cpp
9>FTGLPixmapFont.cpp
9>FTGLOutlineFont.cpp
9>FTGLExtrdFont.cpp
9>FTGLBitmapFont.cpp
9>FTFont.cpp
9>FTFace.cpp
9>FTExtrdGlyph.cpp
9>Generating Code...
9>Compiling...
9>FTContour.cpp
9>FTCharmap.cpp
9>Generating Code...
9>Creating library...
9>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Libraries\FTGL\win32_vcpp\ftgl_s
tatic_lib\Release_MT\BuildLog.htm"
9>_FTGL - 0 error(s), 0 warning(s)
10>------ Rebuild All started: Project: Angel, Configuration: Release Win32 
------
10>Deleting intermediate and output files for project 'Angel', configuration 
'Release|Win32'
10>Compiling...
10>stdafx.cpp
10>Compiling...
10>GotoAIEvent.cpp
10>LuaModule.cpp
10>LuaConsole.cpp
10>Switchboard.cpp
10>Message.cpp
10>World.cpp
10>Vector3.cpp
10>Vector2.cpp
10>TuningVariable.cpp
10>Textures.cpp
10>TextRendering.cpp
10>TagCollection.cpp
10>SoundDevice.cpp
10>RenderableIterator.cpp
10>Log.cpp
10>GameManager.cpp
10>Console.cpp
10>Color.cpp
10>Camera.cpp
10>StringUtil.cpp
10>Compiling...
10>MathUtil.cpp
10>FileUtil.cpp
10>DrawUtil.cpp
10>Traversal.cpp
10>SpatialGraph.cpp
10>Sentient.cpp
10>Ray2.cpp
10>PathFinder.cpp
10>Brain.cpp
10>BoundingShapes.cpp
10>TextActor.cpp
10>PhysicsActor.cpp
10>ParticleActor.cpp
10>GridActor.cpp
10>FullScreenActor.cpp
10>Actor.cpp
10>MultiTouch.cpp
10>MouseInput.cpp
10>MobileSimulator.cpp
10>InputManager.cpp
10>Compiling...
10>Input.cpp
10>Controller.cpp
10>TraversalAIEvent.cpp
10>TimerAIEvent.cpp
10>NamedEventAIEvent.cpp
10>GotoTargetAIEvent.cpp
10>Creating library...
10>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\Angel\Release\BuildLog.htm"
10>Angel - 0 error(s), 0 warning(s)
11>------ Rebuild All started: Project: ClientGame, Configuration: Release 
Win32 ------
11>Deleting intermediate and output files for project 'ClientGame', 
configuration 'Release|Win32'
11>Scripting setup...
11>Compiling...
11>stdafx.cpp
11>Compiling...
11>Main.cpp
11>Linking...
11>Angel.lib(LuaModule.obj) : error LNK2001: unresolved external symbol 
_luaopen_angel
11>Release\ClientGame.exe : fatal error LNK1120: 1 unresolved externals
11>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\ClientGame\Release\BuildLog.htm"
11>ClientGame - 2 error(s), 0 warning(s)
12>------ Rebuild All started: Project: IntroGame, Configuration: Release Win32 
------
12>Deleting intermediate and output files for project 'IntroGame', 
configuration 'Release|Win32'
12>Scripting setup...
12>Compiling...
12>stdafx.cpp
12>Compiling...
12>Main.cpp
12>DemoGameManager.cpp
12>DemoScreenTuningVariables.cpp
12>DemoScreenStart.cpp
12>DemoScreenSimpleActor.cpp
12>DemoScreenRenderLayers.cpp
12>DemoScreenPhysicsActor.cpp
12>DemoScreenPathfinding.cpp
12>DemoScreenParticleActors.cpp
12>DemoScreenMultipleControllers.cpp
12>DemoScreenMovingActor.cpp
12>DemoScreenMobileSimulator.cpp
12>DemoScreenMessagePassing.cpp
12>DemoScreenLevelFile.cpp
12>DemoScreenLayeredCollisionLevelFile.cpp
12>DemoScreenIntervals.cpp
12>DemoScreenInstructions.cpp
12>DemoScreenImageMap.cpp
12>DemoScreenDefFile.cpp
12>DemoScreenControllerInstructions.cpp
12>Compiling...
12>DemoScreenConsole.cpp
12>DemoScreenByeBye.cpp
12>DemoScreenBindingInstructions.cpp
12>Compiling...
12>AngelLuaWrappingIntroGame.cpp
12>c1xx : fatal error C1083: Cannot open source file: 
'..\Angel\Scripting\Interfaces\AngelLuaWrappingIntroGame.cpp': No such file or 
directory
12>Build log was saved at "file://c:\Documents and 
Settings\Administrator\Desktop\angle\Code\IntroGame\Release\BuildLog.htm"
12>IntroGame - 1 error(s), 0 warning(s)
========== Rebuild All: 10 succeeded, 2 failed, 0 skipped ==========

---------------------------------------------------------------------
###What version of the product are you using? On what operating system? 
        answer :from SVN

###i used V2008

Original issue reported on code.google.com by omar....@gmail.com on 5 May 2011 at 1:58

GoogleCodeExporter commented 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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
and this:

 error LNK2001: unresolved external symbol _luaopen_angel

Original comment by omar....@gmail.com on 5 May 2011 at 6:23

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
can you explain more.... sry

Original comment by omar....@gmail.com on 5 May 2011 at 7:20

GoogleCodeExporter commented 8 years ago
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