I checked out head of svn and tried to build it with Qt 4.8 (SDK 1.2) with msvc2008
Could you compile it with qt4.7 and msvc2008?

cl : Command line error D8021 : invalid numeric argument '/Wextra'

That is an msvc problem, removing the QMAKE_CXXFLAGS_DEBUG from the end of texstudio.pro should fix it

synctex_parser.c(136) : error C2016: C requires that a struct or union has at least one member
It seems msvc tries to compile the file as c instead of c++.
http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/95798764-db4a-4869-b548-41f873975d95
http://blogs.microsoft.co.il/blogs/asafshelly/archive/2009/12/29/visual-c-compiler-error-c2016.aspx

I also tried to build with mingw, but Qt fails because of a missing toolchain for mingw,
whatever that means. I did no have such a problem with Qt 4.7.x and no idea what it means.
I also don't have an idea what it means (missing mingw/binutils files?), but I think compiling it with mingw is better.

On 03/21/12 22:26, Matthias Pospiech wrote:
I checked out head of svn and tried to build it with Qt 4.8 (SDK 1.2) with msvc2008
and failed immediately with this error

synctex_parser.c

jom 1.0.6 - empower your cores

cl : Command line error D8021 : invalid numeric argument '/Wextra'

command failed with exit code 2

synctex_parser.c(136) : error C2016: C requires that a struct or union has at least one member

synctex_parser.c(136) : error C2059: syntax error : ';'

synctex_parser.c(139) : error C2059: syntax error : '}'

synctex_parser.c(252) : error C2037: left of 'class' specifies undefined struct/union '_synctex_node'

synctex_parser.c(253) : error C2037: left of 'class' specifies undefined struct/union '_synctex_node'

synctex_parser.c(253) : error C2037: left of 'class' specifies undefined struct/union '_synctex_node'

synctex_parser.c(253) : fatal error C1903: unable to recover from previous error(s); stopping compilation


I also tried to build with mingw, but Qt fails because of a missing toolchain for mingw,
whatever that means. I did no have such a problem with Qt 4.7.x and no idea what it means.

Matthias



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure


_______________________________________________
Texstudio-list mailing list
Texstudio-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/texstudio-list