hiho,
I'm trying to build pix_freenect|pix_openni on (up-to-date) archlinux and I have a couple of issues (using latest libfreenect):
/usr/local which should be the default for a manual build)
g++: error: unrecognized command line option ‘-arch’ g++: error: i386: No such file or directory g++: error: unrecognized command line option ‘-fpascal-strings’
g++: error: unrecognized command line option ‘-fpascal-strings’
another improvement would be *not* to have to edit Makefile for the paths (and BTW, what's the difference between PD_APP_DIR and PD_DIR on linux?)
thanks for your help.
cheers, y
-- yvan.volochine@gmail.com http://yvanvolochine.com
On 04/30/2012 10:36 AM, yvan volochine wrote:
hiho,
sorry, forgot to mention I'm using gcc-4.7.0
Hello,
when trying to compile pix_freenect | pix_openni on ubuntu 10.04, I vaguely remember this ‘-fpascal-strings’ problem which is concerns macos and not linux. At the end, for pix_openni, I just changed the Makefile with PD_APP_DIR = and GEM_DIR = and it worked. Maybe archlinux is not recognised as a linux system by the makefile script ? http://wiki.labomedia.org/index.php/Pure_Data_vs_Kinect in french my 2 cents... ++Benjamin
Le 30/04/2012 10:36, yvan volochine a écrit :
hiho,
I'm trying to build pix_freenect|pix_openni on (up-to-date) archlinux and I have a couple of issues (using latest libfreenect):
- libfreenect is not found if it was not installed in /usr (instead of
/usr/local which should be the default for a manual build)
- pix_freenect won't build and throws this error:
g++: error: unrecognized command line option ‘-arch’ g++: error: i386: No such file or directory g++: error: unrecognized command line option ‘-fpascal-strings’
- pix_openni build also fails:
g++: error: unrecognized command line option ‘-fpascal-strings’
another improvement would be *not* to have to edit Makefile for the paths (and BTW, what's the difference between PD_APP_DIR and PD_DIR on linux?)
thanks for your help.
cheers, y
-- yvan.volochine@gmail.com http://yvanvolochine.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 05/01/2012 07:43 PM, Benjah @ 01xy.fr wrote:
when trying to compile pix_freenect | pix_openni on ubuntu 10.04, I vaguely remember this ‘-fpascal-strings’ problem which is concerns macos and not linux. At the end, for pix_openni, I just changed the Makefile with PD_APP_DIR = and GEM_DIR = and it worked. Maybe archlinux is not recognised as a linux system by the makefile script ?
no no, Arch is recognized as Linux (uname -s), as well as the ubuntu machine on which I have the same problem.
I looks like the Makefile is osx oriented.. like -arch i386
and
-fpascal-strings
seem to be used by Apple gcc only... (please correct
me if I'm wrong)
I'll try to hack it but I'm not really a Makefile specialist :/
cheers, y
-- yvan.volochine@gmail.com http://yvanvolochine.com
On 05/02/2012 10:07 AM, yvan volochine wrote:
I looks like the Makefile is osx oriented..
erm... could it be simply that I need to use Makefile_linux
instead of
Makefile ? (after renaming them)
y
-- yvan.volochine@gmail.com http://yvanvolochine.com
hi!
sorry i was away for some time.. you have to rename Makefile_linux to Makefile, yes. the other one is for osx as you already found out. sorry for not making a universal one so far. maybe you have to change some paths in the Makefile_linux
have fun.
Quoting yvan volochine yvan.pd@gmail.com:
On 05/02/2012 10:07 AM, yvan volochine wrote:
I looks like the Makefile is osx oriented..
erm... could it be simply that I need to use
Makefile_linux
instead of Makefile ? (after renaming them)y
-- yvan.volochine@gmail.com http://yvanvolochine.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
On 05/03/2012 05:17 PM, Matthias Kronlachner wrote:
sorry i was away for some time.. you have to rename Makefile_linux to Makefile, yes. the other one is for osx as you already found out. sorry for not making a universal one so far. maybe you have to change some paths in the Makefile_linux
hi,
actually I now have a fork of pix_freenect (with a one-Makefile-to-rule-them-all[1] and other minor cosmetic changes). didn't send you any pull request as I'm a Makefile n00b and the code might be nasty.. I just did it because I met some people who struggled a bit with building it and I thought it would be cleaner to just `make PD_DIR=... GEM_DIR=...' for everybody (especially if the project is on github, easy to pull/update, rebuild. etc).
cheers,
y
[1] http://github.com/gusano/pix_freenect
-- yvan.volochine@gmail.com http://yvanvolochine.com