My experiences with BOOST on Windows XP and Visual C++ 2005
I'm new to Python.
I built software in more than ten other computer languages. I'm not
sure if that is not a handicap, when reading documentation of a system
like BOOST.
However:
It took me more than four full working days to get a Python
I read a lot of the html pages on installing boost etc. Still a lot of
confusion.
Here is what I want:
I have old, stable wonderful C-code I want to use in Python projects.
So I encapsulate the C-code in some C++ stuf and try to compile it
into a DLL.
1: I DL-ed boost_1_33_1.exe (I use WinXP) and
I'm trying to work with Boost, trying to use my C-code from Python..
So now I have generated a C_test2.dll and a C_test2.lib with Visual
C++ 2005, from code like this:
===
#include
#include
namespace { // Avoid cluttering the global namespace.
int my_int; /* a global integer: or o
On Sat, 30 Dec 2006 23:35:22 +0200, "Roman Yakovenko"
<[EMAIL PROTECTED]> wrote:
>On 12/30/06, Osiris <[EMAIL PROTECTED]> wrote:
>> Visual C++ build log at:
>>
>> http://213.10.133.192/BuildLog.htm
>
>It is better to ask Boost.Python related ques
On Sun, 31 Dec 2006 01:01:29 +0100, Christophe Cavalaria
<[EMAIL PROTECTED]> wrote:
>Osiris wrote:
>
>> On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]>
>> wrote:
>>
>>>Osiris wrote:
>>>
>>>> I have thes
On Sat, 30 Dec 2006 13:19:28 -0800, Erik Max Francis <[EMAIL PROTECTED]>
wrote:
>Osiris wrote:
>
>> I have these pieces of C-code (NOT C++ !!) I want to call from Python.
>> I found Boost.
>> I have MS Visual Studio 2005 with C++.
>>
>> is this the id
Visual C++ build log at:
http://213.10.133.192/BuildLog.htm
--
http://mail.python.org/mailman/listinfo/python-list
I get, from Visual C++, these linker errors, 8 in total, trying to
build the above C++ source:
C_test.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) void __cdecl
boost::python::detail::init_module(char const *,void
(__cdecl*)(void))"
([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[E
I have these pieces of C-code (NOT C++ !!) I want to call from Python.
I found Boost.
I have MS Visual Studio 2005 with C++.
is this the idea:
I write the following C source file:
#include
#include
namespace { // Avoid cluttering the global namespace.
int my_int;
On Thu, 28 Dec 2006 11:14:27 +0100, Marc 'BlackJack' Rintsch
<[EMAIL PROTECTED]> wrote:
>In <[EMAIL PROTECTED]>, Osiris wrote:
>
>> Would I put all the stuff that is the same in both classes in the base
>> class and only the differing stuff in the subclasse
On Thu, 28 Dec 2006 08:48:53 +0100, Osiris <[EMAIL PROTECTED]> wrote:
>On Wed, 27 Dec 2006 16:12:02 +0100, Osiris <[EMAIL PROTECTED]> wrote:
>
>>I found this text about combining C-code with Pyton scripting on the
>>P2P networks in PDF:
>>
>>Python
On Wed, 27 Dec 2006 16:29:29 -0600, "Paul McGuire"
<[EMAIL PROTECTED]> wrote:
>"Osiris" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> Is the following intuitively feasible in Python:
>> I have an array (I come from C) of ide
On Wed, 27 Dec 2006 23:27:08 +0100, Marc 'BlackJack' Rintsch
<[EMAIL PROTECTED]> wrote:
>In <[EMAIL PROTECTED]>, Osiris wrote:
>
>> I have an array (I come from C) of identical objects, called sections.
>> These sections have some feature, say a length, mea
On Wed, 27 Dec 2006 16:12:02 +0100, Osiris <[EMAIL PROTECTED]> wrote:
>I found this text about combining C-code with Pyton scripting on the
>P2P networks in PDF:
>
>Python Scripting for Computational Science
>Hans Petter Langtangen
>Simula Research Laboratory
>and
Is the following intuitively feasible in Python:
I have an array (I come from C) of identical objects, called sections.
These sections have some feature, say a length, measured in mm, which
is calculated by a method A_length of the instantiation of the
Section's class.
Only, two elements in the arr
I found this text about combining C-code with Pyton scripting on the
P2P networks in PDF:
Python Scripting for Computational Science
Hans Petter Langtangen
Simula Research Laboratory
and
Department of Informatics
University of Oslo
amazon and others have it in print.
software for the text is her
ok, thnx. Thread closed :-)
--
http://mail.python.org/mailman/listinfo/python-list
btw:
my system is an AMD 1.8 GHz, 512 Mbyte with WinXPSP2.
I saw that a system like Wing would be sluggish ...
--
http://mail.python.org/mailman/listinfo/python-list
what is a usefull IDE for Python on Windows ?
I saw Eric mentioned.. is that WinXP or Linux ?
What does "everybody" use ?
I was considering using old and very stable C-code in a new web
application via Python/Plone/Zope.
--
http://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo