2015 beta 2 and windows build problem

91 views
Skip to first unread message

smib

unread,
May 19, 2015, 12:03:57 AM5/19/15
to hugi...@googlegroups.com
Hi,
 
Trying to build a 32 bit win 8.1 version with wxwidets 3.0.2/ vigra 1.10.0 boost 1.57.0 and the 2015 beta 2 code
 
I managed to get past my earlier issue (see thread on 2015 beta 1) - the cmake name vigra_config_hxx needs to point to configVersion.hxx not config.hxx - and are now getting more than 1000 errors of the form:
 
  • Error 1 error C2146: syntax error : missing ';' before identifier 'wxSTD_FRAME_ICON' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 48 1 huginbasewx
  • Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 48 1 huginbasewx
  • Error 3 error C2146: syntax error : missing ';' before identifier 'wxSTD_MDIPARENTFRAME_ICON' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 49 1 huginbasewx
  • Error 4 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 49 1 huginbasewx
  • Error 5 error C2146: syntax error : missing ';' before identifier 'wxSTD_MDICHILDFRAME_ICON' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 50 1 huginbasewx
  • Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 50 1 huginbasewx
  • Error 7 error C2146: syntax error : missing ';' before identifier 'wxDEFAULT_FRAME_ICON' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 51 1 huginbasewx
  • Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 51 1 huginbasewx

  • Error 29 error C2061: syntax error : identifier 'HANDLE' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 193 1 huginbasewx
  • Error 30 error C2833: 'operator HANDLE' is not a recognized operator or type E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 196 1 huginbasewx
  •  
I am not knowledgeable enough to work out what is going on. Searching suggests that it could anyone of a number of causes including a missing ';' somewhere before the error is reported, incorrectly typed or spelt variable name, missing file etc etc
 
Is this a bug or is it me?
 
Cheers
 
Brian  
 

Harry van der Wolf

unread,
May 19, 2015, 3:51:56 AM5/19/15
to hugi...@googlegroups.com
First of all: What do you use to build Hugin?
gcc/g++ or MSVC 2013 Community or ..?

I have been on several platforms and built Hugin on Mac OS/X, Linuxes and now I'm on Windows 7 (for as long as it takes?).
Anyway, Thomas Modes has built Hugin on windows 7 and I'm now trying to build it as well with help of Thomas, also on win 7.
We both use MSVS2013 Community.
The build is cumbersome on Windows and to describe it correctly Thomas started a wiki page just 2 days ago. Thomas did a big update yesterday evening (or so).
Try to follow that one.

I'm currently on a business trip, so I'm 2-3 days "out of build" and can't try/continue it myself at this moment.

(For reference: There is also the "old" one for MSVC2010 here: http://wiki.panotools.org/Hugin_SDK_%28MSVC_2010%29)

Harry


--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/3e72f956-b464-45c3-9b69-b9d4161a0bab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

smib

unread,
May 19, 2015, 4:49:57 AM5/19/15
to hugi...@googlegroups.com
Hi Harry,

Forgot to say MSVC2013 express

Brian

 

T. Modes

unread,
May 19, 2015, 3:21:14 PM5/19/15
to hugi...@googlegroups.com


Am Dienstag, 19. Mai 2015 06:03:57 UTC+2 schrieb smib:
Hi,
 
Trying to build a 32 bit win 8.1 version with wxwidets 3.0.2/ vigra 1.10.0 boost 1.57.0 and the 2015 beta 2 code
 
I managed to get past my earlier issue (see thread on 2015 beta 1) - the cmake name vigra_config_hxx needs to point to configVersion.hxx not config.hxx -

I short feed back would have been nice. But this issue is on your side: You have setted the variables by yourself. In the code we have
 FIND_FILE(
    VIGRA_CONFIG__HXX
    NAMES configVersion.hxx config_version.hxx
    PATHS "${VIGRA_INCLUDE_DIR}/vigra/"
  )

which should pick up the correct path automatically. But I changed the name in the meantime to better match in content. But this variable should not edited manually.

and are now getting more than 1000 errors of the form:
 
  • Error 1 error C2146: syntax error : missing ';' before identifier 'wxSTD_FRAME_ICON' E:\Photographic\Huginbase\wxWidgets-3.0.2\include\wx\msw\private.h 48 1 huginbasewx

<Snip>
This could be an indication to a wrongly build wxWidgets. Please check your wxWidgets build.



Forgot to say MSVC2013 express

There is no express only version.
If you are using Express 2013 for Windows, this is the wrong one (this is for store apps).
You need the Express 2013 for Windows Desktop or Community Edition 2013. Both have the same SDK and therefore the same compiler. MS recommends the Community Edition.

Thomas
Reply all
Reply to author
Forward
0 new messages