Makefiles when porting to a development tree

I tried to follow the guidelines for porting of a Makefile project, but extremely difficult to manage a hierarchy of directories when porting.

My code is all Vanilla C++, so I don't want not targeted to any operating system or specific CPUS.

When I create an empty project in the IDE, the root directory has a makefile with LIST = CPU and the only option seems to be to put the tree source in this directory (removal of all the project directory structure), which is unfeasable and unacceptable.

So I try to move the "arm" and "x 86" files in a subdirectory 'cpu', copy the main Makefile, create a 'common' subdirectory and delete the LIST = line CPU from the root makefile. "." Now things look like this:

root
    common.mk    <- unchanged
    bar-descriptor.xml    <- unchanged
    Makefile    <- removed LIST=CPU
    cpu
        Makefile <- has LIST=CPU
        arm
        x86
    common
        

Well, it does not work. When I build, I get:

make [2]: * no rule for target ' / Developer/SDKs/bbndk-2.0.1/target/qnx6/usr/include/mk/nto_.mk'.  Stop.

Search on Google, he seems to break on my subdirectories of project because a CPU has not been set. But the content of my project is independent of CPU. How can I go about creating a directory tree in this environment?

Thank you

Dan.

Hello Dan, thanks again for the clarification, I am also able to reproduce the error you get. Here's how to get the compilation...

1. remove the Makefile in the directory "common". This is what is causing your error.

2. in the file "common.mk" in the root directory, add the line

EXTRA_SRCVPATH += $(current_dir) / municipality

(note that this is in the common.mk not the makefile)

Select debugging device, clean and build.

See you soon

Swann

Tags: BlackBerry Developers

Similar Questions

  • When I try to develop I get the Elf is not found

    I have serious doubts about the wisdom of buying a product that offers zero support, except their customer forum.  5 Lightroom worked fine until I updated Adobe, now when I open my library, most of the photos is blurry, and when I try to develop an image (I could before update) I get a message, "the file is not found"?

    Hi dgmtexas,

    This means that these files are missing from the original location. Please refer to Adobe Lightroom - find folders and files moved or missing and link the original in Lightroom to be able to develop them.

    Kind regards

    Assani

  • When I look at my pictures on library it loads and it is super grainy, as my iso was too high, but when I look on developing it seems. What is happening and how I keep good fixed when I get back to the library and export?

    When I look at my pictures on library it loads and it is super grainy, as my iso was too high, but when I look on developing it seems. What is happening and how I keep good fixed when I get back to the library and export?

    Please see: photos look grainy on library but not on developing

    soft blurry images / when you view in the library but strong in develop mode? Lightroom forums

    Kind regards

    Mohit

  • Screen pink when you click on develop

    Hi I get a pink screen when I click on 'Developing' for my photos. They are not raw images. I'm on Lightroom 6. I have 10 Windows on a Dell computer. Don't know what the issue is. Photos appear during the import, but when I click on the entire image turns pink

    Hi John,.

    • Go to Lightroom > edit > Preferences.
    • Also please go to preferences > Performance tab and uncheck the box "use graphics processor.
    • Restart Lightroom and see if it works.

    Concerning

    Tanuj

  • When I go into develop mode, a screen will appear in white letters in the upper left corner of my screen and I can't get out

    I'm having a problem with my lightroom. When I arrived to develop fashion a screen in white lettering appears in the upper left corner of my screen. I can't get out. It appears on each photo and file developing fashion but does not appear in the library mode. I can't make my pictures with that it helps...

    Press the letter I have a couple of times. You can either have the displayed file permanently, temporarily displayed information or displays do not at all.

  • When I click on 'developing' I get what looks like a solarized image...

    In lightroom, when I click on 'developing', I get what looks like a solarized image... Word?

    Go in Edition > preferences > preferences > Performance (on a Mac: Lightroom > preferences > Performance) and uncheck CPU graph use.

  • blue screen when I try to develop my raw photos

    I downloaded the trial of lightroom version, and my raw photos look like blue screen when I try to develop. I can view them in the library, but not develop... I assume this has something to do with camera raw, but I have no idea how to solve. If anyone can help?

    I'll tell you the information that I found on the web:

    -In the list of supported cameras, it says I need - like version minimum - 5.4 of Camera Raw plugin and at least 2.4 version of lightroom.

    - And system information that appears in the trial version of lightroom is:

    Version of Lightroom: CC 2015.4 [1060496]

    License: Trial

    Operating system: Windows 10

    Version: 10.0

    Application architecture: x 64

    System architecture: x 64

    Number of logical CPUs: 4

    Processor speed: 2.5 GHz

    Built-in memory: 8097,1 MB

    Real memory for Lightroom: 8097,1 MB

    Real memory used by Lightroom: 658,2 MB (8.1%)

    Virtual memory used by Lightroom: 2411,3 MB

    Memory cache size: 3.5 MB

    Maximum thread count used by Camera Raw: 4

    Camera Raw SIMD optimization: SSE2, AVX, AVX2

    System DPI setting: 144 DPI (high DPI mode)

    Composition of the Bureau enabled: Yes

    Exhibition: 1) 1920 x 1080

    Entry types: Multitouch: Yes, built-in touchscreen: Yes, built-in pen: Yes, touch external: no, external pen: no keyboard: Yes

    Graphic processor News:

    Intel(r) HD Graphics 520

    Check the supported OpenGL: past

    Vendor: Intel

    Version: 3.3.0 - Build 10.18.15.4279

    Renderer: Intel(r) HD Graphics 520

    LanguageVersion: 3.30 - Build 10.18.15.4279

    The application folder: C:\Program Files\Adobe\Adobe Lightroom

    Library path: C:\Users\Celina\Pictures\Lightroom\Lightroom Catalog.lrcat

    Settings folder: C:\Users\Celina\AppData\Roaming\Adobe\Lightroom

    Plugins installed:

    (1) home canon Plugin

    (2) Facebook

    (3) Flickr

    (4) attachment Plugin Leica

    (5) attachment Plugin Nikon

    Config.LUA flags: None

    Map #1: Vendor: 8086

    Feature: 1916

    Subsystem: 804e103c

    Revision: 7

    Video memory: 128

    Map #2: Seller: 1414

    Device: 8 c

    Subsystem: 0

    Revision: 0

    Video memory: 0

    AudioDeviceIOBlockSize: 1024

    AudioDeviceName: Speakers (Conexant HD SmartAudio)

    AudioDeviceNumberOfChannels: 2

    AudioDeviceSampleRate: 44100

    Build: LR5x102

    Direct2DEnabled: false

    GPUDevice: not available

    OGLEnabled: true

    In Lightroom, try Edit > Preferences. On the performance tab, uncheck the box use Graphics Processor.

    See also 6 Lightroom displays a blue screen with a white X through it in the module development for all my photos

  • 6 of Lightroom. When I opened to develop &amp; load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    When I opened to develop & load an image from the image after is removed a pale blue screen.  If I shared the screen I can see the front of the image but the image after rest as a blue screen. Clues please?

    Most likely, LR has problems talking to your video card.

    In the Preferences dialog box, tab Performance, disable the use of the GPU.

  • Why my image only shows noise when I go to develop in Lightroom?

    I'm a newbie to Lr admitted.

    I imported a picture and when I go to develop, it only takes a moment to load, and then shows my picture in the work area, but very dark and only with the color to show the noise (maybe - it almost looks infrared image). I have tried resetting everything, update my version and view under each display option.

    All the basic settings are 0.

    I got lost.

    lightroom_problem.png

    It seems that the display card drivers are in conflict with the application.

    Please follow the steps below:

    > Launch Lightroom

    > Click Edit > Preferences

    > Click on the performance tab

    > Turn off the processor use chart

    > Reboot the machine

    > Launch Lightroom and check the number

    Let me know if it helps.

    ~ UL

  • I got this message on my iMac when I open the developer in LR5. "Develop module is disabled" why?

    I got this message on my iMac when I open the developer in LR5. "Develop module is activated" why?

    Hello

    • Problem solved by

      • Uninstall Adobe creative cloud desktop application (CX had all perpetual programs)
      • Removed LR form/library folder

    Concerning

    Rohit

  • When Flash Player will develop a version of Windows 10?

    When Flash Player will develop a version of Windows 10?

    Hi jds315,

    Flash Player is included in Windows 10 and is integrated in the edge browser and Internet Explorer browser.

    --

    Maria

  • Photo shows in the library but when I opened to develop that it shows a blue screen with a cross diaginal

    Photo shows in the library but when I opened to develop that it shows a blue screen with a cross diaginal

    Go to preferences > Performance tab and uncheck the option "use graphics processor. Adobe is aware of this problem and are studying, but in the meantime to uncheck this option should your unit develop problems.

  • Get linker errors when porting code to the plugin for 2014 CC InDesign InDesign CC

    Hello

    I get following errors from the linker when porting the plugin code CC InDesign InDesign CC 2014

    > PlugInStatics.obj: error LNK2019: unresolved external symbol "class boost::system:error_category const & __cdecl boost::system:generic_category (void)" (? generic_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system:' dynamic initializer for ' posix_category" (empty) "(? __Eposix_category@System@Boost@@YAXXZ)

    > PlugInStatics.obj: error LNK2019: unresolved external symbol "class boost::system:error_category const & __cdecl boost::system:system_category (void)" (? system_category@system@boost@@YAAEBVerror_category@12@XZ) referenced in function "void __cdecl boost::system:' dynamic initializer for ' native_ecat" (empty) "(? __Enative_ecat@System@Boost@@YAXXZ)

    I use the following environment:

    OS: Windows 7 SP1 (64-bit)

    Visual Studio: VS 2013 with platform toolset = Visual Studio 2010 (v100)

    InDesign SDK: InDesign CC 2014 plugin SDK (070)

    Thrust of libraries: 1.55

    I added paths to external library boost in visual studio-> properties-> extra library paths, always above Linker errors from the linker persists, can anyone help?

    Thank you

    -Hard.

    You can include a macro definition

    BOOST_SYSTEM_NO_DEPRECATED

    or do like adobe expert and include the following macros

    BOOST_ALL_DYN_LINK; BOOST_REGEX_USE_CPP_LOCALE; BOOST_REGEX_RECURSIVE; BOOST_HAS_ICU = 1; BOOST_ FILESYSTEM_VERSION = 3; BOOST_CHRONO_HEADER_ONLY; BOOST_SIGNALS_NO_DEPRECATION_WARNING;

    Concerning

    Bartek

  • When porting from iOS to WebWorks BB10/7, I have to keep phonegap?

    Hello

    I just get to work for an iOS phonegap app over ports at BB WW and I was wondering: is keeping phonegap is necessary or wise?

    The old app on iOS using phonegap 2.2 (recently upgraded to a very old version) and some plugins such as mapkit (uses that much, I can't just drag the mapping features - like view location on map and directions).

    Aura of the maintenance phonegap and using a version of BB of mapkit (when it exists) be easier than just porting to WebWorks?

    Also keep in mind that I want to port BB10 and OS7 and can - if it's easy - OS5 - 6 and I don't want to have very different code base for different versions of the BB OS.    I already have an older version of java application running on OS4 - 6, but it would be nice to put a new version for old devices also.

    I only did a webworks app but then I don't know much but so sorry if it's a bad question.

    Thank you

    PhoneGap/Cordova supports BlackBerry by calling WebWorks. Cordova doesn't support BB10 until 2.3.0 or 2.4.0, if so you need to update if you want to use. We're going to do also all Cordova the way standard and official to create HTML5 on BB10 applications, so stick to Cordova is sustainably good thing.

    However, I am not aware if there is a port on BB10 mapkit. Certainly, you can do the mapping, but you may need to take one of our samples of mapping and wrap it up in the same API if you want it to run perfectly.

    Now, porting to OS7 should be OK, but when you talk to will OS5 and 6, you may encounter more problems. At this point, those are very old devices. The engine of the browser in them is a good few years old - OS5 does not also WebKit. Memory and processors are half of what's available in devices OS7. You have to be very effective to make it work as you want.

    It is difficult to give really good advice without knowing your target market, demographics, and the region, and what kind of features you want to deliver (in addition to the maps). These factors will determine what kind of userbase you can expect on the different versions of the OS, and that it is better to port PhoneGap version for old phones, or update the Java version. Take a look at the BlackBerry World user stats that we publish and your own user base numbers. Generally, we found that users with the latest hardware equipment are also those who buy apps or spend money on them, and those with more recent or fairly recent devices is those who download. Make sure that you balance the available opportunity development times.

  • Updated to firefox9 and now when I use extension of tree style tab the screen goes black, with the exception of the "window of the tab" and the part of the screen behind him

    Update firefox9. Using tree style tab extension. Everything works fine, except that my screen goes black when in 'tab window', with the exception of the window of the tab and the part of the screen behind him. Once out of the tab section everything comes back fine, but it is rather annoying. Checked homepage for the extension and have the updated version, firefox add-on page - it also says that it is compatible. Any ideas on that?

     Am realizing pages will stay on as long as I don't move the mouse,but as soon as I do move it,black goes the screen.
    

    Ok. A installed version 1.4? Manufacturers homepage. This is apparently what caused problems. Get rid of this and installed version 1.3? Since firefox add on the pages. Problems solved...

Maybe you are looking for

  • Where can I find the (9.1.1) Safari activity?

    Safari used to have an activity window (in the window menu) where the user can see that the application had been made recently. I want to know when a Web page has been opened in Safari, but there is no window available in Safari 9.1.1. Can someone te

  • photos not appearing is not on the iMac over the clouds

    I bought a new iMac and decided to give iCloud and Photos a good try. I have over 21 k images (from the Photos on my iMac). My iMac is my main computer so I put it where the original is uploaded on it. I also have a macbook pro and two iPhones. When

  • coprocessor in HP pavilion p6045sc will not install

    as the topic is revealing. I have win 7 x 64 clean copy of win 7 I tried updateing my bios. I have allso tried running the controller SATA., but he came whit a dialog box telling me that I do not meet the minimum. ... \\Spiina

  • administor questions

    I have a quicktime 7.6.5 for vista, I wanted to download.  Once he arrives at the end of the download I get the message SYSTEM ADMINISTOR is SET POLICIES TO PREVENT THIS INSTALLATION.  There is no administor for this computer, and is my computer at h

  • Computer Dell laptop doesn't detect the TV via HDMI connection.

    I have a Dell Inspiron N5110 with Windows 7 and a Samsung TV. Whenever I plug my HDMI cable, the only thing I see on my TV screen is No Signal. It is on the correct entry, but my computer still does not recognize the second monitor.I have connected m