Giter Site home page Giter Site logo

error build about jwplayer HOT 14 CLOSED

jwplayer avatar jwplayer commented on June 27, 2024
error build

from jwplayer.

Comments (14)

donato avatar donato commented on June 27, 2024 1

yup, we do just that for our jenkins builds!

Just make sure you have FLEX_HOME set, and that AIR_HOME is not set

Relevant code is here : https://github.com/jwplayer/jwplayer/blob/master/Gruntfile.js#L277

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

windows 7 64bit

from jwplayer.

donato avatar donato commented on June 27, 2024

This means the file isn't found (or the shell doesn't have permissions for it), try setting an environment variable for $AIR_HOME that matches your install directory

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

Hi I already do this and same problem , is there any one try to build with windows7 64bit

cheers

from jwplayer.

donato avatar donato commented on June 27, 2024

You are right, the flash compiler does not support windows!

We will need some toggling to add ".bat" to the end of all binaries (ie all the strings which go /bin/___) in this project:

https://github.com/jwplayer/grunt-flash-compiler

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

is there any way to compile it on ubuntu using flex cause air not supported any more on Linux

regards

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

Thanks for Help , i will try and feedback :)

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

same error
Running "flash:debug" (flash) task
C:\AIRSDK_Compiler/bin/mxmlc -compiler.source-path=src/flash -compiler.library-p
ath+=C:\AIRSDK_Compiler/frameworks/libs -default-background-color=0x000000 -defa
ult-frame-rate=30 -target-player=11.2 -swf-version=15 -use-network=true -show-mu
ltiple-definition-warnings=true -compiler.inline=true -compiler.remove-dead-code
=true -define+=JWPLAYER::"version,'7.2.0-alpha.0'" -output=bin-debug/jwplayer.fl
ash.swf src/flash/com/longtailvideo/jwplayer/player/Player.as -link-report=bin-d
ebug/jwplayer.flashlink.xml -size-report=bin-debug/jwplayer.flashsize.xml -stric
t=true -debug=true -define+=CONFIG::debugging,true
Fatal error: spawn C:\AIRSDK_Compiler\bin\mxmlc ENOENT

from jwplayer.

robwalch avatar robwalch commented on June 27, 2024

You might want to give npm cache clear a try. Then npm update -g to update to the latest npm.

from jwplayer.

ahmedlotfey avatar ahmedlotfey commented on June 27, 2024

finally my error was i need to create folder C:\AIRSDK_Compiler\frameworks\libs\player\11.1 and copy the file playerglobal.swc on it

PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 77 of 77 SUCCESS (0.541 secs / 0.433
secs)

Done, without errors.

Thanks all for help

from jwplayer.

donato avatar donato commented on June 27, 2024

No problem! Feel free to update the documentation if you think it could be better.

from jwplayer.

chengshengru avatar chengshengru commented on June 27, 2024

same error
Running "flash:debug" (flash) task
F:\IdeaProjects\jwplayer\node_modules\jwplayer-flex-sdk\lib\flex_sdk/bin/mxmlc.b
at -compiler.source-path=src/flash -compiler.library-path+=F:\IdeaProjects\jwpla
yer\node_modules\jwplayer-flex-sdk\lib\flex_sdk/frameworks/libs -compiler.extern
al-library-path=F:\IdeaProjects\jwplayer\node_modules\jwplayer-flex-sdk\lib\flex
_sdk/frameworks/libs/player/11.2/playerglobal.swc -default-background-color=0x00
0000 -default-frame-rate=30 -target-player=11.2 -swf-version=15 -use-network=tru
e -static-link-runtime-shared-libraries=true -define+=JWPLAYER::"version,'7.8.6'
" -output=bin-debug/jwplayer.flash.swf src/flash/com/longtailvideo/jwplayer/play
er/Player.as -link-report=bin-debug/jwplayer.flashlink.xml -size-report=bin-debu
g/jwplayer.flashsize.xml -strict=true -debug=true -define+=CONFIG::debugging,tru
e
Fatal error: spawn F:\IdeaProjects\jwplayer\node_modules\jwplayer-flex-sdk\lib\f
lex_sdk\bin\mxmlc.bat ENOENT

from jwplayer.

robwalch avatar robwalch commented on June 27, 2024

Maybe windows doesn't like the mix of forward and backward slashes in the mxmlc command. Have a look at Grunfile.js and https://github.com/jwplayer/node-flex-sdk

We have no interest in supporting Windows for building the player but will gladly look at any PR that adds support.

from jwplayer.

johnBartos avatar johnBartos commented on June 27, 2024

@chengshengru What shell are you using? I've built on Windows before with git-bash and that seemed to work. You can ignore the flash errors with grunt --force if you're just working on the html5 project

from jwplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.