V
V
Vladimir Grabko2016-06-07 04:58:15
Apache Cordova
Vladimir Grabko, 2016-06-07 04:58:15

Why doesn't it compile?

ubuntu sdk cost

[email protected]:~# cordova create hello com.example.hello HelloWorld
Creating a new cordova project.
[email protected]:~# cd hello
[email protected]:~/hello# cordova platform add ubuntu
Adding ubuntu project...
Running command: /home/lucifer/.cordova/lib/npm_cache/cordova-ubuntu/4.3.3/package/bin/create /home/lucifer/hello/platforms/ubuntu com.example.hello HelloWorld
Creating a Cordova Project:
 Project Path: /home/lucifer/hello/platforms/ubuntu
 Package Name: com.example.hello
 Project Name: HelloWorld

missing icon element in config.xml
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "[email protected]" via npm
Installing "cordova-plugin-whitelist" for ubuntu
[email protected]:~/hello# cordova build ubuntu
Running command: /home/lucifer/hello/platforms/ubuntu/cordova/build 
Building...
cmake /home/lucifer/hello/platforms/ubuntu/build -DCMAKE_INSTALL_PREFIX="/home/lucifer/hello/platforms/ubuntu/native/prefix" -DCMAKE_BUILD_TYPE="Release" FAILED
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for modules ''
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
Must specify package names on the command line
CMake Error at /usr/lib/i386-linux-gnu/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:27 (message):
  The imported target "Qt5::Multimedia" references the file

     "/usr/lib/i386-linux-gnu/libQt5Multimedia.so.5.2.1"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/i386-linux-gnu/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/i386-linux-gnu/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:44 (_qt5_Multimedia_check_file_exists)
  /usr/lib/i386-linux-gnu/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:134 (_populate_Multimedia_target_properties)
  /usr/lib/i386-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package)
  CMakeLists.txt:118 (qt5_use_modules)


-- Configuring incomplete, errors occurred!
See also "/home/lucifer/hello/platforms/ubuntu/native/build/CMakeFiles/CMakeOutput.log".

Try running the task again with --verbose for more logs.
Example: cordova run -- --verbose
Error: /home/lucifer/hello/platforms/ubuntu/cordova/build: Command failed with exit code 1

CMakeOutput.log pastebin.com/gB2tWfeu

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question