Fri, 03/11/2016 - 08:05
Forums:
Hi.
I took following error messages when building process has reached at 97%.
c:/oce/oce/src/ViewerTest/ViewerTest_ViewerCommands.cxx:248:37: error: invalid c
onversion from 'LRESULT (__attribute__((__stdcall__)) *)(HWND, UINT, WPARAM, LPARAM) {aka long int (__attribute__((__stdcall__)) *)(HWND__*, unsigned int, unsig
ned int, long int)}' to 'Standard_Address {aka void*}' [-fpermissive]
::LoadCursor (NULL, IDC_ARROW));
^
I use Windows7 32bit and MinGW4.8 + msys1.0.
Does anyone know how to fix this ?
Fri, 04/22/2016 - 12:45
I fixed it by my own.
I use cast from `LRESULT` to `Standard_Address` .
Mon, 03/19/2018 - 08:44
Hello, i tryed to build OCC library and get same error. Could you tell us more about how you solved the problem?
Mon, 03/19/2018 - 09:59
Which version of OCCT and building toolchains you are using?
Mon, 03/19/2018 - 10:34
I used: Windows 10 x64, mingw 5.3, VTK 7.1 builded with QT 5.8, OCCT 7.2.0.
Mon, 03/19/2018 - 10:45
mingw 5.3 is quite old, though I'm unable finding exact information about this release.
Have you tried up-to-date version of Mingw-w64?