compiling wxWidgets TDM-GCC-32 ERROR Topic is solved

Это русская секция форума wxWidjets. В этой секции вы можете обсуждать любые вопросы, связанные с wxWidgets на вашем родном языке.
Post Reply
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

хочу скомпилировать wxWidgets на Windows ч/з TDM-GCC-32

запускаю

Code: Select all

mingw32-make -f makefile.gcc SHARED=1 BUILD=debug
в ответ ошибка минут ч/з 5

Code: Select all

gcc_mswuddll\coredll_window.o: In function `ZN8wxWindow16MSWHandleMessageEPljjl':
C:\wx\build\msw/../../src/msw/window.cpp:3293: undefined reference to `LresultFromObject@12'
gcc_mswuddll\coredll_access.o: In function `ZN12wxAccessible17GetIAccessibleStdEv':
C:\wx\build\msw/../../src/msw/ole/access.cpp:1816: undefined reference to `CreateStdAccessibleObject@16'
collect2.exe: error: ld returned 1 exit status
makefile.gcc:5357: recipe for target '..\..\lib\gcc_dll\wxmsw311ud_core_gcc_custom.dll' failed
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw311ud_core_gcc_custom.dll] Error 1
помогите пож. собрать )))

Code: Select all

c:\wx\build\msw>mingw32-make -v
GNU Make 3.82.90
Built for i686-pc-mingw32
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by ONEEYEMAN »

Kakaja versija biblioteki?
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

последние и wxWidgets-master и tdm-gcc-5.1.0-3.exe
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by ONEEYEMAN »

Opustit veriju gcc probovali? Do 4.9?
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

у меня стояла какая-то старая версия, какая не помню, она около гада у меня была и wxWidgets 3.1 с ней компелировались без ошибок.

Скачал 3.1.1 стала ругаться, скачал свежую и опять таже ошибка, щас попробую 4,9
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

ни помогло

Code: Select all

user32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lwsock32 -lwininet ..\..\lib\gcc_dll\libwxbase31ud.a
gcc_mswuddll\coredll_window.o: In function `ZN8wxWindow16MSWHandleMessageEPljjl':
C:\wx\build\msw/../../src/msw/window.cpp:3293: undefined reference to `LresultFromObject@12'
gcc_mswuddll\coredll_access.o: In function `ZN12wxAccessible17GetIAccessibleStdEv':
C:\wx\build\msw/../../src/msw/ole/access.cpp:1816: undefined reference to `CreateStdAccessibleObject@16'
collect2.exe: error: ld returned 1 exit status
makefile.gcc:5357: recipe for target '..\..\lib\gcc_dll\wxmsw311ud_core_gcc_custom.dll' failed
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw311ud_core_gcc_custom.dll] Error 1
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

попробовал версию 3.1 перекомпелировать, там без ошибок.
Но мне нужна именно 3.1.1
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by ONEEYEMAN »

A chto nugno iz 3.1.1?
Moget byt' prosto vzyat etot kusok i dobavit v 3.1?
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

У меня "print preview" вылетает при 3.1 на x64
А 3.1.1 работает четко. Пока там никаких глюк не нашел (Visual Studio 2013)
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by ONEEYEMAN »

I eto vse?
Prosto vozmite print.{cpp|h] iz odnoj versii v druguju, perekompilirujte biblioteku, proekt i vse problemy.

Open source.
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Post by cutecode »

After downloading the last version of wx-master the problem has gon away
ЫЫЫЫ
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
Post Reply