fatal error: Inventor/SoRenderManager.h: No such file or dir

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

fatal error: Inventor/SoRenderManager.h: No such file or dir

Post by twohot »

I definitely dont have a "SoRenderManager.h" anywhere in my Coin path.
What Changed?
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by jmaustpc »

Hi
It only in coin 2 if I am understanding this correctly... according to
coin_header_includes.h

Code: Select all

#if COIN_MAJOR_VERSION > 2
#include <Inventor/SoEventManager.h>
#include <Inventor/SoRenderManager.h>

OS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4111 (Git)
Branch: master
Hash: a53a239f2f57ecdc54be10f4821a47c4d762e39d
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1


we are using coin 4...I think Windows is still using coin 3 ...but both are passed version 2.

Jim
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by ickby »

Hello,
with the change to the quarter based viewer we now use SoRenderManager heavily (didn't use it before). This class was introduced with coin3, so you need at least a coind version >= 3.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by jmaustpc »

I just realised I miss read that...it says greater than 2 not "=" 2... :oops:
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by twohot »

This is a bit sad for fedora users ... Coin3 is not in the repos (not even in Rawhide).
I hope it compiles easily
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by twohot »

Code: Select all

../../include/Inventor/SbBasic.h:99:66: error: ‘cc_debugerror_post’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     cc_debugerror_post(funcname, "divide by zero error.", divider);
This is probably the beginning of a nightmare
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by twohot »

Sorry folks, that was Coin3.1.3.

compiling from clone worked fine. Hoping to get a freecad compilation next
User avatar
twohot
Posts: 63
Joined: Tue May 17, 2011 10:48 pm
Location: 9ja://coalcity
Contact:

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by twohot »

Code: Select all

In file included from /home/twohot/Sources/bim+cad/freecad-git/freecad/src/3rdParty/Pivy-0.5/coin_header_includes.h:145:0,
                 from /home/twohot/Sources/bim+cad/freecad-git/freecad/src/3rdParty/Pivy-0.5/coin_wrap.cpp:3930:
/usr/local/include/Inventor/elements/SoGLTexture3EnabledElement.h:36:2: error: #error Deprecated: use SoMultiTextureEnabledElement instead
 #error Deprecated: use SoMultiTextureEnabledElement instead
  ^
Guess there are more issues :(
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by peterl94 »

Does fedora have a pivy package? On debian distros I always take the easy way out and enable FREECAD_USE_EXTERNAL_PIVY.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: fatal error: Inventor/SoRenderManager.h: No such file or

Post by NormandC »

https://apps.fedoraproject.org/packages/python-pivy

That's the same version as Debian/Ubuntu. I would definitely try that.

Edit: it's listed as optional dependency for Fedora on the wiki. http://www.freecadweb.org/wiki/index.ph ... nix#Fedora
Post Reply