Re: Compiling extension module (linker error)

2012-10-23 Thread MRAB
On 2012-10-23 08:00, Paul Volkov wrote: 2012/10/22 MRAB : By the way, the recommendation is for module names to be lowercase with underscores, so "fund_rose" instead of "FundRose". Try this code: I tried as you suggested, but the linker error (unresolved external) is still there. I found a

Re: Compiling extension module (linker error)

2012-10-23 Thread Paul Volkov
2012/10/22 MRAB : > By the way, the recommendation is for module names to be lowercase with > underscores, so "fund_rose" instead of "FundRose". > > Try this code: > I tried as you suggested, but the linker error (unresolved external) is still there. I'm sure python33.lib is properly added because

Re: Compiling extension module (linker error)

2012-10-22 Thread MRAB
On 2012-10-22 11:55, Paul Volkov wrote: I am trying to compile an extension module with C++ Builder 6 for Python 3.3. I converted python33.lib using coff2omf.exe and added this library into my project. I wonder why I get this error message while building: [Linker Error] Unresolved external '_PyM

Compiling extension module (linker error)

2012-10-22 Thread Paul Volkov
I am trying to compile an extension module with C++ Builder 6 for Python 3.3. I converted python33.lib using coff2omf.exe and added this library into my project. I wonder why I get this error message while building: [Linker Error] Unresolved external '_PyModule_Create2TraceRefs' referenced from 'D