kfk kirjoitti torstai 17 kesäkuu 2010 00:00:06:
> Hi,
> I used /NOENTRY flag to resolve the link error()
> Now I am getting this:
> any Idea, is this being caused by the /NOENTRY
> 
> ....
> generator.compile:
> generator.run:
> generator:
> library.native.qmake:
> library.native.compile:
> library.native.bundle:
> library.native:
> library.java.compile:
>      [javac] Compiling 81 source files to 
> C:\Tools\jambi\qtjambi-src-lgpl-4.5.2_01
>      [javac] 
> C:\Tools\jambi\qtjambi-src-lgpl-4.5.2_01\com\trolltech\qt\QSignalEmitter.java:49:
>  
> cannot find symbol
>      [javac] symbol  : class Qt
>      [javac] location: package com.trolltech.qt.core
>      [javac] import com.trolltech.qt.core.Qt;
>      [javac]                             ^
>      [javac] 
> C:\Tools\jambi\qtjambi-src-lgpl-4.5.2_01\com\trolltech\qt\internal\QSignalEmitterInternal.java:48:
>  
> cannot find symbol
>      [javac] symbol  : class Qt
>      [javac] location: package com.trolltech.qt.core
>      [javac] import com.trolltech.qt.core.Qt;
>      [javac]                             ^
>      [javac] 
> C:\Tools\jambi\qtjambi-src-lgpl-4.5.2_01\com\trolltech\qt\internal\QSignalEmitterInternal.java:49:
>  
> cannot find symbol
>      [javac] symbol  : class QObject
> ---------------------------------------------------------------
> 
> 
> 
> 
> -------- Original Message --------
> Subject:      Re: [Qt-jambi-interest] problem building qtjambi by running ant
> Date:         Wed, 16 Jun 2010 16:49:54 -0400
> From:         kfk <[email protected]>
> To:   [email protected]
> 
> 
> 
> On 6/16/2010 3:36 PM, Samu Voutilainen wrote:
> > You are using too new ant(1.8.0, right?), stick with 1.7 still.
> >
> > I’ve done needed changes for that one but it’ll take some time to get 
> > committed...
> >
> > kfk kirjoitti keskiviikko 16 kesäkuu 2010 22:31:33:
> >    
> >> Does anyone know what is causing this error?
> >>
> >> $ ant
> >> Buildfile: C:\Tools\qtjambi-src-lgpl-4.5.2_01\build.xml
> >>
> >> init.ant:
> >>       [javac] C:\Tools\qtjambi-src-lgpl-4.5.2_01\build.xml:48: warning:
> >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> >> set to false for repeatable builds
> >>       [javac] Compiling 8 source files to
> >> C:\Tools\qtjambi-src-lgpl-4.5.2_01\ant-qtjambi
> >>       [javac]
> >> C:\Tools\qtjambi-src-lgpl-4.5.2_01\com\trolltech\tools\ant\InitializeTask.java:132:
> >> reference to setNewProperty is ambiguous, both method
> >> setNewProperty(org.apache.tools.ant.Project,java.lang.String,java.lang.Object)
> >> in org.apache.tools.ant.PropertyHelper and method
> >> setNewProperty(java.lang.String,java.lang.String,java.lang.Object) in
> >> org.apache.tools.ant.PropertyHelper match
> >>       [javac]         props.setNewProperty(null, OSNAME, decideOSName());
> >>
> >> Here is my setup:
> >> ANT_HOME,  JAVA_HOME,  QTJAMBI are correctly
> >>
> >> $ qmake -v
> >> QMake version 2.01a
> >> Using Qt version 4.6.2 in P:\jml\qt_win\lib
> >>
> >> $ ant -version
> >> Apache Ant version 1.8.1 compiled on April 30 2010
> >>
> >> $ java -version
> >> java version "1.6.0_20"
> >> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> >> Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)
> >>
> >>
> >>
> >>      
> >    
> That helped a lot.
> but now I am getting
> would you happen to know what is causing this and how to fix it.
> 
> .....
>       [make]     cd qtjambi_svg\ && 
> C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe -f Makefile
>       [make]
>       [make] Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
>       [make] Copyright (C) Microsoft Corporation.  All rights reserved.
>       [make]
>       [make]     C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe -f 
> Makefile.Release all
>       [make]
>       [make] Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
>       [make] Copyright (C) Microsoft Corporation.  All rights reserved.
>       [make]
>       [make]     link 
> /LIBPATH:"c:\Tools\jambi\qt-all-commercial-src-4.5.2\lib" /NOLOGO 
> /INCREMENTAL:NO /DLL /MANIFEST 
> /MANIFESTFILE:"release\com_trolltech_qt_svg.intermediate.manifest" 
> /OUT:..\lib\com_trolltech_qt_svg.dll 
> @C:\DOCUME~1\kfk\LOCALS~1\Temp\nm214.tmp
>       [make] LINK : warning LNK4001: no object files specified; 
> libraries used
>       [make] LINK : warning LNK4068: /MACHINE not specified; defaulting 
> to X86
>       [make] LINK : error LNK2001: unresolved external symbol 
> __dllmaincrtstar...@12
>       [make] ..\lib\com_trolltech_qt_svg.dll : fatal error LNK1120: 1 
> unresolved externals
>       [make] NMAKE : fatal error U1077: 
> 'C:\PROGRA~1\MICROS~1.0\VC\BIN\link.EXE' : return code '0x460'
>       [make] Stop.
>       [make] NMAKE : fatal error U1077: 
> 'C:\PROGRA~1\MICROS~1.0\VC\BIN\nmake.exe' : return code '0x2'
>       [make] Stop.
>       [make] NMAKE : fatal error U1077: 'cd' : return code '0x2'
>       [make] Stop.
> 
> 
> 
> 
> 
> 
> 
> 
> $ nmake -v
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
> 
> 
> 
> 
> 

By any chance, are you trying to build 4.5 qtjambi against 4.6 Qt...?

-- 
Terveisin,
Samu Voutilainen
http://smar.fi

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to