Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th October 2007, 07:39 PM
nicofo's Avatar
nicofo Offline
Registered User
 
Join Date: Nov 2005
Posts: 132
3D plugin with compiz-fusion

I would like to install the 3D plugin for compiz-fusion: since it is not in the kagesenshi repo, I have to compile it following those info : http://wiki.compiz-fusion.org/Install/PluginsFromGit

And it doesnt work (though I have installed bcop and devel files for compiz):

Code:
$ make 
convert   : 3d.xml.in -> build/3d.xml
bcop'ing  : build/3d.xml -> build/3d_options.h
bcop'ing  : build/3d.xml -> build/3d_options.c
schema    : build/3d.xml -> build/compiz-3d.schema
compiling : 3d.c -> build/3d.lo3d.c:39:25: error: compiz-core.h: No such file or directory
3d.c:40:25: error: compiz-cube.h: No such file or directory
In file included from 3d.c:41:
build/3d_options.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:30: error: expected ')' before '*' token
build/3d_options.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:50: error: expected ')' before '*' token
build/3d_options.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:56: error: expected ')' before '*' token
build/3d_options.h:58: error: expected ')' before '*' token
build/3d_options.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:60: error: expected ')' before '*' token
build/3d_options.h:62: error: expected ')' before '*' token
build/3d_options.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:64: error: expected ')' before '*' token
build/3d_options.h:66: error: expected ')' before '*' token
build/3d_options.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:68: error: expected ')' before '*' token
build/3d_options.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdGetManualOnly'
build/3d_options.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:72: error: expected ')' before '*' token
build/3d_options.h:74: error: expected ')' before '*' token
build/3d_options.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:76: error: expected ')' before '*' token
build/3d_options.h:78: error: expected ')' before '*' token
build/3d_options.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:80: error: expected ')' before '*' token
build/3d_options.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdGetBevelTopleft'
build/3d_options.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:84: error: expected ')' before '*' token
build/3d_options.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdGetBevelTopright'
build/3d_options.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:88: error: expected ')' before '*' token
build/3d_options.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdGetBevelBottomleft'
build/3d_options.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:92: error: expected ')' before '*' token
build/3d_options.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdGetBevelBottomright'
build/3d_options.h:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
build/3d_options.h:96: error: expected ')' before '*' token
3d.c:61: error: expected specifier-qualifier-list before 'Bool'
3d.c:74: error: expected specifier-qualifier-list before 'PreparePaintScreenProc'
3d.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'windowIs3D'
3d.c:135: error: expected ')' before '*' token
3d.c:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintWindow'
3d.c:230: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintWindowWithDepth'
3d.c:419: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintWindow'
3d.c:467: error: expected ')' before '*' token
3d.c:483: error: expected ')' before '*' token
3d.c:500: error: expected ')' before '*' token
3d.c:660: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintOutput'
3d.c:685: error: expected ')' before '*' token
3d.c:697: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
3d.c:704: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
3d.c:711: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
3d.c:718: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
3d.c:726: error: expected ')' before '*' token
3d.c:746: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitDisplay'
3d.c:777: error: expected ')' before '*' token
3d.c:788: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitScreen'
3d.c:830: error: expected ')' before '*' token
3d.c:850: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitWindow'
3d.c:872: error: expected ')' before '*' token
3d.c:881: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInit'
3d.c:891: error: expected ')' before '*' token
3d.c:897: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitObject'
3d.c:911: error: expected ')' before '*' token
3d.c:924: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdVTable'
3d.c:935: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/3d.lo] Error 1
The file compiz-cube.h has not been found. I have tried this: (the file is in fact cube.h it seems...)
Code:
cd /usr/lib/compiz
ln -s cube.h compiz-cube.h
ln -s compiz.h compiz-core.h
The errors become:
Code:
$ make 
convert   : 3d.xml.in -> build/3d.xml
bcop'ing  : build/3d.xml -> build/3d_options.h
bcop'ing  : build/3d.xml -> build/3d_options.c
schema    : build/3d.xml -> build/compiz-3d.schema
compiling : 3d.c -> build/3d.lo3d.c:76: error: expected specifier-qualifier-list before 'CubePostPaintViewportProc'
3d.c: In function 'tdPreparePaintScreen':
3d.c:142: error: 'CompScreen' has no member named 'base'
3d.c:142: error: 'CompDisplay' has no member named 'base'
3d.c:154: error: 'tdScreen' has no member named 'maxDepth'


<a lot of similar errors>


3d.c:620: error: 'tdScreen' has no member named 'currentScale'
3d.c:623: error: 'tdScreen' has no member named 'bTransform'
3d.c:626: error: 'CompScreen' has no member named 'enableOutputClipping'
3d.c:631: error: 'CompScreen' has no member named 'windowOffsetX'
3d.c:631: error: 'CompScreen' has no member named 'windowOffsetY'
3d.c:632: warning: implicit declaration of function 'windowOnAllViewports'
3d.c:632: warning: nested extern declaration of 'windowOnAllViewports'
3d.c:634: warning: implicit declaration of function 'getWindowMovementForOffset'
3d.c:634: warning: nested extern declaration of 'getWindowMovementForOffset'
3d.c:634: error: 'CompScreen' has no member named 'windowOffsetX'
3d.c:635: error: 'CompScreen' has no member named 'windowOffsetY'
3d.c:638: error: 'tdScreen' has no member named 'bTransform'
3d.c:640: error: 'PAINT_WINDOW_WITH_OFFSET_MASK' undeclared (first use in this function)
3d.c:640: error: (Each undeclared identifier is reported only once
3d.c:640: error: for each function it appears in.)
3d.c:650: error: 'CompScreen' has no member named 'disableOutputClipping'


<a lot of similar errors>


3d.c:692: error: 'tdScreen' has no member named 'donePaintScreen'
3d.c:694: error: 'tdScreen' has no member named 'donePaintScreen'
3d.c: In function 'tdWalkFirst':


<a lot of similar errors>


3d.c:841: error: 'tdScreen' has no member named 'applyScreenTransform'
3d.c:842: error: 'CubeScreen' has no member named 'postPaintViewport'
3d.c:842: error: 'tdScreen' has no member named 'postPaintViewport'
3d.c: In function 'tdInitWindow':
3d.c:855: error: 'CompScreen' has no member named 'base'
3d.c:855: error: 'CompDisplay' has no member named 'base'
3d.c:866: error: 'CompWindow' has no member named 'base'
3d.c: In function 'tdFiniWindow':
3d.c:875: error: 'CompWindow' has no member named 'base'
3d.c:875: error: 'CompScreen' has no member named 'base'
3d.c:875: error: 'CompDisplay' has no member named 'base'
3d.c: At top level:
3d.c:897: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitObject'
3d.c:912: error: expected declaration specifiers or '...' before 'CompObject'
3d.c: In function 'tdFiniObject':
3d.c:914: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dispTab'
3d.c:914: error: 'dispTab' undeclared (first use in this function)
3d.c:914: error: expected expression before ']' token
3d.c:921: warning: implicit declaration of function 'DISPATCH'
3d.c:921: warning: nested extern declaration of 'DISPATCH'
3d.c:921: error: 'o' undeclared (first use in this function)
3d.c:921: warning: implicit declaration of function 'ARRAY_SIZE'
3d.c:921: warning: nested extern declaration of 'ARRAY_SIZE'
3d.c:921: warning: left-hand operand of comma expression has no effect
3d.c: At top level:
3d.c:927: warning: initialization from incompatible pointer type
3d.c:928: warning: initialization from incompatible pointer type
3d.c:929: error: 'tdInitObject' undeclared here (not in a function)
3d.c:930: warning: initialization from incompatible pointer type
make: *** [build/3d.lo] Error 1
Has anyone ever succeeded compiling this plugin ?
__________________
Install XGL on Fedora, easily: Automatic Installation of XGL
NEW - propose to install compiz-fusion as well !
Reply With Quote
  #2  
Old 13th October 2007, 08:02 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Try building a snapshot between 2007-07-31 & 2007-08-29 as there has been many changes since the compiz-fusion-0.5.2 packages where released.

http://gitweb.opencompositing.org/?p.../3d;a=shortlog

This snapshot should build ok ( 2007-08-28 )

http://gitweb.opencompositing.org/?p...42a7ba6f449aa6
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5

Last edited by leigh123linux; 13th October 2007 at 08:35 PM.
Reply With Quote
  #3  
Old 13th October 2007, 08:43 PM
axel's Avatar
axel Offline
Registered User
 
Join Date: Apr 2005
Location: Thessaloniki, Greece
Posts: 290
With 3d plugin you mean the one that elavates windows while rotating the cube, right? Take a look here what I've done to compile and install all packages from git.

How To compile and install compiz-fusion from git on Fedora 7
Reply With Quote
  #4  
Old 13th October 2007, 09:09 PM
nicofo's Avatar
nicofo Offline
Registered User
 
Join Date: Nov 2005
Posts: 132
Thanks Leigh, it works (the last one that compiles is the one from 29-08-07)

Axel: yes it's that plugin. Thanks for the link. However I don't want to compile compiz-fusion myself just to have the latest version of the 3D plugin working...
__________________
Install XGL on Fedora, easily: Automatic Installation of XGL
NEW - propose to install compiz-fusion as well !
Reply With Quote
  #5  
Old 23rd October 2007, 10:29 PM
nicofo's Avatar
nicofo Offline
Registered User
 
Join Date: Nov 2005
Posts: 132
Hello,
I've updated to compiz-0.6.2-100.fc7 (thanks Leigh)
And that's the same than with the prvious version (compiz-0.5.2-0.1.fc7) : only the version of 29-08-07 compiles, not the latest one. Is it normal ?
__________________
Install XGL on Fedora, easily: Automatic Installation of XGL
NEW - propose to install compiz-fusion as well !
Reply With Quote
  #6  
Old 23rd October 2007, 10:39 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by nicofo
Hello,
I've updated to compiz-0.6.2-100.fc7 (thanks Leigh)
And that's the same than with the prvious version (compiz-0.5.2-0.1.fc7) : only the version of 29-08-07 compiles, not the latest one. Is it normal ?
I think this is because I used the stable plugin packages for the build ( I will try using the master snapshot next time )

http://forums.fedoraforum.org/forum/...&postcount=447
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
Reply

Tags
compizfusion, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F9 compiz-0.7.5 packages added to the compiz-fusion repo leigh123linux Alpha - Beta (Fedora 9 Only) 3 19th April 2008 01:08 AM
compiz fusion 'Shift Switcher' plugin bowens44 Using Fedora 6 21st March 2008 09:23 PM
How to enable the screen saver plugin of compiz-fusion? sweetrain Using Fedora 0 29th November 2007 08:26 PM
REQUEST: Compiz-Fusion snow plugin textures? PhillyFloyd Linux Chat 4 6th October 2007 07:23 PM
Fedora 7 +Intel965+ [Beryl, Compiz, Compiz-Fusion] Freezes bala04 Hardware & Laptops 0 15th September 2007 08:43 PM


Current GMT-time: 13:08 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat