Sponsored Content
Operating Systems OS X (Apple) MacPorts, OpenCV, Python, and PyGame configuration help Post 302481131 by alberttruism on Thursday 16th of December 2010 06:17:11 PM
Old 12-16-2010
What did I end up doing? Guh! Put the project on the "indefinite backburner". I never really got anything successfully working. I DID get pygame set up and switched my python install to the macPorts version so I can swap it out at will now, but openCV is shelved for the moment. Good luck. Let me know if you have any.
 

4 More Discussions You Might Find Interesting

1. Ubuntu

ZStar ZC0305 doesn't work under openCV

I am using ZC0305b ZStar webcam. Highgui errors that compression format is invalid for both v4l2 and v4l. The same openCV apps work with different camera. openCV message boards suggest using libv4l . How can I implement this? tia (0 Replies)
Discussion started by: mehdi9
0 Replies

2. UNIX for Dummies Questions & Answers

Mac OS 10.6 and MacPorts

Hello everyone. I was previously using MacPorts 1.8 on Mac OS 10.5.8 without any problems and everything was working well. I recently upgraded to Xcode 3.2 and Mac OS 10.6, since then my MacPorts installation has not been working at all. I deleted it and then reinstalled the .dmg from the... (2 Replies)
Discussion started by: HoldenCaulfield
2 Replies

3. Linux

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues after then. Initially yum wouldn't work, but I have resolved that. However, now I am unable to access the Network Configuration section under setup. When I do select this option I see this at the command line: ... (2 Replies)
Discussion started by: crmpicco
2 Replies

4. Programming

OpenCV hello world c?

Hi, I am new to openCV, please I want an openCV hello world in C? (1 Reply)
Discussion started by: ubuaku
1 Replies
PYTHON-CONFIG(1)					      General Commands Manual						  PYTHON-CONFIG(1)

NAME
python-config - output build options for python C/C++ extensions or embedding SYNOPSIS
python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [ --ldflags ] [ --extension-suffix ] [ --configdir ] [ --help ] DESCRIPTION
python-config helps compiling and linking programs, which embed the Python interpreter, or extension modules that can be loaded dynamically (at run time) into the interpreter. OPTIONS
--cflags print the C compiler flags. --ldflags print the flags that should be passed to the linker. --includes similar to --cflags but only with -I options (path to python header files). --libs similar to --ldflags but only with -l options (used libraries). --prefix prints the prefix (base directory) under which python can be found. --exec-prefix print the prefix used for executable program directories (such as bin, sbin, etc). --extension-suffix print suffix used for extension modules (including the _d modified for debug builds). --configdir prints the path to the configuration directory under which the Makefile, etc. can be found). --help print the usage message. EXAMPLES
To build the singe-file c program prog against the python library, use gcc $(python-config --cflags --ldflags) progr.cpp -o progr.cpp The same in a makefile: CFLAGS+=$(shell python-config --cflags) LDFLAGS+=$(shell python-config --ldflags) all: progr To build a dynamically loadable python module, use gcc $(python-config --cflags --ldflags) -shared -fPIC progr.cpp -o progr.so SEE ALSO
python (1) http://docs.python.org/extending/extending.html /usr/share/doc/python/faq/extending.html AUTHORS
This manual page was written by Johann Felix Soden <johfel@gmx.de> for the Debian project (and may be used by others). November 27, 2011 PYTHON-CONFIG(1)
All times are GMT -4. The time now is 08:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy