If you need something specific about build system changes, just ask me...
These MSVC errors are often quite fun, for this reason I prefer MinGW for
compilation on Windows.
On Tuesday 22 February 2011 00:05:54 Helge Fredriksen wrote:
> Hello!
>
> Hello Paolo!
>
> Wow, I'm quite sure you're the first guys EVER trying to compile that
> generator example!
> At least that I heard of... Congratulations! I'm the author of the
> HelloWorld stuff, and as
> you can see it's not a simple task setting it up. Since the build system has
> gone through
> some revisions during I last committed some code, those paths are probably
> outdated yeah.
>
> You managed to build a dll? And what about a jar? I'm seeing errors like
> this:
>
> Parse Error ('MZ?')
> [make] NMAKE : fatal error U1077: 'c:\Qt\4.7.1\bin\qmake.EXE' : return
> code
> '0x3'
>
> and what the **** does that mean? Could anyone phone Bill?
>
> Helge F.
>
> On Mon, Feb 21, 2011 at 11:26 PM, Poalo Pacussi
> <[email protected]>wrote:
>
> > Hi guys,
> >
> > I'm trying to build the qt jambi generator examples in order to dig myself
> > into the whole topic.
> >
> > I've got the qt-win-opensource-4.7.1-vs2008 version and the latest clone of
> > the git repository.
> >
> > I'm talking about the hello_world_generator example.
> > Overall there seem to be several paths wrong. Two things I could find out.
> > First: in the build.xml on line 66
> > The path <src path="${jambiDir}/java/src/qtjambi-util"/> is actually the
> > other way around ...src/java.
> >
> > Second: in the test.pro the path
> > include($(JAMBIDIR)/qtjambi/qtjambi_include.pri) is actually
> > $(JAMBIDIR)/src/cpp/qtjambi/qtjambi_include.pri for me
> > (I cannot find any qt_jambi_test.pri, just a .dll created in the folders
> > lib and bin. But using it instead of the .pri yields the output below)
> >
> >
> > With these changes I get ant to build successfully but still have some
> > errors in the build process (see below).
> > Anyway, I thouht I give it a shot and try compiling the TestJava.java.
> >
> > But it fails due to not finding the org.qtjambi.test package and several
> > others. I guess this is due to the missing .pri above?!
> >
> > As I'm not very deep into qt yet, I'm at my wit's end and would appreciate
> > any help!
> >
> > Best Regards!
> >
> >
> >
> > [generator] Parsing file:
> > "C:\qtjambi-community\examples\generator\hello_world_
> > generator\jambi\scripts\typesystem.txt"
> > [generator] Parsing file: ":/trolltech/generator/typesystem_core.txt"
> > [generator] Fatal error: line=1, column=1, message=unexpected end of file
> > [generator]
> > [generator] "Parsed: ':/trolltech/generator/typesystem_core.txt', 0 new
> > entries"
> > [generator] Fatal error: line=10, column=85, message=Failed to parse:
> > ':/trollte
> > ch/generator/typesystem_core.txt'
> > [generator]
> > [generator] "Parsed:
> > 'C:\qtjambi-community\examples\generator\hello_world_genera
> > tor\jambi\scripts\typesystem.txt', 1 new entries"
> > [generator] Cannot parse file:
> > 'C:\qtjambi-community\examples\generator\hello_wo
> > rld_generator\jambi\scripts\typesystem.txt'
> > [generator] Running the Qt Jambi Generator. Please wait while source files
> > are b
> > eing generated...
> > [qmake]
> > [qmake] Executing: [C:\Qt\4.7.1/bin/qmake,
> > C:\qtjambi-community\examples\gen
> > erator\hello_world_generator\jambi\scripts\test.pro, -config, release, ]
> > in dire
> > ctory
> > C:\qtjambi-community\examples\generator\hello_world_generator\jambi\script
> > s
> > [qmake] Project LOAD(): Feature ..\bin\org_qtjambi_test.dll cannot be
> > found.
> > [qmake]
> > c:\qtjambi-community\examples\generator\hello_world_generator\jambi\
> > bin\org_qtjambi_test.dll:1: Parse Error ('MZ?')
> > [make]
> > [make] Executing: [nmake] in directory
> > C:\qtjambi-community\examples\genera
> > tor\hello_world_generator\jambi\scripts
> > [make]
> > [make] Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> > [make] Copyright (C) Microsoft Corporation. All rights reserved.
> > [make]
> > [make] c:\Qt\4.7.1\bin\qmake -config release -o Makefile test.pro
> > [make] Project LOAD(): Feature ..\bin\org_qtjambi_test.dll cannot be
> > found.
> > [make]
> > c:\qtjambi-community\examples\generator\hello_world_generator\jambi\
> > bin\org_qtjambi_test.dll:1: Parse Error ('MZ?')
> > [make] NMAKE : fatal error U1077: 'c:\Qt\4.7.1\bin\qmake.EXE' : return
> > code
> > '0x3'
> > [make] Stop.
> > [javac]
> > C:\qtjambi-community\examples\generator\hello_world_generator\jambi\
> > scripts\build.xml:61: warning: 'includeantruntime' was not set, defaulting
> > to bu
> > ild.sysclasspath=last; set to false for repeatable builds
> > [javac] Compiling 1 source file to
> > C:\qtjambi-community\examples\generator\h
> > ello_world_generator\jambi\scripts\platform-output
> > package:
> > [jar] Building jar:
> > C:\qtjambi-community\examples\generator\hello_world_ge
> > nerator\jambi\target\test-win32-msvc2008-4.7.1.jar
> > [delete] Deleting directory
> > C:\qtjambi-community\examples\generator\hello_wor
> > ld_generator\jambi\scripts\platform-output
> > all:
> > BUILD SUCCESSFUL
> > Total time: 7 seconds
> >
> > _______________________________________________
> > Qt-jambi-interest mailing list
> > [email protected]
> > http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest
> >
> >
--
Terveisin,
Samu Voutilainen
http://smar.fi
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest