include the library project

Hello

Please excuse if this is a stupid question, but all this stuff of C++ is really new for my java developer experiences.

I created a project C++ Library of BB mylibproject

with a public folder inside

then I copied in the public record of this project: my_lib_test.h

Then I have another mytestproject of normal C++ BB project

ricght-click-Configure-add-library: added the public record of mylibproject

then in my main.cpp I've included

#include

I could use the library with content injection and open declaration jumps inside the my_lib_test.h inside main() {}

If everything seems to work

then the two selected projects and-> Build Project...

all compiles without error, but I get an error:

/ Developer/SDKs/bbndk-10.0.4-beta/host/macosx/x86/usr/bin/ntoarm-ld: could not find lmylibproject.

no idea what could be the problem?

MyTestProject is a project to mylibproject reference

THX

uuups... was my fault

within my library project, there were 2 files of CBC:

/ SRC

/ public

/ SRC was empty and / public contains xxx.h

creating a class dummi Interior/SRC fixed - now the library has been recognized.

.. good lessons to learn new environments ;-)

Tags: BlackBerry Developers

Similar Questions

  • Script for the library project files

    I want to create a library project that I can use with multiple Flex applications.  I'm moving the files from one of my apps in this new library.  However, one of the files that I brought to the wire is an actionscript file that I use in several files.  It's a bunch of generic utility methods that are nice to have.  I included it in the files like this:

    < mx:Script " source ="utilityScripts/UtilityScript.as """/ >

    Here is a small sample of code in this file:

    Import mx.rpc.events.FaultEvent;

    Import mx.controls.Alert;

    public function handleFault(event:FaultEvent):void {}

    Alert.show (event.toString (), 'Error');

    }

    In the original file, I said not yet as part of a package and it worked fine.  But now in the library project it gives me this error at the beginning:

    1114: the public attribute can only be used inside a package.

    So, if I give him a package name:

    package utilityScripts

    It then gives me a new error:

    1037: packages cannot be nested.

    How can I get this file in the library project?

    Yes, in your project library of all the files must have a package and class name,

    AFIK

  • Cannot sign the library project

    I am a library project named Ksoap2 containing just the Ksoap2.jar for my main project and it works well on the Simulator, I can get the values of webservices. I try to deploy the project to a real device and test it, and an error is that ksoap2. COD must be signed, so I try to sign my projects. After you have installed 3 RIM csi files, I can sign my main project successfully, but not the library Ksoap2 project and I have this:

    File: Ksoap2.cod

    Status: Not registered

    Category: required

    SignerID: 3

    Name: RIMAPPSA2

    And then I tried with another jar for the library project, the results are the same, the status is not saved. Someone can help me, thank you very much!

    Third-party applications are not able to call regardess period, native methods if they are signed or not with signature keys.

    The native reference to the call should be deleted.

  • Download the version of the library project

    Hello

    I am aware of how to get the version of an application using ApplicationDescriptor, but now I would like to be able to get the version of a library in the workspace project programmatically.

    I have a library that can be used in different applications and I want the application to be able to check what version it uses.

    Any ideas?

    Assuming that you know the name of cod for the library, the code such as the following might do what you want:

    moduleHandle int = CodeModuleManager.getModuleHandle ("");
    If (moduleHandle! = 0) {}

    Following might give you useful values
    CodeModuleManager.getModuleVersion (moduleHandle)
    CodeModuleManager.getModuleTimestamp (moduleHandle)
    CodeModuleManager.getModuleVersion (moduleHandle)
    }

  • Library project cannot find the file MXML PopUp

    In my standard project, I have a component that matter and opens a popup TitleWindow. Run as a standard project SWF file, it works perfectly. However, when I create a library project, I get a compilation like this error:

    "Cannot find source for the mySource.myComponents.myPopUp class."

    I import the popup like this:

    import myComponents.myPopUp

    What I have to edit to make this work for the library project?

    Try to add the location of the popup class to the source path of the library (in Flex Builder, select project > properties > Flex Library Build Path).

    HTH,
    Matt Horn
    Flex docs

  • Access to the library data

    Hi all

    I have a problem, and I hope you can help me.

    First of all, I must say, I have an air application, which includes Flex library projects. I would like to read the XML file, which is in the library project, folder - this possible? I did have a problem with playback of files, which are located in the application folder, but I can't find a solution to the folder in the library folder. (each library project is merged into code, no RSL are used).

    Thank you very much and sorry for my English

    Hello

    You can do this by inserting the XML code in the library project.

    Code Project Library:

    package com.example.library{     public class MyClass     {          [Embed(source="MyFile.xml",mimeType="application/octet-stream")]          public static const MyXml:Class;
    
         }}
    

    Project code:

    var obj:Object = new MyClass.MyXml();var xml:XML = new XML(obj);
    

    You can now use the instance variable xml within your code project that you wanted.

    I do not recommend you to use this approach to load XML data. You can do that the loading of the external XML file using class URLLoader instead of embedded in your library project.

    I hope that helps!

    Best regards

    Pablo Souza

  • Flex Library Project does not update

    I created a flex library project, but when it is included in another project, I make some mistakes that make no sense.

    Picture 1.png

    The convertTime method so the mxml file present ControlPanel in the library project, but it's like Flex Builder cannot find them.  How can I fix?

    If you had the component in the library to the correct location, but you still have this error then you should check the library properties and see if this component is included in the source. Even if you the component folder, which is not necessary mean that it is included in the final result (it must be checked in the properties of the project where the source files are included).

  • Is it possible to include the file lvprog in a source distribution build specification

    It seems to me that a full source distribution includes the associated project files but I don't see that it is possible to do. I missing something or do I just have to continue to, outside of LabVIEW, high zip folder that contains everything?

    I think you are talking about the *.lvproj (not *.lvprog).

    No, it is not possible. I think it was possible in the past (LV2009 and earlier versions) and I already complained that elsewhere long ago.

  • With the help of the library of BlackBerry

    First, I'm a BlackBerry is of project with project type library. After that, I do the new Application BlackBerry project this by first importing jar file. This is the step that I do to import the jar:

    1. right clik on project

    2. Add the file to the project

    3. change the filter to all files

    4. Select the jar file in the library project.

    After the above steps, I run the Application BlackBerry project on emulator and no luck. Cannot find the icon of the application on the emulator. Can anyone help?

    Third-party libraries that I joined always come with a cod file, a jad, alx and the jar file.  You use the container during the development as well as the cod and alx/jad during installation.  The cod file is signed by the issuing company.

    Which provides you with a template to use?

  • Creation of a library project in Eclipse using a 3rd party library

    Hello

    I am new to BB development so I hope someone can help me please. I develop my BB application using the plug-in for Eclipse 1.1.2 BB and Eclipse 3.5. I have a master project of UiApplication and some other type lilbrary projects that my main application is dependent on. However, I now need to use a third-party library. I added an external jar file to the main application and if he compiled I get an error when I tried to run in a simulator that the module is not found.

    So my main question is how to do, you use a third-party jar file? I searched the forums and found tips using Ant tools but I prefer to do it in the breast of eclipse or a tutorial, but this implies to use BB IDE but I would perfer to use Eclipse. I thought about it and found a suggestion to create a library project using the 3rd party jar file, but how does that happen? I added a lib folder to a project and the jar file, but I still had to add the jar file to my main application's java build path. To remedy this, I added the jar file in a src folder and made my main application dependent on the library project. However, when he tries to build it said the auditor does not, but I don't know where it is called for.

    I have a jar, cod and alx and jad for a third file. Please help, I am sure that this should be much easier that it turns!

    Since you already have the cod file, you can manually load the file of cod for your library of third party on the simulator by clicking the file menu in the upper corner of the Simulator window.

    Afterwards, when the deployment you need to regroup cod library third party distribution with your application folder AND add the additional appropriate lines in the making .jad file.

    (You need permission to do with third-party library).

    If you need to compile the .jar file in a .cod file so you can find instructions to do it here: http://developers.sun.com/mobility/midp/articles/blackberrydev/#4

    I hope this helps.

  • Impossible to include the static library containing the QObject class in Cascades project

    I'm working on the new platform BB10 based on Qt.

    I have a static library project that defines a QObject class (essentially the class sends signals and a few locations). The project compiles fine and gives me a file libwhathever.a nice

    When I try to include this library in my project of stunts I get these errors during construction:

    • undefined references to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject
    • undefined reference to com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:newQRCodeDetected (QString)
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtCore\qobject.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • location reference external com::vasco:digipass:sdk:utils:qrcodescanner:MyClass:staticMetaObject undefined: c:\Developer\bbndk\target_10_1_0_2342\qnx6\usr\include\qt4\QtDeclarative\qdeclarative.h
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass
    • no reference to vtable for com::vasco:digipass:sdk:utils:qrcodescanner:MyClass

    I think that I miss the compilation step where the Q_OBJECT macro is run. I'm on the right track? I've heard talk about moc and qmake, but I don't know how or when to use in my build process.

    In fact, I solved my problem simply by running the moc on the header file defining the Q_OBJECT. It generated the file moc, that I needed. Then my ant script does the rest of the compilation with qcc and my indefinite references have disappeared.

  • Flex Library Project - including the ActionScript code in an MXML file

    I am new to flex so I apologize if this is common knowledge.

    Breast Flash Builder 4.5, I created a project 'Flex '. I created a folder named "components" and created two files in this folder. ((1) Page.mxml, PageAs.as) 2. In the Page.mxml file, I included the PageAs.as file using the < fx:Script source = "PageAs.as" / > script tag. "

    I save and run it. Everything works very well. No errors.

    Now, I create a "Flex library project', I create a folder named"components"and create two files in this folder. ((1) Page.mxml, PageAs.as) 2. Before I have a chance to include the PageAs.as file in my Page.mxml file I get the following error.

    "A file in a source path must have a definition that is visible from the outside. If a definition in the file is intended to be visible from the outside, please put the definition in a package. »

    Here, I'm a bit confused. I have created two different projects but created two structures of identical files in each project. Why it worked very well in the 'Flex' project but not in the "Flex library project" and is it possible to fix the error?

    Page.MXML

    <?xml version="1.0" encoding="utf-8"?>
      
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
    
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx"
    
              <fx:Script source="Page.designer.as" />
     </s:Group> 
    

    PageAS.as

    import mx.events.*
     
    function unusedFunction():void
    {
          
    }
    
    
    
    

    Go to project-> Properties-> Flex Library Build Path-> Classes (tab)

    Uncheck all of the actionscript files that are not actually classes, but rather an external import in one class (your MXML).

    Also, for the record, it is common to use lowercase letters for files includes actionscript and no real class. Camel case file names should be reserved for the class files...

  • How to include the shared library of BlackBerry in a native extension WebWorks

    I developed a native extension WebWorks that works very well on Simulator and devices when included in a webworks app.

    I also have a sample of waterfalls project with the same code base that I use to test the WebWorks extension code.

    Since a large part of the code is reusable, I decided to create a shared library of BlackBerry, so I can reuse in other projects. When I include the NEW shared library in the waterfalls and then everything works well, as before.

    When I include it in the extension WebWorks it draws very well. The .so file size was much smaller and that worried me (I suspected that the shared library was not included in there). But since its construction very well I went trying to run my application webworks. When it came to hitting the extension I got a ' need of error. Cannot find the library of blah/blah/...so'.

    I had this before and found out that it was because the dependent QT libraries have not been correctly referenced. It so that the shared library is not properly referenced/copied /-thing... This event is supported? For example, by using a custom in a WebWorks extension shared library?

    It worked

    Version 2 is almost right

    In the library paths pane Add...

    ${workspace_loc: / / extlibs/device$ {ProjName}}

    for peripheral and do Simulator

    ${workspace_loc: / / extlibs/Simulator of ${ProjName}}

    Always with libname in libraries

    I just linked to unrar successfully like this library

    Whew - they do this hard work of stuff

  • I would use Yuanti SC police for my web development project. However, my developer is not able to use the file .ttc I extracted from the library of fonts, and .ttf, .otf .woff formats not available anywhere on the web.

    I would use Yuanti SC police for my web development project. However, my developer is not able to use the file .ttc I extracted from the library of fonts, and .ttf, .otf .woff formats not available anywhere on the web. Please, let me know how can I use this font for my project.

    Thank you

    Anton

    Unless the site you develop is for the Asian market, I don't know why you want to use that particular font. The Basic, standard and digital alphabet punctuation glyphs has sans serif, Roman characters, but the rest is thousands of Kanji characters. While you can use the font .ttf and .otf and web fonts, it would be very unusual to use one so great. Pages should load quickly and 78 MB, with a value of faces to download for those who have connections slow Internet is not fast.

    I would take a different font without serifs. There are literally thousands who look identical or virtually identical to Yuanti.

    131 free and high quality without font serif to choose here. I'm sure you can find a desired.

  • How can I remove projects including the event attachment and clips?

    I need to create a space on my external hard drive and have tried to delete projects, but no additional space makes its appearance. I tried to delete also a few photos that are in an event, but the original media always seems to be there and it does not have any space free.

    So I need to delete entire projects, including events and clips and also in some projects and events to reduce the amount of clips including the original media. How do I get there?

    I use Final cut pro x and OS X El Captain 10.11.5 version operating system

    Select one a clip in the browser, and then press shift-command-R.

    Will reveal the path to this item.

    Set the Finder in column view all firstly to facilitate the visualization.

    Al

Maybe you are looking for

  • I can't launch the Skype app on my new windows laptop 8. I get a blue white screen.

    I tried to uninstall/reinstall and it worked once and now does not work again (blue white screen lanch app). I installed norton antivirus, but Skype has worked once when it was installed, I don't know what has changed now. Help, please! Also I'm not

  • Several computers that share an iTunes account?

    Hi, I have an iTunes account that I use on my work pc (windows 8.1).  I bought some music online. I want to use the same account for my home pc (windows), my purchase will be there in my account? or I have to buy songs on my pc at home?

  • Sansaclip left my player without any songs firmware update

    I installed the firmware update yesterday and when I unjacked my sansaclip of my laptop and pressed on "songs", he says only 'empty '. But when I plugged back on my laptop and my music folder is clicked, all my songs were there. What is the problem w

  • Problems with the NIC Intel N 7260

    I have a 15 HP Pavilion age of 4 week t-n200 laptop is Windows 8.1.64. I'm having a problem with the NIC Intel N 7260. All of a sudden the laptop will show it does not connect to all networks. It will show a yellow triangle on it and will not connect

  • Antispyware Vista, "unregistered" version warnings Is - is this legitimate?

    I'm under the bombardment of the Anti-spyware Vista jump - rises, even when I tried to visit this site. These warnings are legitimate? Why is my only option to buy the 'missing' [sic] version for $59.99 for one year? This started happening last night