Windows media foundation - 'MFCreateSourceReaderFromURL' identifier not found - ms-media-foundation

I am getting few errors while building Windows media foundation application.
error C3861: 'MFCreateSourceReaderFromURL': identifier not found
error C2027: use of undefined type 'IMFSourceReader'
I have added Additional Include Directory and Library file paths in the project properties. I have also added "mfplat.lib" as additional dependencies.
But still I am getting above errors.

Related

Deploy Qt Design Studio Project for Webassembly

I am using Qt 6.3.2 and im on a M1 Mac.
I am trying to build a Qt Design Studio Project for webassembly but I have trouble to install the Designer Components for Webassembly.
To use a Design Studio Project, you have to install the Designer Components to your Installation, which I did like stated in the documentation:Adding Qt Quick Designer Components to Qt Installations.
This works fine when I build it for Mac but I cant get it to work with WASM. Do I need to build the components in a specific way for em++?
When I use the components like stated in the docs I get the following error message:
em++: warning: unrecognized file type: `/Users/marius/Qt/6.3.2/wasm_32/./qml/QtQuick/Studio/Effects/libquickstudioeffectsplugin.dylib`. Mapping to `-lquickstudioeffectsplugin` and hoping for the best [-Wmap-unrecognized-libraries]
em++: warning: unrecognized file type: `/Users/marius/Qt/6.3.2/wasm_32/./qml/QtQuick/Studio/Application/libquickstudioapplicationplugin.dylib`. Mapping to `-lquickstudioapplicationplugin` and hoping for the best [-Wmap-unrecognized-libraries]
em++: warning: unrecognized file type: `/Users/marius/Qt/6.3.2/wasm_32/./qml/QtQuick/Studio/EventSimulator/libquickstudioeventsimulatorplugin.dylib`. Mapping to `-lquickstudioeventsimulatorplugin` and hoping for the best [-Wmap-unrecognized-libraries]
em++: warning: unrecognized file type: `/Users/marius/Qt/6.3.2/wasm_32/./qml/QtQuick/Studio/EventSystem/libquickstudioeventsystemplugin.dylib`. Mapping to `-lquickstudioeventsystemplugin` and hoping for the best [-Wmap-unrecognized-libraries]
wasm-ld: error: unable to find library -lquickstudioeffectsplugin
wasm-ld: error: unable to find library -lquickstudioapplicationplugin
wasm-ld: error: unable to find library -lquickstudioeventsimulatorplugin
wasm-ld: error: unable to find library -lquickstudioeventsystemplugin
em++: error: '/Users/marius/Documents/Git/emsdk/upstream/bin/wasm-ld #/var/folders/k3/prb53mjs50sf220pb_trz4fc0000gn/T/emscripten_7udnbcap.rsp.utf-8' failed (returned 1)
ninja: build stopped: subcommand failed.
I tried to build the components for other architectures or as a static library.

Console warning "[nuxt] Cannot load payload... _payload.js" warning on dynamic routes in static site

I am upgrading my static site from Nuxt3-RC3 to Nuxt3-RC11.
After upgrading I get a lot of errors and warnings in the console related to my dynamic routes (/m/[...slug].vue). It appears, that Nuxt is trying to prefect the dynamic pages it finds links to (e.g. /m/some/page) by looking up an _payload.js for each dynamic route. The warning is, that
ERROR: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
WARNING: entry.8994fad8.js:5 [nuxt] Cannot load payload /m/d6746dd9-497b-4f9a-8201-513b19762ccd/f6358aa0-07a4-46c4-b3eb-9d6c515f07c7/_payload.js TypeError: Failed to fetch dynamically imported module: /m/d6746dd9-497b-4f9a-8201-513b19762ccd/f6358aa0-07a4-46c4-b3eb-9d6c515f07c7/_payload.js
(anonymous) # entry.8994fad8.js:5
When I click to open the _payload.js in the browser file I can see, that it is rendered as an html file which explains the mime type error.
But, why is Nuxt throwing these errors and warnings and how can I avoid them?
This is no longer a problem. Solution is to upgrade to the new stable Nuxt3

Azure Machine Learning Studio Custom Module Upload Error 0114 : An item with the same key has already been added

When trying to upload a custom R module to Azure Machine Learning Studio what causes the following error.
[ModuleOutput]
"ErrorId":"BuildCustomModuleFailed","ErrorCode":"0114","ExceptionType":"ModuleException","Message":"Error 0114: Custom module build failed with error(s): An item with the same key has already been added."}} [ModuleOutput] Error: Error 0114: Custom module build failed with error(s): An item with the same key has already been added.
I have tried renaming the module so a name that does not exists.
The duplicate key exception is a red herring. Build error 0114 is a general error that occurs if there is a system exception while building the custom module. The real issue my module was compressed using the built in compress folder option in the Mac Finder. To fix this compress the file using the command line interface for zip in Terminal in the following very specific manner.
The following example:
cd ScoredDatasetMetadata/
zip ScoredDatasetMetadata *
mv ScoredDatasetMetadata.zip ../
Builds a zip file with the correct file structure.

getting an error with play.Project.playJavaSettings

I have a Java project using play framework v2.3. I have the following line in the build.sbt file:
play.Project.playJavaSettings
However, now that I start activator, I get the following error:
[info] Loading project definition from /home/username/typesafe/testProj/project
/home/username/typesafe/testProj/build.sbt:60: error: object Project is not a member of package play
play.Project.playJavaSettings
^
[error] Type error in expression
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
I have tried the following but I was not able to resolve the build file loading issue
playJavaSettings
Removing the line works. I am still looking into if this line really is required for a Java project or not.
playJavaSettings is not available anymore in Play 2.3, since Play is now added via the auto plug mechanism. Check the migration guide for 2.3 which states that:
Play itself is now added using the auto plugin mechanism. The
mechanism used in Play 2.2 where playJavaSettings and
playScalaSettings were used has been removed. You now use one of the
following instead
lazy val root = (project in file(".")).enablePlugins(PlayJava)

Missing resource bundle com.adobe.flex.framework:playerglobal:rb.swc:ko_KR:4.5.1.21328

facing a issue while creating locale file with maven build for Korean locale.
rest of language resource bundle get created properly only Korean locale giving problem.
the following error occur.
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:compile-swf (default-compile-swf) on project
---: Execution default-compile-swf of goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:compile-swf failed: Missing
resource bundle 'com.adobe.flex.framework:flash-integration:rb.swc:ko_KR:4.5.1.21328
For this I have bundled required swc in my package and called same from maven build.

Resources