bvanevery@nomad:~/devel/shader-pipeline/source/Irrlicht$ make
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 COpenGLDriver.o COpenGLDriver.cpp
In file included from COpenGLDriver.cpp:11:0:
COpenGLTexture.h: In constructor ‘irr::video::COpenGLTexture::SStatesCache::SStatesCache()’:
COpenGLTexture.h:71:8: warning: ‘irr::video::COpenGLTexture::SStatesCache::IsCached’ will be initialized after [-Wreorder]
COpenGLTexture.h:69:6: warning: ‘irr::s8 irr::video::COpenGLTexture::SStatesCache::LODBias’ [-Wreorder]
COpenGLTexture.h:58:3: warning: when initialized here [-Wreorder]
In file included from COpenGLDriver.cpp:5:0:
COpenGLDriver.h: In constructor ‘irr::video::COpenGLDriver::COpenGLDriver(const irr::SIrrlichtCreationParameters&, irr::io::IFileSystem*, irr::CIrrDeviceLinux*)’:
COpenGLDriver.h:637:22: warning: ‘irr::video::COpenGLDriver::LastVertexDescriptor’ will be initialized after [-Wreorder]
COpenGLDriver.h:471:28: warning: ‘irr::video::COpenGLCallBridge* irr::video::COpenGLDriver::BridgeCalls’ [-Wreorder]
COpenGLDriver.cpp:620:1: warning: when initialized here [-Wreorder]
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::drawVertexPrimitiveList(bool, irr::scene::IVertexBuffer*, bool, irr::scene::IIndexBuffer*, irr::u32, irr::scene::E_PRIMITIVE_TYPE)’:
COpenGLDriver.cpp7: error: expected unqualified-id before numeric constant
COpenGLDriver.cpp19: error: lvalue required as left operand of assignment
COpenGLDriver.cpp9: warning: enumeration value ‘EVAS_COUNT’ not handled in switch [-Wswitch]
make: *** [COpenGLDriver.o] Error 1
bvanevery@nomad:~/devel/shader-pipeline/source/Irrlicht$
[fixed]compile error in SVN shader-pipeline branch
[fixed]compile error in SVN shader-pipeline branch
I grabbed the SVN shader-pipeline branch to see what kind of OpenGL 3.x 4.x stuff is happening. Mostly it builds, but I get the following error. I'm using Lubuntu 12.10 Linux.
Re: compile error in SVN shader-pipeline branch
Do you use the latest revision of this branch? Compiler has got problems with this lines:
But I don't see problems here. Maybe SVN or encoding changed something. Please check upper lines if they are different than original. Warnings will be fixed after update branch to trunk (CuteAlien already fixed warnings in trunk).
Code: Select all
bool NormalState = false; // 1665
NormalState = true; // 1680
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: compile error in SVN shader-pipeline branch
My working copy of SVN is at latest rev 4473. svn diff yields no differences. Are you sure you have no diffs from 4473? Otherwise, I'm on Lubuntu 12.10 Linux with gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2. What are you using? I've never installed an Irrlicht; do you have any paths for include files that I wouldn't have?
bvanevery@nomad:~/devel/shader-pipeline/source/Irrlicht$ svn info
Path: .
Working Copy Root Path: /home/bvanevery/devel/shader-pipeline
URL: https://irrlicht.svn.sourceforge.net/sv ... e/Irrlicht
Repository Root: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht
Repository UUID: dfc29bdd-3216-0410-991c-e03cc46cb475
Revision: 4483
Node Kind: directory
Schedule: normal
Last Changed Author: nadro
Last Changed Rev: 4473
Last Changed Date: 2013-03-07 09:51:52 -0500 (Thu, 07 Mar 2013)
Re: compile error in SVN shader-pipeline branch
Fixed in the latest revision. I tested it with Ubuntu 12.10. Thanks for a report
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: compile error in SVN shader-pipeline branch
Confirmed as fixed!