You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Tom Chiverton <tc...@extravision.com> on 2014/03/11 10:40:27 UTC

Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

As soon as I try to use an RSL for the framework files my passing 
-static-link-runtime-shared-libraries=false to MXMLC, compile fails with

/home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
Error: unable to open 'libs/osmf.swc'

and there's a comment in the flex-config that says for that library:

  <!--
             Even though there is no OSMF rsl leave this in so that in a 
FlashBuilder
             Flex Library project, FlashBuilder will allow "Link Type" 
to be external.

If I comment this block out, all is good. This is an Ant-based install 
on Linux - does the flex-config have to be this way ? Is there a way to 
flag it so MXMLC isn't confused ?
-- 
extravision Signature
*Tom Chiverton* | Lead Developer | Extravision
*T:* 0161 817 2922 | *W:* www.extravision.com 
<http://www.extravision.com> | *T:* twitter.com/extravision 
<http://twitter.com/extravision> | *E:* tchiverton@extravision.com 
<ma...@extravision.com>
.
.
  A fresh approach to email marketing

.
Registered in the UK at : 107 Timber Wharf, 33 Worsley Street, 
Manchester, M15 4LD. Registration number: 05017214 VAT: GB 824 5386 19

Disclaimer: This e-mail is intended solely for the person to whom it is 
addressed and may contain confidential or privileged information. If you 
have received it in error please notify us immediately and destroy this 
e-mail and any attachments. In addition, you must not disclose, copy, 
distribute or take any action in reliance on this e-mail or any 
attachments. Any views or opinions presented in this e-mail are solely 
of the author and do not necessarily represent those of Extravision Ltd. 
E-mail may be susceptible to data corruption, interception, unauthorised 
amendment, viruses and delays or the consequences thereof. Accordingly, 
this e-mail and any attachments are opened at your own risk.


Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

I think the issue is with OSMF 2.0 there's no public download link to the .swc only the .swf, so it's not obtained by the installer.

Justin

Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

Posted by Tom Chiverton <tc...@extravision.com>.
Now's a good time to get Git setup on my new box at work then :-)

Tom

On 11/03/14 10:18, Alexander Doroshko wrote:
> Probably that's because OSMF.swc file in [Flex SDK]/frameworks/libs 
> has uppercased name since Flex SDK 4.12, but the corresponding entry 
> in flex-config.xml file still contains lowercased name.
>
> On 11.03.2014 13:40, Tom Chiverton wrote:
>> As soon as I try to use an RSL for the framework files my passing 
>> -static-link-runtime-shared-libraries=false to MXMLC, compile fails with
>>
>> /home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
>> Error: unable to open 'libs/osmf.swc'
>>
>> and there's a comment in the flex-config that says for that library:
>>
>>  <!--
>>             Even though there is no OSMF rsl leave this in so that in 
>> a FlashBuilder
>>             Flex Library project, FlashBuilder will allow "Link Type" 
>> to be external.
>>
>> If I comment this block out, all is good. This is an Ant-based 
>> install on Linux - does the flex-config have to be this way ? Is 
>> there a way to flag it so MXMLC isn't confused ?
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>


Re: Specifying -static-link-runtime-shared-libraries=false breaks on OSMF

Posted by Alexander Doroshko <al...@jetbrains.com>.
Probably that's because OSMF.swc file in [Flex SDK]/frameworks/libs has 
uppercased name since Flex SDK 4.12, but the corresponding entry in 
flex-config.xml file still contains lowercased name.

On 11.03.2014 13:40, Tom Chiverton wrote:
> As soon as I try to use an RSL for the framework files my passing 
> -static-link-runtime-shared-libraries=false to MXMLC, compile fails with
>
> /home/tchiverton/workspace/apache-flex-4.12/apache-flex-sdk-4.12.0-bin/frameworks/flex-config.xml(411): 
> Error: unable to open 'libs/osmf.swc'
>
> and there's a comment in the flex-config that says for that library:
>
>  <!--
>             Even though there is no OSMF rsl leave this in so that in 
> a FlashBuilder
>             Flex Library project, FlashBuilder will allow "Link Type" 
> to be external.
>
> If I comment this block out, all is good. This is an Ant-based install 
> on Linux - does the flex-config have to be this way ? Is there a way 
> to flag it so MXMLC isn't confused ?