Discussion:
svn build fails with revision 7781-7783
j***@gmail.com
2014-08-19 01:12:53 UTC
Permalink
Hi. Checked out WxWidgets v3.1 revision 7781 yesterday. Tried to build Dlls and got the following build errors.
Even updated to revision 7783 and still got these errors.

9> Creating library ..\..\lib\vc_dll\wxbase31ud.lib and object ..\..\lib\vc_dll\wxbase31ud.exp
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxLanguageInfoArray::wxLanguageInfoArray(void)" (__imp_??0wxLanguageInfoArray@@***@XZ) referenced in function "public: static void __cdecl wxLocale::CreateLanguagesDB(void)" (?***@wxLocale@@SAXXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall wxLanguageInfoArray::GetCount(void)const " (__imp_?***@wxLanguageInfoArray@@QBEIXZ) referenced in function "public: static int __cdecl wxLocale::GetSystemLanguage(void)" (?***@wxLocale@@SAHXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall wxLanguageInfoArray::size(void)const " (__imp_?***@wxLanguageInfoArray@@QBEIXZ) referenced in function "public: int __thiscall wxLanguageInfoArray::Index(struct wxLanguageInfo const &,bool)const " (?***@wxLanguageInfoArray@@QBEHABUwxLanguageInfo@@***@Z)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct wxLanguageInfo & __thiscall wxLanguageInfoArray::operator[](unsigned int)const " (__imp_??AwxLanguageInfoArray@@QBEAAUwxLanguageInfo@@***@Z) referenced in function "private: void __thiscall wxLanguageInfoArray::DoCopy(class wxLanguageInfoArray const &)" (?***@wxLanguageInfoArray@@AAEXABV1@@Z)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct wxLanguageInfo & __thiscall wxLanguageInfoArray::Item(unsigned int)const " (__imp_?***@wxLanguageInfoArray@@QBEAAUwxLanguageInfo@@***@Z) referenced in function "public: static int __cdecl wxLocale::GetSystemLanguage(void)" (?***@wxLocale@@SAHXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxLanguageInfoArray::Empty(void)" (__imp_?***@wxLanguageInfoArray@@QAEXXZ) referenced in function "public: class wxLanguageInfoArray & __thiscall wxLanguageInfoArray::operator=(class wxLanguageInfoArray const &)" (??4wxLanguageInfoArray@@***@ABV0@@Z)
9>..\..\lib\vc_dll\wxbase31ud_vc_.dll : fatal error LNK1120: 6 unresolved externals

Which all results in the wxBase dll unicode debug build not being able to be built. Tried to build release version but with same errors. How can I fix this? Cheers!
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Steve Barnes
2014-08-19 05:27:19 UTC
Permalink
Hi. Checked out WxWidgets v3.1 revision 7781 yesterday. Tried to
build Dlls and got the following build errors.
Even updated to revision 7783 and still got these errors.
9> Creating library ..\..\lib\vc_dll\wxbase31ud.lib and object
..\..\lib\vc_dll\wxbase31ud.exp
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
wxLanguageInfoArray::wxLanguageInfoArray(void)"
static void __cdecl wxLocale::CreateLanguagesDB(void)"
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
wxLanguageInfoArray::GetCount(void)const "
"public: static int __cdecl wxLocale::GetSystemLanguage(void)"
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: unsigned int __thiscall
wxLanguageInfoArray::size(void)const "
"public: int __thiscall wxLanguageInfoArray::Index(struct
wxLanguageInfo const &,bool)const "
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: struct wxLanguageInfo & __thiscall
wxLanguageInfoArray::operator[](unsigned int)const "
in function "private: void __thiscall
wxLanguageInfoArray::DoCopy(class wxLanguageInfoArray const &)"
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: struct wxLanguageInfo & __thiscall
wxLanguageInfoArray::Item(unsigned int)const "
referenced in function "public: static int __cdecl
9>intl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
wxLanguageInfoArray::Empty(void)"
"public: class wxLanguageInfoArray & __thiscall
wxLanguageInfoArray::operator=(class wxLanguageInfoArray const &)"
9>..\..\lib\vc_dll\wxbase31ud_vc_.dll : fatal error LNK1120: 6
unresolved externals
Which all results in the wxBase dll unicode debug build not being able
to be built. Tried to build release version but with same errors.
How can I fix this? Cheers!
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
or visit http://groups.google.com/group/wx-users
Are you possibly trying to build with the wrong version of VC++ - which
version are you using?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
j***@gmail.com
2014-08-19 15:49:15 UTC
Permalink
I am using vs2013, which is equivalent to vc12. Cheers!

From: Steve Barnes
Sent: Tuesday, August 19, 2014 1:27 PM
To: wx-***@googlegroups.com
Subject: Re: svn build fails with revision 7781-7783

On 19/08/14 02:12, ***@gmail.com wrote:

Hi. Checked out WxWidgets v3.1 revision 7781 yesterday. Tried to build Dlls and got the following build errors.
Even updated to revision 7783 and still got these errors.

9> Creating library ..\..\lib\vc_dll\wxbase31ud.lib and object ..\..\lib\vc_dll\wxbase31ud.exp
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxLanguageInfoArray::wxLanguageInfoArray(void)" (__imp_??0wxLanguageInfoArray@@***@XZ) referenced in function "public: static void __cdecl wxLocale::CreateLanguagesDB(void)" (?***@wxLocale@@SAXXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall wxLanguageInfoArray::GetCount(void)const " (__imp_?***@wxLanguageInfoArray@@QBEIXZ) referenced in function "public: static int __cdecl wxLocale::GetSystemLanguage(void)" (?***@wxLocale@@SAHXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall wxLanguageInfoArray::size(void)const " (__imp_?***@wxLanguageInfoArray@@QBEIXZ) referenced in function "public: int __thiscall wxLanguageInfoArray::Index(struct wxLanguageInfo const &,bool)const " (?***@wxLanguageInfoArray@@QBEHABUwxLanguageInfo@@***@Z)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct wxLanguageInfo & __thiscall wxLanguageInfoArray::operator[](unsigned int)const " (__imp_??AwxLanguageInfoArray@@QBEAAUwxLanguageInfo@@***@Z) referenced in function "private: void __thiscall wxLanguageInfoArray::DoCopy(class wxLanguageInfoArray const &)" (?***@wxLanguageInfoArray@@AAEXABV1@@Z)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct wxLanguageInfo & __thiscall wxLanguageInfoArray::Item(unsigned int)const " (__imp_?***@wxLanguageInfoArray@@QBEAAUwxLanguageInfo@@***@Z) referenced in function "public: static int __cdecl wxLocale::GetSystemLanguage(void)" (?***@wxLocale@@SAHXZ)
9>intl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxLanguageInfoArray::Empty(void)" (__imp_?***@wxLanguageInfoArray@@QAEXXZ) referenced in function "public: class wxLanguageInfoArray & __thiscall wxLanguageInfoArray::operator=(class wxLanguageInfoArray const &)" (??4wxLanguageInfoArray@@***@ABV0@@Z)
9>..\..\lib\vc_dll\wxbase31ud_vc_.dll : fatal error LNK1120: 6 unresolved externals

Which all results in the wxBase dll unicode debug build not being able to be built. Tried to build release version but with same errors. How can I fix this? Cheers!
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users

Are you possibly trying to build with the wrong version of VC++ - which version are you using?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-08-19 11:37:33 UTC
Permalink
Post by j***@gmail.com
Hi. Checked out WxWidgets v3.1 revision 7781 yesterday. Tried to build
Dlls and got the following build errors. Even updated to revision 7783
and still got these errors.
I guess you mean revisions 77081 and 77083, but this is a bit suspicious
because the former one is on 3.0 branch while the latter one is on the
trunk. So which branch are you using?
Post by j***@gmail.com
9> Creating library ..\..\lib\vc_dll\wxbase31ud.lib and object ..\..\lib\vc_dll\wxbase31ud.exp
This actually looks strange too, it seems we shouldn't be using
__declspec(dllimport) here and I'll look into changing this. However the
DLL builds for me and this code hasn't changed since ages, so I still don't
know what happens in your case.

Have you tried doing a clean rebuild? Which version of MSVC do you use?

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
j***@gmail.com
2014-08-19 15:58:19 UTC
Permalink
Hi. I Checked out both versions from svn trunk. I am using vs2013
or vc12 to build wxwidgets. My builds are based upon the provided vc12
solution files. Cheers!
-----Original Message-----
From: Vadim Zeitlin
Sent: Tuesday, August 19, 2014 7:37 PM
To: wx-***@googlegroups.com
Subject: Re: svn build fails with revision 7781-7783
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Vadim Zeitlin
2014-08-19 18:42:12 UTC
Permalink
Post by j***@gmail.com
Hi. I Checked out both versions from svn trunk.
As I said, this is impossible, r77081 is from 3.0 branch as can be easily
seen by checking http://trac.wxwidgets.org/changeset/77081

If you really somehow got it from the trunk, something must have gone very
wrong with your checkout, delete it and redo a new one.
Post by j***@gmail.com
I am using vs2013 or vc12 to build wxwidgets. My builds are based upon
the provided vc12 solution files.
I've just successfully built wxBase DLL in both debug and release
configurations, so if you haven't done anything special (e.g. changed
setup.h to change the default set of build options), there must be
something wrong on your end. Cleaning everything and restarting from the
very beginning is definitely the first thing to try.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
j***@gmail.com
2014-08-19 23:02:05 UTC
Permalink
Hi. I will do as you suggest. I am even having problems building from the
stable 3.01 source. Cheers and thanks.

-----Original Message-----
From: Vadim Zeitlin
Sent: Wednesday, August 20, 2014 2:42 AM
To: wx-***@googlegroups.com
Subject: Re[2]: svn build fails with revision 7781-7783
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...