pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42867: Ogre Application can't compile because of OgreTimerImp.h include

>Number:         42867
>Category:       pkg
>Synopsis:       Ogre Application can't compile because of  OgreTimerImp.h 
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 22 17:50:00 +0000 2010
>Originator:     Thomas Nivelet
>Release:        current
NetBSD  5.99.24 NetBSD 5.99.24 (GENERIC) #0: Tue Feb  2 10:36:02 UTC 2010
when compiling Ogre Application with ogre.h include, an error occur during the 
In file included from /usr/pkg/include/OGRE/OgreTimer.h:39,
                 from /usr/pkg/include/OGRE/OgreRenderTarget.h:37,
                 from /usr/pkg/include/OGRE/OgreRenderSystem.h:42,
                 from /usr/pkg/include/OGRE/Ogre.h:88,
                 from ogreengine.hpp:5,
                 from ogreengine.cpp:1:
/usr/pkg/include/OGRE/GLX/OgreTimerImp.h:33:31: error: OgrePrerequisites.h: No 
such file or directory
OgrePrerequisites.h is in the Ogre directory not the GLX one, but OgreTimeImph 
search in the GLX directory
just compile an home-made Application including <Ogre.h>

here is a simple patch which work for me:

--- OgreTimerImp.h      2010-02-22 18:41:25.000000000 +0100
+++ OgreTimerImp.h      2010-02-22 18:42:18.000000000 +0100
@@ -30,7 +30,7 @@ Torus Knot Software Ltd.
 #ifndef __GLXTimer_H__
 #define __GLXTimer_H__
-#include "OgrePrerequisites.h"
+#include "../OgrePrerequisites.h"
 namespace Ogre

Home | Main Index | Thread Index | Old Index