Thread: Compiling wxbasic in C?

  1. #1
    Registered User Lusicthon's Avatar
    Join Date
    Mar 2010
    Posts
    2

    Question Compiling wxbasic in C?

    why i can't compile it using Pelles C or Borland or Dev-C++ or MVC++ or Cygwin or wxDev-C++ please help,how you compile wxwidgets 2.3.2 and then use wxwidgets with borland compiler 5.5? and link the wxwidgets library and borland library and compile source with those?
    Error:
    Code:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    
    C:\Documents and Settings\Brosnan>cd C:\Borland\BCC55\Bin
    
    C:\Borland\BCC55\Bin>bcc32 C:\wx\wxbasic.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Error E2075: Incorrect configuration file option: Bcc32.cfg
    
    C:\Borland\BCC55\Bin>bcc32 C:\wx\wxbasic.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\wx\wxbasic.cpp:
    Error E2209 C:\wx\wxbasic.cpp 15: Unable to open include file 'wx/wxprec.h'
    Error E2209 C:\wx\wxbasic.cpp 24: Unable to open include file 'wx/wx.h'
    Error E2141 C:\wx\console.cpp 32: Declaration syntax error
    Error E2303 C:\wx\console.cpp 37: Type name expected
    Error E2293 C:\wx\console.cpp 40: ) expected
    Error E2040 C:\wx\console.cpp 44: Declaration terminated incorrectly
    Error E2040 C:\wx\console.cpp 44: Declaration terminated incorrectly
    Error E2190 C:\wx\console.cpp 44: Unexpected }
    Error E2190 C:\wx\console.cpp 44: Unexpected }
    Error E2303 C:\wx\console.cpp 47: Type name expected
    Warning W8054 C:\wx\wxbasic.cpp 47: Style of function definition is now obsolete
    
    Error E2258 c:\Borland\Bcc55\include\_stddef.h 36: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\_stddef.h 132: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\_stddef.h 133: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\_stddef.h 134: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\_stddef.h 135: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\search.h 33: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\search.h 70: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\search.h 71: Declaration was expected
    Error E2258 c:\Borland\Bcc55\include\search.h 72: Declaration was expected
    Error E2092 c:\Borland\Bcc55\include\stdlib.h 36: Storage class 'extern' is not
    allowed here
    Error E2040 c:\Borland\Bcc55\include\stdlib.h 36: Declaration terminated incorre
    ctly
    Error E2090 c:\Borland\Bcc55\include\stdlib.h 506: Qualifier 'std' is not a clas
    s or namespace name
    Error E2272 c:\Borland\Bcc55\include\stdlib.h 506: Identifier expected
    Error E2090 c:\Borland\Bcc55\include\stdlib.h 511: Qualifier 'std' is not a clas
    s or namespace name
    Error E2272 c:\Borland\Bcc55\include\stdlib.h 511: Identifier expected
    Error E2228 c:\Borland\Bcc55\include\stdlib.h 511: Too many error or warning mes
    sages
    *** 26 errors in Compile ***
    
    C:\Borland\BCC55\Bin>

    Web site:
    wxbasic

  2. #2
    Registered User Lusicthon's Avatar
    Join Date
    Mar 2010
    Posts
    2
    Help plz!!!

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    If all else fails, read and attempt to understand the error messages you receive.

    Look at the first error message
    Error E2075: Incorrect configuration file option: Bcc32.cfg
    That is telling you your configuration is screwed up.

    The second error message
    Error E2209 C:\wx\wxbasic.cpp 15: Unable to open include file 'wx/wxprec.h'
    is the compiler telling you the file "wx/wxprec.h" is not in a directory (aka path) that the compiler searches to find include files.

    Since both errors messages are related to the content or location of files on your computer, you will need to track it down. There is no advice we can offer here, except "check the appropriate files on your computer".

    In future, in forums like this: be patient. Your problem may be urgent to you, but those who help in this forum do so in their own time (eg when they login and see your message). If you want immediate turnaround, find someone who you can pay to deliver such service. Rates for such services start at a couple of hundred dollars (US) per hour.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling errors and using Cmake Set Policy
    By eligor in forum Linux Programming
    Replies: 2
    Last Post: 01-25-2010, 01:43 PM
  2. Need Help Compiling A VC++ 6 Project In Dev C++ 4.9.9.2
    By shen747 in forum C++ Programming
    Replies: 10
    Last Post: 09-17-2009, 09:52 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Compiling
    By Dae in forum C++ Programming
    Replies: 7
    Last Post: 06-15-2005, 01:08 AM
  5. Compiling in Unix vs Visual C++
    By stimpyzu in forum C++ Programming
    Replies: 2
    Last Post: 09-30-2002, 06:41 AM

Tags for this Thread