Skip to content

msys2/mingw32 compile of pythonocc fails  #44

@sanderboer

Description

@sanderboer

Hi,

I finally have a win32 build of oce trunk and I am trying to build pythonocc with it, but this happens:

[.. snip many many undifined reference errors ...]
CMakeFiles/_AIS.dir/objects.a(AISPYTHON_wrap.cxx.obj):AISPYTHON_wrap.cxx:(.text+0xd3e1d): undefined reference to `_imp__PyErr_SetString'
C:/msys64/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/_AIS.dir/objects.a(AISPYTHON_wrap.cxx.obj): bad reloc address 0xc in section `.data'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [win32/bin/MinSizeRel/_AIS.pyd] Fout 1
make[1]: *** [CMakeFiles/_AIS.dir/all] Fout 2
make: *** [all] Fout 2

I'd like to try building pythonocc with oce-0.16, but building oce-0.16 fails at tkbool..

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions