Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor tunelabguy's Avatar
    Join Date
    Dec 2005
    Posts
    59
    I created a project using the AppWizard from VC++6.0. As long as I continue to use the same few files that AppWizard created, everything is fine. Now if I add another file to the project, it compiles but does not link. But if I move that very same code into one of the original files, then everything links (for the emulator). I can’t build my whole application using the same 4 files that AppWizard generated. How can I add files to the project so that they link?

    Robert Scott
    Ypsilanti, Michigan, USA

  2. #2
    Regular Contributor tunelabguy's Avatar
    Join Date
    Dec 2005
    Posts
    59
    OK, I found out what to do. You cannot just add a file in the MVC++6.0 IDE. You must first get out of the IDE and edit the .MMP file to add the new source file. Then use the command line:

    abld makefile vc6

    in the folder where the abld.bat file is. This will remake the .DSW workspace file for the IDE that will properly include the new object file into the link.

    Robert Scott
    Ypsilanti, Michigan , USA

Similar Threads

  1. [newbie here] Link error
    By xitpu in forum Symbian C++
    Replies: 3
    Last Post: 2007-01-24, 16:53
  2. Replies: 0
    Last Post: 2006-08-09, 11:27
  3. could not find thread.mbg and thread.rsg
    By deercrane in forum Symbian C++
    Replies: 3
    Last Post: 2006-04-18, 09:44
  4. Replies: 6
    Last Post: 2004-09-17, 14:04
  5. Linker Error. Urgent
    By ramanathan1 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2004-08-23, 04:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved