×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    2

    SymbianOsUnit complains about resources

    Heydo

    I tried to contact SymbianOsUnit's official help, but unfortunately it was not in use, so I dared to post this problem in here.

    So the problem is that I'm trying to use SymbianOsUnit for unit testing, but it doesn't work as intended. I tried to do everything according the tutorial, which was delivered with it, but compiling still fails.

    It complains about C:\work\temp\SymbianOSUnit\SymbianOSUnitApp\src\SymbianOSUnitAppUi.cpp(47): error C2065: 'R_FILE_FIRST_MENU' : undeclared identifier , which hints about resource file. I checked out the .rss-file and everything seemed to be there okays.

    Any ideas how to solve this?

    My whole testing framework and files can be found from->
    http://prototyyppi.com/symosunitProblem.zip

    My IDE is .Net 2003 version.

    If I can't find a solution from here, could someone point me a direction where to go next?

    -Heikki

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: SymbianOsUnit complains about resources

    Well, at least the application seems to use 2 .rss files with the same name but in different directories. This is not supported by Carbide.vs (which you seem to be using). So at least rename the aif resource file to something like sy..aif.rss, the the .rsg file end up being empty as Carbide will try to generate it from the aif rss file.

    Also, there is a minor bug in Carbide.vs which causes the project to look ugly if you import from an .mmp file that is in a subdirectory to group. To make the project appeat better, pls move the appropriate .mmp file into group and change all the indirect references so that you remove one level of indirection.

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    2

    Re: SymbianOsUnit complains about resources

    Thanks a ton Mitts. It solved the problem:D

    I've been wrestling with this problem for few days and tried to look trought the whole internet, but never managed to find a solution before this 8)

  4. #4
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: SymbianOsUnit complains about resources

    Well, the answer was not on the 'net, it was hopefully on your PC in the Release Notes :-)

Similar Threads

  1. Freeing resources in threads
    By ghauber in forum Symbian
    Replies: 2
    Last Post: 2006-09-06, 12:22
  2. PANIC CONE 8 --> What resources?
    By lazmous in forum Symbian
    Replies: 2
    Last Post: 2004-12-23, 12:28
  3. Series 60 Emulator, reading image from resources ?
    By kakoskin in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2004-02-05, 11:19
  4. Replies: 7
    Last Post: 2003-06-27, 15:32
  5. resources in relation to content download over wap (sample wml code)
    By mauriceshephard in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2003-02-20, 09:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×