×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    2

    Problems with vc6

    Hi,
    I've vc++ 6.0 introductory edition on win2k (I installed vc6sp5). I installed version 0.9 of series 60 SDK. All works well if I work in cmd, but if I work in vc++ ide I've problems.
    1) If I use the appwizard to create an app for example in c:\src it start and after sometime it closes vc (no error in the event viewer). The directory structure is ok but the wokspace doesn't contain my project. I see temporary file VC*.tmp that seems makefile incomplete; they looks like this:

    # Microsoft Developer Studio Project File - Name="prova" - Package Owner=<4>
    # Microsoft Developer Studio Generated Build File, Format Version 6.00
    # ** DO NOT EDIT **

    # TARGTYPE "Win32 (x86) Application" 0x0101

    CFG=prova - Win32 Debug
    !MESSAGE This is not a valid makefile. To build this project using NMAKE,
    !MESSAGE use the Export Makefile command and run
    !MESSAGE
    !MESSAGE NMAKE /f "prova.mak".
    !MESSAGE
    !MESSAGE You can specify a configuration when running NMAKE
    !MESSAGE by defining the macro CFG on the command line. For example:
    !MESSAGE
    !MESSAGE NMAKE /f "prova.mak" CFG="prova - Win32 Debug"
    !MESSAGE
    !MESSAGE Possible choices for configuration are:
    !MESSAGE
    !MESSAGE "prova - Win32 Release" (based on "Win32 (x86) Application")
    !MESSAGE "prova - Win32 Debug" (based on "Win32 (x86) Application")
    !MESSAGE

    # Begin Project
    # PROP AllowPerConfigDependencies 0
    # PROP Scc_ProjName ""
    # PROP Scc_LocalPath ""
    CPP=cl.exe
    MTL=midl.exe
    RSC=rc.exe

    !IF "$(CFG)" == "prova - Win32 R

    2) If I create the project file via cmd and than I try to compile in the ide, vc closes and doesn't compile.

    3) If I want to debug the app (compilation done via cmd) the ide tell me it needs to create some file and the vc closes and doesn't start the debugger.

    Thanks in advance
    Ciao Angelo

    PS: I tried Visual studio 6.0 enterpries edition with the same problems

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Tampere
    Posts
    475

    RE: Problems with vc6

    If you have the Myproject\group\bld.inf file you could create the workspace by the following steps on group directory:

    1, Create the abld.bat
    bldmake bldfiles

    2, Create the workspace
    abld makefile vc6

    When application wizard create a project called MP into c:\src directory, it create the worspace under
    ..\Symbian\6.1\Series60\Epoc32\BUILD\SRC\MP\GROUP\MP\WINS\Mp.dsw
    The same apply to abld.

    Now you can load that workspace to Visual Studio.
    Please Note, When you add/remove a library/class in the project file(MMP-file) you should recreate the workspace file as well by abld.bat .

    To debug an application please create and load the workspace into MS VC++ IDE and use its debug options. There is no need to create a project file (for example Mp.dsp) individually.

    Best Regards,
    (V) - Forum Nokia Developer Support

Posting Permissions

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