Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) make error: FAILED mifconvwrapper for arm.v5.udeb.gcce4_4_1: BITMAP

 

Make error.

 

 

 

 

 

 

Full error message

 

Running build steps for project CppQtCreatorSymbian3NokiaN8Logging...
Configuration unchanged, skipping qmake step.
Starting: "C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\tools\make.exe" debug-gcce -w
C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\tools\make.exe: Entering directory `C:/QtSDK/Projects/Website/CppQtCreatorSymbian3NokiaN8Logging'
sbs -c arm.v5.udeb.gcce4_4_1
   error: 'C:/QtSDK/Symbian/SDKs/Symbian3Qt472/epoc32/tools/svgtbinencode.exe -v 3 C:/QtSDK/Symbian/SDKs/Symbian3Qt472/epoc32/build/cppqtcreatorsymbian3nokian8logging/c_bbb7c71f463b309f/CppQtCreatorSymbian3NokiaN8Logging.svg' failed
  

sbs : warnings: 0
sbs : errors: 1

built 'arm.v5.udeb.gcce4_4_1'

Run time 17 seconds

sbs: build log in C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\build\Makefile.2011-03-23-10-48-26.27-3748.log

FAILED mifconvwrapper  for arm.v5.udeb.gcce4_4_1: BITMAP
C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\tools\make.exe: Leaving directory `C:/QtSDK/Projects/Website/CppQtCreatorSymbian3NokiaN8Logging'
C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\tools\make.exe: *** [debug-gcce] Error 1
The process "C:\QtSDK\Symbian\SDKs\Symbian3Qt472\epoc32\tools\make.exe" exited with code 2.
Error while building project CppQtCreatorSymbian3NokiaN8Logging (target: Symbian Device)
When executing build step 'Make'

 

 

 

 

 

History

 

I created a default-created Mobile application on a native Windows XP computer for deployment on a Nokia N8 smartphone. Keeping all settings to their default, this error occurs.

 

 

 

 

 

Solution

 

Unknown. After reading [1] and [2] I tried to turn JIT off, but it was already off...

 

 

 

 

 

Technical facts

 

Application type(s)

Operating system(s) or programming environment(s)

IDE(s):

C++ standard:

Compiler(s):

Libraries used:

 

 

 

 

 

Qt project file: CppQtCreatorSymbian3NokiaN8Logging.pro

 

# Add files and directories to ship with the application
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
DEPLOYMENTFOLDERS = # file1 dir1

symbian:TARGET.UID3 = 0xEDA1D0B3

# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices

# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the
# MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=

SOURCES += main.cpp mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui

# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()

 

 

 

 

 

main.cpp

 

#include "mainwindow.h"

#include <QtGui/QApplication>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    MainWindow mainWindow;
    mainWindow.setOrientation(MainWindow::ScreenOrientationAuto);
    mainWindow.showExpanded();

    return app.exec();
}

 

 

 

 

 

mainwindow.cpp

 

// checksum 0xa193 version 0x30001
/*
  This file was generated by the Mobile Qt Application wizard of Qt Creator.
  MainWindow is a convenience class containing mobile device specific code
  such as screen orientation handling.
  It is recommended not to modify this file, since newer versions of Qt Creator
  may offer an updated version of it.
*/

#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <QtCore/QCoreApplication>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent), ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::setOrientation(ScreenOrientation orientation)
{
#if defined(Q_OS_SYMBIAN)
    // If the version of Qt on the device is < 4.7.2, that attribute won't work
    if (orientation != ScreenOrientationAuto) {
        const QStringList v = QString::fromAscii(qVersion()).split(QLatin1Char('.'));
        if (v.count() == 3 && (v.at(0).toInt() << 16 | v.at(1).toInt() << 8 | v.at(2).toInt()) < 0x040702) {
            qWarning("Screen orientation locking only supported with Qt 4.7.2 and above");
            return;
        }
    }
#endif // Q_OS_SYMBIAN

    Qt::WidgetAttribute attribute;
    switch (orientation) {
#if QT_VERSION < 0x040702
    // Qt < 4.7.2 does not yet have the Qt::WA_*Orientation attributes
    case ScreenOrientationLockPortrait:
        attribute = static_cast<Qt::WidgetAttribute>(128);
        break;
    case ScreenOrientationLockLandscape:
        attribute = static_cast<Qt::WidgetAttribute>(129);
        break;
    default:
    case ScreenOrientationAuto:
        attribute = static_cast<Qt::WidgetAttribute>(130);
        break;
#else // QT_VERSION < 0x040702
    case ScreenOrientationLockPortrait:
        attribute = Qt::WA_LockPortraitOrientation;
        break;
    case ScreenOrientationLockLandscape:
        attribute = Qt::WA_LockLandscapeOrientation;
        break;
    default:
    case ScreenOrientationAuto:
        attribute = Qt::WA_AutoOrientation;
        break;
#endif // QT_VERSION < 0x040702
    };
    setAttribute(attribute, true);
}

void MainWindow::showExpanded()
{
#ifdef Q_OS_SYMBIAN
    showFullScreen();
#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
    showMaximized();
#else
    show();
#endif
}

 

 

 

 

 

mainwindow.h

 

// checksum 0x9a77 version 0x30001
/*
  This file was generated by the Mobile Qt Application wizard of Qt Creator.
  MainWindow is a convenience class containing mobile device specific code
  such as screen orientation handling.
  It is recommended not to modify this file, since newer versions of Qt Creator
  may offer an updated version of it.
*/

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
public:
    enum ScreenOrientation {
        ScreenOrientationLockPortrait,
        ScreenOrientationLockLandscape,
        ScreenOrientationAuto
    };

    explicit MainWindow(QWidget *parent = 0);
    virtual ~MainWindow();

    void setOrientation(ScreenOrientation orientation);
    void showExpanded();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H

 

 

 

 

 

References

 

  1. From forum.nokia.com thread SBSv2 mifconv problem in Symbian^3 sdk - 2011-01-29 19:06, post from wizard_hu_:
     
    Aha, the good old svgtbinencode, http://wiki.forum.nokia.com/index.ph...dition_FP1_SDK, apparently still valid.
    You can try checking if Just In Time debugging is enabled, and disabling it. The setting is in the emulator (Tools/Preferences - in the menu bar on the top). Rationale: many of the command line tools in the SDK are actual Symbian executables (they are using the libraries from epoc32\release\winc\urel, winc is the Windows command-line target), and they are using the same settings as the emulator.
    Compression is a good thing, especially since you have ~80 .svg files, so the /X switch should be the last attempt I think.

  2. From wiki.forum.nokia.com:
     
    Make sure that the "just-in-time debugging" feature is disabled when the resource files are about to be built. Alternatively, if for some reason it is desired to keep the feature enabled, it is possible to avoid calling the SVGTBINENCODE.EXE tool by using the /X option flag in the command line of MIFCONV.EXE.

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict