compiling wxWidgets TDM-GCC-32 ERROR  [SOLVED]

Это русская секция форума wxWidjets. В этой секции вы можете обсуждать любые вопросы, связанные с wxWidgets на вашем родном языке.
User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Sat Dec 17, 2016 5:41 pm

хочу скомпилировать 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
regards,
Alexander Saprykin

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby ONEEYEMAN » Mon Dec 19, 2016 4:18 pm

Kakaja versija biblioteki?

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Tue Dec 20, 2016 10:02 am

последние и wxWidgets-master и tdm-gcc-5.1.0-3.exe
regards,
Alexander Saprykin

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby ONEEYEMAN » Tue Dec 20, 2016 2:01 pm

Opustit veriju gcc probovali? Do 4.9?

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Tue Dec 20, 2016 2:38 pm

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

Скачал 3.1.1 стала ругаться, скачал свежую и опять таже ошибка, щас попробую 4,9
regards,
Alexander Saprykin

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Tue Dec 20, 2016 3:23 pm

ни помогло

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
regards,
Alexander Saprykin

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Tue Dec 20, 2016 4:22 pm

попробовал версию 3.1 перекомпелировать, там без ошибок.
Но мне нужна именно 3.1.1
regards,
Alexander Saprykin

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby ONEEYEMAN » Tue Dec 20, 2016 6:33 pm

A chto nugno iz 3.1.1?
Moget byt' prosto vzyat etot kusok i dobavit v 3.1?

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby cutecode » Tue Dec 20, 2016 8:17 pm

У меня "print preview" вылетает при 3.1 на x64
А 3.1.1 работает четко. Пока там никаких глюк не нашел (Visual Studio 2013)
regards,
Alexander Saprykin

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2057
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: compiling wxWidgets TDM-GCC-32 ERROR

Postby ONEEYEMAN » Tue Dec 20, 2016 9:11 pm

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

Open source.

User avatar
cutecode
Earned some good credits
Earned some good credits
Posts: 110
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: compiling wxWidgets TDM-GCC-32 ERROR  [SOLVED]

Postby cutecode » Sat Jan 21, 2017 7:43 pm

After downloading the last version of wx-master the problem has gon away
ЫЫЫЫ
regards,
Alexander Saprykin


Return to “wxWidgets Development (Russian)”

Who is online

Users browsing this forum: No registered users and 1 guest