Error in SDK
Hi Friends,
I am trying to create algorithm which will return output to softparameter of type characteristic type.when i deployed the changes made to the algorithm and reployed using deploy.xml ,i am unable to find changes reflected.
I tried deployment another way using cm_packaging but that patch is failing .
copy:
[echo] ...Copy source cm non-java files
[echo] ...Copy sourcegen cm non-java files
[copy] Copying 7 files to D:\spl\DEV_5\java\target\cm
[echo] ...Finished copy cm
copyxml:
[echo] ...Copy CM services to D:/spl/DEV_5/splapp/xmlMetaInfo
cleanjars:
[echo] ...Cleaning all old jars
[delete] Deleting: D:\spl\DEV_5\splapp\standalone\lib\cm.jar
BUILD FAILED
D:\CM_packaging\etc\CMbuild.xml:129: Unable to delete file D:\spl\DEV_5\splapp\standalone\lib\cm.jar
Total time: 44 seconds
110425:192444 <info> Execute: jar -cf D:\spl\DEV_5\splapp\applications\SPLApp.war *
110425:192539 <info> Execute: jar -cf D:\spl\DEV_5\splapp\applications\XAIApp.war *
110425:192545 <info> Creates cobol lockfiles in order to get compiled
110425:192545 <info>
110425:192545 <info> Patch apply completed.
110425:192545 <info>
110425:192545 <info>
110425:192545 <info> Log file is D:\sdk_cmpackaging\applyCM.DEV_5.01HW312177.log
110425:192545 <info> End of D:\CM_packaging\\applyCM.plx
110425:192546 <info> Compiling cobol programs, check response codes for every program.
No lockfiles found
110425:192547 <info> ***********************
110425:192547 <info> Patch apply completed.
can any one explain how i can fallow for this modifications in the sdk .
Thanks
sivaram
Sivaram,
The error you're seeing, "BUILD FAILED D:\CM_packaging\etc\CMbuild.xml:129: Unable to delete file D:\spl\DEV_5\splapp\standalone\lib\cm.jar" is because a CC&B process was still active that had a lock on that cm.jar file. Make sure you completely shut down CC&B and any threadpoolworkers that may be running on that environment prior to using the applyCM command.
Mike S.
Similar Messages
-
try to create an installer in Labview 8.6. The build fail and I got this message.
CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi
>> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
Loading product deployment information
Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI LabVIEW 8.6.1 Datalogging and Supervisory Control Module' from:
D:\software\application\LabView\NI.LABVIEW\NI-Labview 8.6.1 DSC Module\ to: C:\Documents and Settings\Lidaoling\桌面
\Builds\generate waveform\My Installer\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
Copying files...
Updating files...
Creating merged database...
*** Error: Windows SDK function returned an error. (Error code -12)
*** End Error Report
Done building deploymentSolution
-
Bug Report: Lr3 does not report error when SDK version is too low.
Lr3 should report an error if SDK is under-version'd. For example, I have this in one of my plugins:
LrSdkVersion = 2.0,
LrSdkMinimumVersion = 2.0, -- minimum SDK version required by this plugin.
If I put Lr3.0 specific stuff in the plugin, Lr3 does not report an error, but it should - otherwise whats the point in specifying a version.
I have to take the plugin into Lr2 to test for inadvertent Lr3 specific inclusion mistakes. Thank goodness I'm not worrying about Lr1...
RobHi ,
Could you please helping me out on finding the Patches (SP4,SP5)?
ans also i have tested very oftenly, that my log in credentials are seems to be fine since its working for other reports too.
With Hunting,
MAK -
Error: Windows SDK function returned an error. (Error code -12)
I receive this error when attempting to build an installer for my Labview application.
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-DAQ 8.0.1' from: D:\ to: C:\DARTS\ATS_TE_Project\DARTS_NI-DAQ_HP3561A_Dynamic_Signal_Analyzer\Installer\
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.
*** End Error Report
Done building deploymentI was able to get the install builder to build an installer for my
Application today 6/6/07. These are the steps I performed along with good amounts of trail and error.
1) I attempted to re-install the NI-DAQ 8.0.1 drivers however I didn't
perform this because it said it remove NI products which I didn't want
removed. But it didn't tell me what it would remove.
2) Instead, I copied the entire NI-DAQ 8.0.1 distribution to a directory on my hard drive.
3) I set the NI-DAQ 8.3 install build type to FULL in install builder.
4) In install builder when prompted for the components from the NI-DAQ
8.0.1 I browsed to the NI-DAQ 8.0.1 directory on the hard drive and
also un-checked the cache box.
5) It through another error this time saying it couldn't find
C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker71\LVBroker71Deu.mst (and,
LVBroker71Fra.mst, LVBroker71jpn.mst, LVBroker1071Deu,
LVBroker1071Fra.mst, LVBroker1071jpn.mst). It also could not find the
LVBroker1071 files in the
C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker1071 directory either.
6) I performed a search for these files and they did not exist in the
NI-DAQ 8.0.1 directory on my hard drive or the 8.0.1 CD I have.
7) These files DID exist in my NI-DAQ 8.3 directory located on my hard drive.
8) I copied the LVBrokerxxxx.mst (listed in 5 above) files from the
NI-DAQ 8.3 directory on my hard drive to the corresponding location in
the NI-8.0.1 directory on my hard drive.
9) This time when I rebuilt the installer for my application the build was successful.
Additional information:
When I built my application I only selected English for language
support. In Install builder in "Dialog Information I also selected
English.
I haven't attempted to try the installer on my target yet so I'm not
quite sure how successful I really was but at least I have a installer.
Let me know if this also works for you.
Rich... -
Errors with sdk 1.4.1, but not with 1.3??
I just upgraded to the j2sdk 1.4.1 yesterday from 1.3, and I'm getting a weird compile time error from an import statement that never used to happen. I'm just importing another class I've made, other imports from java.util etc. work fine, but not classes that I have made. Here's the code that gives an error.
import java.io.File;
import java.util.Vector;
import java.util.Enumeration;
import listDir; // only this line gives an error
and here's the error.
C:\kevin\listAll.java:4: '.' expected
import listDir;
^
1 error
Anyone have any idea why that happens? Have the rules changed for importing since sdk 1.3? This worked just fine 2 days ago with 1.3. Thanks for any help.Hi all,
This is what I found will work with the stand alone classes (not package classes).
1) Do not use import MyClass; in your java app.
2) MyClass should be in the same directory as you java app, unless you have set up your CLASSPATH to point to MyClass.
Here is the listing
//import MyClass;
class HelloWorldApp {
public static void main(String[] args) {
String strNewPwd = null;
System.out.println("Hello World!"); //Display the string.
MyClass myClass = new MyClass();
//Do something to call your class
System.out.println(myClass.getMsg());
It seems to work now. If someone knows where I can find an updated documents on how to include classes on 1.4.1, please reply to this message.
Beside this problem, I am trying to use Tomcat 4.1 to develope a web application. I have similar problems finding my classes. On Tomcat 4.0, the app runs fine. I've try the above work around (not include import MyClass), but still does not work. Any suggestions? -
Error in SDK 1.4.0 SSL
Hi,
I have an application running on Linux Slackware 8.1, using SDK 1.4.0
Every couple of days this error occurs, and the server dies (which is really bad for something I want to just sit there, and do stuff without needing to baby sit it).
This error does not occur with any other Platform that it has been run on however, and it seems to be a pretty low level error.
Can someone explain to me what this error is, and whether upgrading to SDK 1.4.1 would correct it? (I could not find any similar errors in the Bug database :( )
Thanks :)Sorry, forgot to paste the error.
The error I got was:
Unexpected Signal : 11 occurred at PC=0x403F2089
Function=is_address__C11LIR_OprDesc+0x21
Library=/home/database/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
Current Java thread:
at java.math.BigInteger.oddModPow(BigInteger.java:1554)
at java.math.BigInteger.modPow(BigInteger.java:1452)
at sun.security.provider.DSA.generateV(DSA.java:279)
at sun.security.provider.DSA.engineVerify(DSA.java:229)
at sun.security.provider.DSA.engineVerify(DSA.java:187)
at java.security.Signature.verify(Signature.java:464)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:397)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:361)
at javax.crypto.SunJCE_b.e(DashoA6275)
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
at javax.crypto.Cipher.getInstance(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_w.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_ax.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SunJSSE_av.<init>(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)
at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA6275)
at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
- locked <0x4461f908> (a
com.sun.net.ssl.internal.ssl.SSLSocketImpl)
- locked <0x4461f980> (a java.lang.Object)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
- locked <0x4461f988> (a java.lang.Object)
at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
- locked <0x4461f9b8> (a
com.sun.net.ssl.internal.ssl.AppOutputStream)
at java.io.OutputStream.write(OutputStream.java:58)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
- locked <0x4461f908> (a
com.sun.net.ssl.internal.ssl.SSLSocketImpl)
at webpay.client.Webpay.connect(Webpay.java:331)
at webpay.client.Webpay.initTransaction(Webpay.java:399)
at webpay.client.Webpay.execute(Webpay.java:378)
at anz4.main(anz4.java:150)
Dynamic libraries:
08048000-0804d000 r-xp 00000000 03:01 1010991
/home/database/j2sdk1.4.0/bin/java
0804d000-0804e000 rw-p 00004000 03:01 1010991
/home/database/j2sdk1.4.0/bin/java
40000000-40014000 r-xp 00000000 03:01 43 /lib/ld-2.2.5.so
40014000-40015000 rw-p 00013000 03:01 43 /lib/ld-2.2.5.so
40015000-40017000 r--s 00000000 03:01 1467413
/home/database/j2sdk1.4.0/jre/lib/ext/dnsns.jar
40018000-40026000 r-xp 00000000 03:01 63 /lib/libpthread-0.9.so
40026000-4002d000 rw-p 0000e000 03:01 63 /lib/libpthread-0.9.so
4002d000-4002f000 r-xp 00000000 03:01 51 /lib/libdl-2.2.5.so
4002f000-40030000 rw-p 00001000 03:01 51 /lib/libdl-2.2.5.so
40030000-40149000 r-xp 00000000 03:01 46 /lib/libc-2.2.5.so
40149000-4014f000 rw-p 00119000 03:01 46 /lib/libc-2.2.5.so
40153000-40416000 r-xp 00000000 03:01 1206567
/home/database/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40416000-4055e000 rw-p 002c2000 03:01 1206567
/home/database/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40572000-40584000 r-xp 00000000 03:01 54 /lib/libnsl-2.2.5.so
40584000-40585000 rw-p 00011000 03:01 54 /lib/libnsl-2.2.5.so
40587000-405bb000 r-xp 00000000 03:01 586951
/usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
405bb000-405c7000 rw-p 00033000 03:01 586951
/usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
405c9000-405e9000 r-xp 00000000 03:01 52 /lib/libm-2.2.5.so
405e9000-405ea000 rw-p 0001f000 03:01 52 /lib/libm-2.2.5.so
405ea000-405f3000 r-xp 00000000 03:01 2282670
/home/database/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
405f3000-405f4000 rw-p 00008000 03:01 2282670
/home/database/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
405f4000-40605000 r-xp 00000000 03:01 2087030
/home/database/j2sdk1.4.0/jre/lib/i386/libverify.so
40605000-40607000 rw-p 00010000 03:01 2087030
/home/database/j2sdk1.4.0/jre/lib/i386/libverify.so
40607000-40628000 r-xp 00000000 03:01 2087031
/home/database/j2sdk1.4.0/jre/lib/i386/libjava.so
40628000-4062a000 rw-p 00020000 03:01 2087031
/home/database/j2sdk1.4.0/jre/lib/i386/libjava.so
4062b000-4063f000 r-xp 00000000 03:01 2087033
/home/database/j2sdk1.4.0/jre/lib/i386/libzip.so
4063f000-40642000 rw-p 00013000 03:01 2087033
/home/database/j2sdk1.4.0/jre/lib/i386/libzip.so
40642000-41cba000 r--s 00000000 03:01 815333
/home/database/j2sdk1.4.0/jre/lib/rt.jar
41cfc000-41d13000 r--s 00000000 03:01 815314
/home/database/j2sdk1.4.0/jre/lib/sunrsasign.jar
41d13000-41d81000 r--s 00000000 03:01 815316
/home/database/j2sdk1.4.0/jre/lib/jsse.jar
41d81000-41d94000 r--s 00000000 03:01 815315
/home/database/j2sdk1.4.0/jre/lib/jce.jar
41d94000-42015000 r--s 00000000 03:01 815331
/home/database/j2sdk1.4.0/jre/lib/charsets.jar
4c140000-4c14b000 r-xp 00000000 03:01 55
/lib/libnss_compat-2.2.5.so
4c14b000-4c14c000 rw-p 0000a000 03:01 55
/lib/libnss_compat-2.2.5.so
4c177000-4c194000 r--s 00000000 03:01 1467412
/home/database/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar
4c194000-4c237000 r--s 00000000 03:01 1467414
/home/database/j2sdk1.4.0/jre/lib/ext/localedata.jar
4c237000-4c245000 r--s 00000000 03:01 1467415
/home/database/j2sdk1.4.0/jre/lib/ext/ldapsec.jar
4c245000-4c257000 r-xp 00000000 03:01 2087036
/home/database/j2sdk1.4.0/jre/lib/i386/libnet.so
4c257000-4c258000 rw-p 00011000 03:01 2087036
/home/database/j2sdk1.4.0/jre/lib/i386/libnet.so
4c258000-4c260000 r-xp 00000000 03:01 58
/lib/libnss_files-2.2.5.so
4c260000-4c261000 rw-p 00008000 03:01 58
/lib/libnss_files-2.2.5.so
(now .. I know I dropped my mind here somewhere .. I wonder where it is..) -
Help!: Build error on SDK 3.0
Hi,
I get the following error while building on SDK 3.0. The project includes Frameworks - CoreFoundation, Foundation, MessageUI and UIKit; but the MessageUI is in 'red' color. Any idea?
Thanks - Sam.
cd "/Users/sam/myApp"
setenv MACOSXDEPLOYMENTTARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk "-L/Users/sam/myApp/build/Debug-iphonesimulator" "-F/Users/sam/myApp/build/Debug-iphonesimulator" -filelist "/Users/sam/myApp/build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/myApp.LinkFileList" -mmacosx-version-min=10.5 -framework CoreGraphics -framework CoreFoundation -framework Foundation -framework MessageUI -framework UIKit -o "/Users/sam/myApp/build/Debug-iphonesimulator/myApp.app/iNotate"
Undefined symbols:
".objcclass_nameCameraViewController", referenced from:
literal-pointer@_OBJC@__clsrefs@CameraViewController in myAppAppDelegate.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
".objcclass_nameCameraViewController", referenced from:
literal-pointer@_OBJC@__clsrefs@CameraViewController in myAppAppDelegate.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Build failed (1 error)Hi,
I checked the build/.../.../i386 directories (for simulator and device) - and the .o file is not present.
After 'Clean All', the all .o's are removed. After 'Build', all but that .o files are built. Hmmm.
The project includes the .h and the .m file for the CameraViewController class. It is the newly-added class to the project.
What would be the reason for this file to be ignored during the build?
Sam -
HTTP Status 401 error download sdk
So I guess I'm missing the secret sauce here. I log into the portal and click the purple button to download the sdk but all I get is a HTTP Status 401 error:
type Status report
message
description This request requires HTTP authentication ().
Same thing happens on firefox, safari, and ie 8. Anyone else run into this?
Thanks,
EricHah fixed my own problem I guess. I had to create a new account not login with my existing adobe developer account. Not sure why that didn't work but I got what I wanted.
-
Build error (iPhone SDK)
Hi, I just started reading the book Programming in Objective-C 2.0 by Kochan and I'm already stuck at the beginning.
I can't seem to build anything without getting the same error. Even de "Hello world" templates you start out with don't work. I've tried several frameworks and even reinstalled the iPhone SDK but it didn't work.
This is the error I get:
Building target “prog1” of project “prog1” with configuration “Debug”
Checking Dependencies
Ld "/Users/dogafincan/Programma's/prog1/build/Debug/prog1" normal i386
cd "/Users/dogafincan/Programma's/prog1"
setenv MACOSXDEPLOYMENTTARGET 10.5
/Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/dogafincan/Programma's/prog1/build/Debug -F/Users/dogafincan/Programma's/prog1/build/Debug -filelist /Users/dogafincan/Programma's/prog1/build/prog1.build/Debug/prog1.build/Objects -normal/i386/prog1.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -o /Users/dogafincan/Programma's/prog1/build/Debug/prog1
ld: file not found: /Users/dogafincan/Programmas/prog1/build/prog1.build/Debug/prog1.build/Objects- normal/i386/prog1.o
collect2: ld returned 1 exit status
------------------------------------------newroz wrote:
/Developer/usr/bin/gcc-4.0 -arch i386
-isysroot /Developer/SDKs/MacOSX10.5.sdk
-L/Users/dogafincan/Programma's/prog1/build/Debug
-F/Users/dogafincan/Programma's/prog1/build/Debug
-filelist /Users/dogafincan/Programma's/prog1/build/prog1.build/Debug/prog1.build/Objects -normal/i386/prog1.LinkFileList
-mmacosx-version-min=10.5 -framework Foundation
-o /Users/dogafincan/Programma's/prog1/build/Debug/prog1
ld: file not found: /Users/dogafincan/Programmas/prog1/build/prog1.build/Debug/prog1.build/Objects- normal/i386/prog1.o
collect2: ld returned 1 exit status
For one, you are using one path with apostrophes (/Users/dogafincan/Programma's/) and somewhere else using a path (_ld: file not found: /Users/dogafincan/Programmas/_) that lacks them. Is that intended?
Try to keep folder names simple/brief, without punctuation to avoid these kinds of issues.
You might want to practice on a simpler structured basis, such as AS, first so you can make these kinds of mistakes and learn before jumping in the deep end of the pool. -
Hello
I got a sudden error when updating my SDK to 4.1.0.14965 that is just out. The error is just that TextConverter.importToFlow is not creating the TextFlow, it is returning null, thus the rest of my code gets crashed.
I tried to isolate the error as far as I could and here is the status:
- everything worked fine till SDK 4.1.0.14883
- the TextFlow was not created when the source had an <a> tag (not sure if it happens with other tags) (it does work fine if the source has no extra tags)
- TextFlow was created fine if I didn't pass a Configuration (even with an <a> tag in the source)
So my guess is that there is some new changes to the Configuration, specially in the link format part, but I could not find anything else that would guide me to solve that. I looked in the TLF release notes, source code, Language Reference and nothing!!
Would anyone guess how to solve that?? Was there indeed any update in the TLF source in that section? Is that a bug?
This is my importToFlow use:
__tflow = TextConverter.importToFlow(__xml.toXMLString(), TextConverter.TEXT_LAYOUT_FORMAT, sprd.config);
. TLF formated XML source
. TextConverter.TEXT_LAYOUT_FORMAT as format
. a Configuration settings
thanks a lot!!
andréThanks Richard
First thanks for the tip of not needing to convert the XML to String, I had no clue : )
My error was Unexpected namespace!
But Unexpected namespace?? That's sure unexpected.. All my source XML have the attribute xmlns set by hand to xmlns="http://ns.adobe.com/textLayout/2008". So I just tried to set the namespace with xml.setNamespace("http://ns.adobe.com/textLayout/2008"); and it didn't RTE anymore. But I got some extra problems here, my website was 490kb size and now is 170Kb!
Well I will keep working on it and update this page.
That would be the correct way to set TextLayout's namespace right? xml.setNamespace("http://ns.adobe.com/textLayout/2008"); ??
Thanks again richard -
Painting Polygons Error on SDK 1.4
Hi, when i try to compile the below code it gives me 2 errors for the polygon part:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Map extends JFrame {
public Map(){
super("Map");
setSize(350,350);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
MapPane map = new MapPane();
getContentPane().add(map);
public static void main(String[] arg) {
Map frame = new Map();
frame.show();
class MapPane extends JPanel {
public void paintComponent(Graphics g) {
Graphics2D screen = (Graphics2D)g;
screen.drawString("Florida",185,75);
screen.drawLine(185,80,222,80);
screen.drawRect(2,2,335,320);
screen.drawRoundRect(182,61,43,24,10,8);
//The part that gives the erorr starts here
int x[] = { 10,234,253,261,333,326,295,259,205,211,195,191,120,94,81,12,10};
int y[] = { 12,15,25,71,209,278,310,274,188,171,174,118,56,68,49,37,12};
int pts = x.length;
int ptsy = y.length;
if (pts == ptsy){
System.out.println(pts+ " " + ptsy + "Equal");
//this line error 1 Polygon poly = new Polygon(x,y,pts);
//this line error 2 screen.drawPolygon(poly);
//Ends here
screen.fillOval(235,140,15,15);
screen.fillOval(225,130,15,15);
screen.fillOval(245,130,15,15);
for (int ax = 50; ax<150; ax+=10)
for(int ay = 120;ay<320; ay+=10)
screen.drawArc(ax,ay,10,10,0,-180);Hmmm...
When I copy this code, only moving the "//" comments on to their own lines, the code compiles without problems. The application also runs as intended. If you are still running into problems with this code, put up a short stack trace and I'll see if I can find something.
(I'm using the JDK1.4 final release.) -
I have inherited a Photoshop CS6 format Plugin developed at my company. This plugin was modeled after the SimpleFormat project found in the adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat folder.
I believe the plugin was originally developed under Visual Studio 2010 and then ported to Visual Studio 2012 on the same machine.
The solution/project currently compiles in Visual Studio 2012 on the original machine. The Project Properties General Platform toolset is set to Windows7.1SDK on the original machine.
I have a brand new laptop. I have just installed Visual Studio 2013. I pulled the solution from our repository and opened it in Visual Studio 2013. When prompted if I wanted to port the 2012 project to 2013 I answered yes. The Project Properties General Platform toolset is now set to Visual Studio 2013 (v120).
When I build the project, I get several C1189: #errors.
I also tried building the SimpleFormat example in 2013 and also get the C1189 errors.
Error
3
error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\Common\SimpleFormatScripting.cpp)
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h
250
1
SimpleFormat
Error
6
error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\..\..\common\sources\PIWinUI.cpp)
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h
250
1
SimpleFormat
1>------ Build started: Project: SimpleFormat, Configuration: Debug Win32 ------
1> Compiling PiPL resource...
1> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> SimpleFormat.r
1> CnvtPiPL. Release Version 13.0, Oct 25 2011 18:03:33.
1> Copyright 1992-2010 Adobe Systems Incorporated.
1> All rights reserved.
1> SimpleFormat.cpp
1> SimpleFormatScripting.cpp
1> SimpleFormatUI.cpp
1> FileUtilities.cpp
1> FileUtilitiesWin.cpp
1> PIDLLInstance.cpp
1> PIUSuites.cpp
1> PIWinUI.cpp
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false' : macro redefinition (..\Common\SimpleFormatScripting.cpp)
1> c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224) : see previous definition of 'false'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true' : macro redefinition (..\Common\SimpleFormatScripting.cpp)
1> c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220) : see previous definition of 'true'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(250): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\Common\SimpleFormatScripting.cpp)
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(197): warning C4005: 'false' : macro redefinition (..\..\..\common\sources\PIWinUI.cpp)
1> c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(224) : see previous definition of 'false'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(232): warning C4005: 'true' : macro redefinition (..\..\..\common\sources\PIWinUI.cpp)
1> c:\adobe_photoshop_cs6_sdk_win\pluginsdk\photoshopapi\photoshop\pitypes.h(220) : see previous definition of 'true'
1>c:\program files (x86)\microsoft visual studio 12.0\vc\include\xkeycheck.h(250): fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. (..\..\..\common\sources\PIWinUI.cpp)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========Thank you for responding ☺
The SimpleFormatScripting.cpp file seems to be failing due to the #include path. SimpleFormatScripting.cpp includes 1 .h file, #include "SimpleFormat.h". The SimpleFormat.h includes 5 .h files. The 3rd file included is PIUtilities.h. PIUtilities.h #includes PITypes.h
If I comment out the section in PITypes.h that defines TRUE true FALSE false as shown below, then I no longer get compile errors for C1189 or the warnings for C4005 for redefinition of true, false.
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef true
#define true TRUE
#endif
#ifndef false
#define false FALSE
#endif
I do get several new warnings:
Warning 2 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:LBR' specification C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\SimpleFormat. obj SimpleFormat
Warning 1 warning LNK4075: ignoring '/INCREMENTAL' due to '/RELEASE' specification C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\LINK SimpleFormat
Warning 3 warning LNK4237: /SUBSYSTEM:NATIVE specified when importing from 'KERNEL32.DLL'; Use /SUBSYSTEM:CONSOLE or /SUBSYSTEM:WINDOWS. C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\kernel32.lib( KERNEL32.dll) SimpleFormat
Warning 4 warning LNK4237: /SUBSYSTEM:NATIVE specified when importing from 'USER32.DLL'; Use /SUBSYSTEM:CONSOLE or /SUBSYSTEM:WINDOWS. C:\adobe_photoshop_cs6_sdk_win\pluginsdk\samplecode\format\simpleformat\win\user32.lib(US ER32.dll) SimpleFormat -
Possible error in SDK docs for xmlDomInstance
API Reference/modules/LrXml.html#xmlDomInstance:transform discusses normalizing the result you get back, and provides a snippet of string manipulation to do so:
"... apply a substitution pattern such as this: string.gsub( result, "[\r\n ]+", " " ) ..."
I /think/ this substitution is supposed to be "[\r\n\t ]+"
It looks like there is a literal tab character in the rendered content of the documentation, which somehow ate the '\t' escape sequence.The Spry site version is fixed (plus another quote error I
found while i was at it..).
The LiveDoc version will take a bit longer to get the fix
live.
Thanks,
Don -
Load: class not found error with sdk 1.4.1 demos
I have read through a ton of messages regarding this problem with Internet Explorer 6. The only one I saw that had a work around was to compile with javac -target 1.1 <filename>
This kind of makes having 1.4 moot doesn't it? Has anyone else figured out anything about this error? I get it just from running the demos or a hello world applet with IE6. No problems with Netscape or the appletviewer.
Thanks in advance...
happy developing.
gHave you configure IE6 to use the plug-in?
What is the HTML code like? What is the exact error message (i.e. what is the name of the class it says it did not found)? -
AYUDA me sale --Error code-12-- Windows SDK function returned an erro
Buenas compañeros, necesito una super ayuda ya que quiero instalar en mi laptop q tiene wind7 y me sale este error:
Error: Windows SDK function returned an error (Error code-12)
End Error Report
Por favor ayudemen con alguna solucion para poder instalar el Labview 2008 8.6, ya que necesito hacer mi tesis.
Les estare agradecido por todo, estamos en contacto y graciasTry posting in english here
Translation
I need a super help because I want to install on my laptop has wind7 q and I get this error:
Error: Windows SDK function returned an error (Error code-12)
End Error Report
Please help me with some solution to install the Labview 2008 8.6, and I need to do my thesis.
Maybe you are looking for
-
List of email clients/address books that will sync with palm desktop 6.2
Is there (and if not, I think there should be) a list somewhere of email clients whose address books will sync with a palm Treo (palm Desktop version 6.2)? I have been happily using various palm handhelds for about 6 years now and have been syncing t
-
Two IPODS combined down to one
Hi All, I have two IPODS and have ITunes on two separate computers. I would like merge the two together and have one computer with the merged itunes and sync both my Ipods to that one combined playlist. Is this possible?
-
Problem saving queries with calculated key figures
Hello Experts, I am analyzing this problem since many hours during the last weeks and I don't know, what else to do. The problem is saving a key user query containing a calculated key figure in the production system (BW 3.5 SP SAPKW35015). The Error
-
Can't delete my saved passwords from Safari 5.1 on Snow Leopard 10.6.8
When the bugs in 1Password initially disabled that application on Safari 5.1 I started saving manually entered passwords on Safari while 1Password was being fixed. Now that 1Password is working I want to remove the saved passwords on Safari as a seci
-
Why when i try to make a purchase, keep getting a table that says ''your purchase can not be complete?''