On 12/31/06, Osiris <[EMAIL PROTECTED]> wrote:
> In short: it's all rather confusing
>
> I think it must be like this:
>
> To use my C/C++ code with Python, add some stuff in the C/C++ source
> and compile it into a DLL, that must be combined with some boost-DLL
> to make it accessible to Pytho
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 questions on it mailing list:
>http://mail.python.org/ma
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 these pieces of C-code (NOT C++ !!) I want to call from Python.
I fou
Osiris wrote:
> 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 idea:
>>> I write th
Osiris wrote:
> yes, but C can be compiled with a C++ compiler, One can put C code in
> C++ source Boost should not complain... should it ?
> Boost text is all about C++.. so... C should not be a problem...
That you're dealing with a `boost` namespace below clearly indicates
that you're dea
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 idea:
>> I write the following C source file:
>>
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 questions on it mailing list:
http://mail.python.org/mailman/listinfo/c++-sig/
You should add to the link line boost_python.lib, thus you will
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 idea:
> I write the following C source file:
>
> #include
> #include
>
> namespace { // Avoid cluttering
Visual C++ build log at:
http://213.10.133.192/BuildLog.htm
--
http://mail.python.org/mailman/listinfo/python-list
Osiris <[EMAIL PROTECTED]> typed
> 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
iostream is a C++ header fil
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;
12 matches
Mail list logo