Irrlicht Linux Compilation

Source: Internet
Author: User

Irrlicht 0.1 Engine source Code Analysis and Research (i.)

http://blog.csdn.net/wudijunjun/article/details/6376502

Http://baike.baidu.com/view/623466.htm?fr=aladdin

http://blog.csdn.net/zhaole20094463/article/details/8692048

ubuntu12.10 establishment of QT Embedded development Environment (II.)

http://irrlicht.sourceforge.net/

CD downloads/
wget Http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.1.zip

Unzip Irrlicht-1.8.1.zip
CD IRRLICHT-1.8.1/


sudo apt-get-y install vim

sudo apt-get-y install VIM-GTK




Ubuntu Development environment

sudo apt-get-y install make gcc gcc g++ M4

sudo apt-get-y install build-essential minicom
sudo apt-get-y install Mesa-common-dev libgl2-mesa-dev Libglu1-mesa-dev
sudo apt-get-y install Freeglut3-dev freeglut3
sudo apt-get-y install build-essential gdb Subversion
sudo apt-get-y install automake autoconf libtool
sudo apt-get-y install Libgtk2.0-dev libxmu-dev Libxxf86vm-dev
sudo apt-get-y install Binutils-gold
sudo apt-get-y install build-essential



CD source/
CD irrlicht/
Make-j 4

g++-wall-pipe-fno-exceptions-fno-rtti-fstrict-aliasing-g-d_debug-i. /.. /include-izlib-ijpeglib-ilibpng-i/usr/x11r6/include-dirrlicht_exports=1-c-O COPENGLPARALLAXMAPRENDERER.O COpenGLParallaxMapRenderer.cpp
In file included from copengldriver.h:25:0,
From Copenglnormalmaprenderer.cpp:13:
Copenglextensionhandler.h:1236:3: Error: ' Pfnglblendequationproc ' does not name a type
Pfnglblendequationproc pglblendequation;
^
Copenglextensionhandler.h:in member function ' void Irr::video::copenglextensionhandler::extglblendequation (GLenum) ’:
Copenglextensionhandler.h:2566:6: Error: ' Pglblendequation ' is not declared in this scope
if (pglblendequation)
^
In file included from copengldriver.h:25:0,
From Copengldriver.cpp:5:
Copenglextensionhandler.h:1236:3: Error: ' Pfnglblendequationproc ' does not name a type
Pfnglblendequationproc pglblendequation;
^
Copenglextensionhandler.h:in member function ' void Irr::video::copenglextensionhandler::extglblendequation (GLenum) ’:
Copenglextensionhandler.h:2566:6: Error: ' Pglblendequation ' is not declared in this scope
if (pglblendequation)
^
In file included from copengldriver.h:25:0,
From Copenglparallaxmaprenderer.cpp:9:
Copenglextensionhandler.h:1236:3: Error: ' Pfnglblendequationproc ' does not name a type
Pfnglblendequationproc pglblendequation;
^
Copenglextensionhandler.h:in member function ' void Irr::video::copenglextensionhandler::extglblendequation (GLenum) ’:
Copenglextensionhandler.h:2566:6: Error: ' Pglblendequation ' is not declared in this scope
if (pglblendequation)
^
Make: * * * [COPENGLNORMALMAPRENDERER.O] Error 1
Make: * * * waiting for unfinished jobs ....
Make: * * * [COPENGLPARALLAXMAPRENDERER.O] Error 1
Make: * * * [COPENGLDRIVER.O] Error 1


Then, switch back to an old version 1.5.2, built again and then pass compilation
Http://sourceforge.net/projects/irrlicht/files/Irrlicht%20SDK/1.5/1.5.2/irrlicht-1.5.2.zip/download

Ar rs libirrlicht.a cbspmeshfileloader.o cmd2meshfileloader.o cmd3meshfileloader.o cms3dmeshfileloader.o CB3DMESHFILELOADER.O c3dsmeshfileloader.o cogremeshfileloader.o cobjmeshfileloader.o CColladaFileLoader.o CCSMLOADER.O cdmfloader.o clmtsmeshfileloader.o cmy3dmeshfileloader.o coctloader.o CXMeshFileLoader.o CIRRMESHFILELOADER.O cstlmeshfileloader.o clwomeshfileloader.o ccolladameshwriter.o CIrrMeshWriter.o CSTLMESHWRITER.O cobjmeshwriter.o cskinnedmesh.o cbonescenenode.o cmeshscenenode.o CANIMATEDMESHSCENENODE.O CANIMATEDMESHMD2.O canimatedmeshmd3.o cq3levelmesh.o CQUAKE3SHADERSCENENODE.O CBILLBOARDSCENENODE.O CCAMERASCENENODE.O cdummytransformationscenenode.o CEMPTYSCENENODE.O cgeometrycreator.o CLIGHTSCENENODE.O CMESHMANIPULATOR.O cmetatriangleselector.o COCTTREESCENENODE.O cocttreetriangleselector.o CSceneCollisionManager.o CSCENEMANAGER.O cshadowvolumescenenode.o CSKYBOXSCENENODE.O CSKYDOMESCENENODE.O CTERRAINSCENENODE.O CTERRAINTRIANGLESELECTOR.O CVOLUMELIGHTSCENENODE.O CcubesCENENODE.O cspherescenenode.o ctextscenenode.o ctrianglebbselector.o ctriangleselector.o CWATERSURFACESCENENODE.O CMESHCACHE.O cdefaultscenenodeanimatorfactory.o CDEFAULTSCENENODEFACTORY.O CPARTICLEANIMATEDMESHSCENENODEEMITTER.O CPARTICLEBOXEMITTER.O CPARTICLECYLINDEREMITTER.O CPARTICLEMESHEMITTER.O CPARTICLEPOINTEMITTER.O CPARTICLERINGEMITTER.O CPARTICLESPHEREEMITTER.O CPARTICLEATTRACTIONAFFECTOR.O CPARTICLEFADEOUTAFFECTOR.O CPARTICLEGRAVITYAFFECTOR.O CPARTICLEROTATIONAFFECTOR.O CPARTICLESYSTEMSCENENODE.O CPARTICLESCALEAFFECTOR.O CSCENENODEANIMATORCAMERAFPS.O CSCENENODEANIMATORCAMERAMAYA.O CSCENENODEANIMATORCOLLISIONRESPONSE.O CSCENENODEANIMATORDELETE.O CSCENENODEANIMATORFLYCIRCLE.O CSCENENODEANIMATORFLYSTRAIGHT.O CSCENENODEANIMATORFOLLOWSPLINE.O CSCENENODEANIMATORROTATION.O CSCENENODEANIMATORTEXTURE.O cvideomodelist.o cfpscounter.o cnulldriver.o copengldriver.o COpenGLNormalMapRenderer.o COPENGLPARALLAXMAPRENDERER.O COPENGLSHADERMATERIALRENDERER.O COPENGLTEXTURE.O COpenGLSLMaterialReNDERER.O copenglextensionhandler.o cd3d8driver.o cd3d8normalmaprenderer.o cd3d8parallaxmaprenderer.o CD3D8SHADERMATERIALRENDERER.O cd3d8texture.o cd3d9driver.o cd3d9hlslmaterialrenderer.o CD3D9NormalMapRenderer.o CD3D9PARALLAXMAPRENDERER.O cd3d9shadermaterialrenderer.o CD3D9TEXTURE.O ccolorconverter.o CIMAGE.O CIMAGELOADERBMP.O cimageloaderjpg.o cimageloaderpcx.o cimageloaderpng.o cimageloaderpsd.o CImageLoaderTGA.o CIMAGELOADERPPM.O CIMAGELOADERWAL.O cimagewriterbmp.o cimagewriterjpg.o cimagewriterpcx.o CImageWriterPNG.o CIMAGEWRITERPPM.O cimagewriterpsd.o cimagewritertga.o csoftwaredriver.o csoftwaretexture.o CTRFlat.o CTRFLATWIRE.O CTRGOURAUD.O ctrgouraudwire.o ctrtextureflat.o ctrtextureflatwire.o ctrtexturegouraud.o CTRTEXTUREGOURAUDADD.O CTRTEXTUREGOURAUDNOZ.O ctrtexturegouraudwire.o czbuffer.o ctrtexturegouraudvertexalpha2.o CTRTextureGouraudNoZ2.o CTRTEXTURELIGHTMAP2_M2.O ctrtexturelightmap2_m4.o ctrtexturelightmap2_m1.o csoftwaredriver2.o CSoftwareTexture2.o CTRTextureGouraud2. o ctrgouraud2.o ctrgouraudalpha2.o ctrgouraudalphanoz2.o ctrtexturedetailmap2.o ctrtexturegouraudadd2.o CTRTEXTUREGOURAUDADDNOZ2.O ctrtexturewire2.o CTRTEXTURELIGHTMAP2_ADD.O ctrtexturelightmapgouraud2_m4.o IBURNINGSHADER.O ctrtextureblend.o CTRTEXTUREGOURAUDALPHA.O ctrtexturegouraudalphanoz.o CDepthBuffer.o CBURNINGSHADER_RASTER_REFERENCE.O cfilelist.o cfilesystem.o climitreadfile.o cmemoryreadfile.o CREADFILE.O CWRITEFILE.O cxmlreader.o cxmlwriter.o czipreader.o cpakreader.o irrxml.o cattributes.o CIrrDeviceSDL.o CIRRDEVICELINUX.O cirrdevicestub.o cirrdevicewin32.o clogger.o cosoperator.o irrlicht.o os.o CGUIBUTTON.O CGUICHECKBOX.O cguicombobox.o cguicontextmenu.o cguieditbox.o cguienvironment.o CGUIFileOpenDialog.o CGUIFONT.O CGUIIMAGE.O cguiinoutfader.o cguilistbox.o cguimenu.o cguimeshviewer.o cguimessagebox.o CGUIMODALSCREEN.O CGUISCROLLBAR.O cguispinbox.o cguiskin.o cguistatictext.o cguitabcontrol.o cguitable.o CGUIToolBar.o CGUIWindow.o CGUICOLORSELECTDIALOG.O CdefaultguielemeNTFACTORY.O cguispritebank.o zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o ZLIB/INFLATE.O ZLIB/INFTREES.O zlib/trees.o zlib/uncompr.o zlib/zutil.o jpeglib/jcapimin.o jpeglib/jcapistd.o JPEGLIB/JCCOEFCT.O JPEGLIB/JCCOLOR.O jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o jpeglib/jcmarker.o jpeglib /JCMASTER.O jpeglib/jcomapi.o jpeglib/jcparam.o jpeglib/jcphuff.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/ JCTRANS.O jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o jpeglib/jdcoefct.o jpeglib/ JDCOLOR.O jpeglib/jddctmgr.o jpeglib/jdhuff.o jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/ JDMASTER.O jpeglib/jdmerge.o jpeglib/jdphuff.o jpeglib/jdpostct.o jpeglib/jdsample.o jpeglib/jdtrans.o jpeglib/ JERROR.O jpeglib/jfdctflt.o jpeglib/jfdctfst.o jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/ JIDCTINT.O jpeglib/jidctred.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o jpeglib/jQUANT2.O jpeglib/jutils.o libpng/png.o libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o libpng/ PNGREAD.O libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o LIBPNG/PNGWRITE.O LIBPNG/PNGWTRAN.O LIBPNG/PNGWUTIL.O
Ar:creating LIBIRRLICHT.A
CP Libirrlicht.a. /.. /lib/linux



CD Irrlicht-1.5.2/examples
Make
CD Irrlicht-1.5.2/bin/linux
./01.helloworld

A demo window would pop-up. But the its CPU rendering.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.