View unanswered posts | View active topics


Reply to topic  [ 4 posts ] 
ExportSWC plugin unable to find compc.exe? 
Author Message
Member

Joined: Mon Jun 29, 2009 6:37 pm
Posts: 28
Location: Denver,CO USA
Post ExportSWC plugin unable to find compc.exe?
I'm trying to create a swc library using the ExportSWC plugin I downloaded today from sourceforge.

I can compile one of my library files fine as a swf but when I try and use the swc plugin button I get this:

*** Unable to build SWC: Project or compc.exe not found
at ExportSWC.PluginMain.RunCompc(String confpath)


It can find the sdk dir if the mxmlc compiler works ok and there is a compc compiler in that directory. I assume the project it's referring to is the as3proj file which is also there. I created it as a flex3 project (I also tried AS3 project with the same results).

Anyone got any ideas what might be wrong?

Thanks

_________________
Cheers,

Matt


Tue Nov 17, 2009 1:43 am
Profile WWW
Member

Joined: Mon Jul 21, 2008 1:50 am
Posts: 3
Post Re: ExportSWC plugin unable to find compc.exe?
from SWCBuilder.cs:
Code:
protected bool RunCompc(string confpath)
      {
         try
         {
            // get the project root and compc.exe location from the command argument
            FileInfo compc = new FileInfo(FlexSdkBase + "\\bin\\compc.exe");
            if ((!ProjectPath.Exists) | (!compc.Exists))
               throw new FileNotFoundException("Project or compc.exe not found", ProjectPath.FullName + "|" + compc.FullName);


Code:
protected string FlexSdkBase
      {
         get { return (string)AS3Context.PluginMain.Settings.FlexSDK.Clone(); }
      }


It may be the case that your Tools --> Program Settings --> AS3Context --> Flex SDK Location has a trailing \bin which is being concatenated with \bin\compc.exe.


Sun Dec 27, 2009 10:49 pm
Profile
Member

Joined: Mon Jun 29, 2009 6:37 pm
Posts: 28
Location: Denver,CO USA
Post Re: ExportSWC plugin unable to find compc.exe?
Thanks TMC - that was it. I had \bin in my SDK location.

_________________
Cheers,

Matt


Tue Dec 29, 2009 10:43 pm
Profile WWW
Member

Joined: Fri Apr 02, 2010 4:11 pm
Posts: 6
Post Re: ExportSWC plugin unable to find compc.exe?
when i open the ExportSWC code
AS3Context ASCompletion can't find

how can i fix that??


Sun Mar 20, 2011 7:22 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.