[Csnd] wii don't recognized by scons build
Date | 2012-07-12 14:06 |
From | francesco |
Subject | [Csnd] wii don't recognized by scons build |
Hello All, i am building Csound from git in a fresh installation of Ubuntu 12.04 and i have some problem building with wii opcode. I have build and installed wiiuse 0.12 (from Mr. Ffitch) and seems ok, at least there are libwiiuse.so in /usr/local/lib and wiiuse.h in /usr/local/include. But scons with option includeWii=12 seem don't find the header. Is there something that i can do to fix this or i'm wrong somethings? Ubuntu 12.04, 32bit, latest csound5 git. Thanks All, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/wii-don-t-recognized-by-scons-build-tp5714169.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-07-12 14:16 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] wii don't recognized by scons build |
> Hello All, > i am building Csound from git in a fresh installation of Ubuntu 12.04 and > i > have some problem > building with wii opcode. I have build and installed wiiuse 0.12 (from Mr. > Ffitch) and seems ok, > at least there are libwiiuse.so in /usr/local/lib and wiiuse.h in > /usr/local/include. > But scons with option includeWii=12 seem don't find the header. What message does scons give? Looking at SConstruct that suggest sthar it cannot find wiiuse.h in the paths. My ubuntu system is at the other office -- can check more later today ==John ff |
Date | 2012-07-12 14:50 |
From | francesco |
Subject | [Csnd] Re: wii don't recognized by scons build |
yes it seems that scons don't see the header (but the file is present), Checking for C header file wiiuse.h... no CONFIGURATION DECISION: No Wiimote support maybe trying to add something in custom.py? I tried adding CFLAGS to the src directory of wiiuse where are lib and header, but without luck (in my case it's really about luck). Thanks, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/wii-don-t-recognized-by-scons-build-tp5714169p5714171.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-07-12 15:32 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: wii don't recognized by scons build |
> yes it seems that scons don't see the header (but the file is present), > > Checking for C header file wiiuse.h... no > CONFIGURATION DECISION: No Wiimote support > > maybe trying to add something in custom.py? > my custom.py says if sys.platform[:5] == 'linux': platform = 'linux' customCPPPATH.append('/usr/lib64/jvm/java-1.5.0/include') customCPPPATH.append('/usr/lib64/jvm/java-1.5.0/include/linux') customCCFLAGS.append('-I/usr/local/include/libcwiimote-.4.0libcwiimote') You might havre to add suimilar. If wiiuse.h is in /usr/local/include then say customCCFLAGS.append('-I/usr/local/include) but that ought to be there. Now to fire up the Ubuntu machine |
Date | 2012-07-12 17:42 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] Re: wii don't recognized by scons build |
I just built csound on xubuntu I d/loaded sources fronm git, compiled wiiuse and caled make install (which put it in /usr/lib and /usr/include and mpt /usr/local..) copied my custom.py and it all built as expected. This is a 32bit system using floats cCleaning up and building doubles on the same system is also OK ==John ff >> yes it seems that scons don't see the header (but the file is present), >> >> Checking for C header file wiiuse.h... no >> CONFIGURATION DECISION: No Wiimote support >> >> maybe trying to add something in custom.py? >> > my custom.py says > > if sys.platform[:5] == 'linux': > platform = 'linux' > customCPPPATH.append('/usr/lib64/jvm/java-1.5.0/include') > customCPPPATH.append('/usr/lib64/jvm/java-1.5.0/include/linux') > customCCFLAGS.append('-I/usr/local/include/libcwiimote-.4.0libcwiimote') > > You might havre to add suimilar. If wiiuse.h is in /usr/local/include > then say > customCCFLAGS.append('-I/usr/local/include) > but that ought to be there. Now to fire up the Ubuntu machine > > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > > > |
Date | 2012-07-12 18:52 |
From | francesco |
Subject | [Csnd] Re: wii don't recognized by scons build |
right, in /usr and not local. rebuild with this in custom.py customCCFLAGS.append('-I/usr/include/') customCCFLAGS.append('-L/usr/lib') customLIBPATH.append('/usr/lib') but config.log say scons: Configure: Checking for C header file wiiuse.h... .sconf_temp/conftest_4.c <- | |#include |
Date | 2012-07-14 09:44 |
From | francesco |
Subject | [Csnd] Re: wii don't recognized by scons build |
Hello All again, I'm not able to solve my problem with wii ... config.log say: scons: Configure: Checking for C header file wiiuse.h... .sconf_temp/conftest_4.c <- | |#include |
Date | 2012-07-14 09:47 |
From | francesco |
Subject | [Csnd] Re: wii don't recognized by scons build |
(sorry) i forgot to say that when i buid wiiuse trying to buid all (i.e. wii for sdl etc.) i had error in compiling example files for wii (not for wii and sdl). Maybe this means that i have wrongly build wiiuse? ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/wii-don-t-recognized-by-scons-build-tp5714169p5714198.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-07-14 11:39 |
From | Tito Latini |
Subject | Re: [Csnd] Re: wii don't recognized by scons build |
Attachments | None |
Date | 2012-07-14 12:45 |
From | francesco |
Subject | [Csnd] Re: wii don't recognized by scons build |
it was so easy ... it was suffice to read the message log ... and i feel so stupid ... one more time. Thank You Tito, ciao, francesco. -- View this message in context: http://csound.1045644.n5.nabble.com/wii-don-t-recognized-by-scons-build-tp5714169p5714203.html Sent from the Csound - General mailing list archive at Nabble.com. |