Re: [CrystalSpace] #996: assimpldr.cpp compile error on Fedora 18
"CrystalSpace" <[email protected]> Fri, 02 Aug 2013 16:15:55 -0000
| Newsgroups | gmane.comp.graphics.crystalspace.tracker |
|---|---|
| Message-ID | <[email protected]> |
#996: assimpldr.cpp compile error on Fedora 18
---------------------------+------------------------------------------------
Reporter: ralphcampbell | Owner: admin
Type: defect | Status: new
Priority: minor | Milestone:
Component: other plugins | Version: V2.1
Keywords: |
---------------------------+------------------------------------------------
Comment(by ralphcampbell):
I thought this might raise some questions. It seemed odd to me too.
{{{
$ rpm -qi assimp-devel.x86_64
Name : assimp-devel
Version : 2.0.863
Release : 9.20110824svn.fc18
Architecture: x86_64
Install Date: Wed 24 Jul 2013 09:55:00 PM PDT
Group : Development/Libraries
Size : 3390886
License : BSD
Signature : RSA/SHA256, Sat 06 Jul 2013 09:38:09 AM PDT, Key ID
ff01125cde7f38bd
Source RPM : assimp-2.0.863-9.20110824svn.fc18.src.rpm
Build Date : Fri 05 Jul 2013 04:18:36 PM PDT
Build Host : buildvm-05.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://assimp.sourceforge.net
Summary : Header files and libraries for assimp
Description :
This package contains the header files and libraries
for assimp. If you would like to develop programs using assimp,
you will need to install assimp-devel.
}}}
So it seems that version 2 is install.
CS ./configure correctly generates "#define CS_ASSIMP_VERSION 2" in
csconfig.h.
plugins/mesh/persist/assimpldr/assimpldr.h includes the set of files
installed on my system.
But /usr/include/assimp/Logger.h defines enum Err not ERR so it seems like
the defines are swapped.
I would actually argue that the #if in assimpldr.cpp should be moved into
CS assimpldr.h with the test for which files to include.
--
Ticket URL: <http://trac.crystalspace3d.org/trac/CS/ticket/996#comment:3>
CrystalSpace <http://www.crystalspace3d.org/>
Free open-source 3D SDK.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk