473,889 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiling wxbasic in C?

Thebuilderofdoom
18 New Member
why i can't compile it using Pelles C or Borland or Dev-C++ or MVC++ or Cygwin or wxDev-C++ please help
Web site
Wxbasic site
Mar 25 '10 #1
9 3722
jkmyoung
2,057 Recognized Expert Top Contributor
Are you getting any error messages?
Mar 26 '10 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
What leads you to believe wxbasic is C++? Not even C is C++.

This sounds like a complaint that Spanish words are not in my Chinese dictionary for some reason.
Mar 26 '10 #3
newb16
687 Contributor
It's a qbasic-like interpreter written in C, the source (downloadable) really looks like C. It requires wxwidgets, this may be the reason of failure. It was also written in the times when wxwidgets was called wxwindows, and may be incompatible with the new version.
Mar 26 '10 #4
Thebuilderofdoom
18 New Member
please help to compile it and give me the right version of wxwidgets
Mar 26 '10 #5
Thebuilderofdoom
18 New Member
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Brosna n>cd C:\Borland\BCC5 5\Bin

C:\Borland\BCC5 5\Bin>bcc32 C:\wx\wxbasic.c pp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2075: Incorrect configuration file option: Bcc32.cfg

C:\Borland\BCC5 5\Bin>bcc32 C:\wx\wxbasic.c pp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
C:\wx\wxbasic.c pp:
Error E2209 C:\wx\wxbasic.c pp 15: Unable to open include file 'wx/wxprec.h'
Error E2209 C:\wx\wxbasic.c pp 24: Unable to open include file 'wx/wx.h'
Error E2141 C:\wx\console.c pp 32: Declaration syntax error
Error E2303 C:\wx\console.c pp 37: Type name expected
Error E2293 C:\wx\console.c pp 40: ) expected
Error E2040 C:\wx\console.c pp 44: Declaration terminated incorrectly
Error E2040 C:\wx\console.c pp 44: Declaration terminated incorrectly
Error E2190 C:\wx\console.c pp 44: Unexpected }
Error E2190 C:\wx\console.c pp 44: Unexpected }
Error E2303 C:\wx\console.c pp 47: Type name expected
Warning W8054 C:\wx\wxbasic.c pp 47: Style of function definition is now obsolete

Error E2258 c:\Borland\Bcc5 5\include\_stdd ef.h 36: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\_stdd ef.h 132: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\_stdd ef.h 133: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\_stdd ef.h 134: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\_stdd ef.h 135: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\searc h.h 33: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\searc h.h 70: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\searc h.h 71: Declaration was expected
Error E2258 c:\Borland\Bcc5 5\include\searc h.h 72: Declaration was expected
Error E2092 c:\Borland\Bcc5 5\include\stdli b.h 36: Storage class 'extern' is not
allowed here
Error E2040 c:\Borland\Bcc5 5\include\stdli b.h 36: Declaration terminated incorre
ctly
Error E2090 c:\Borland\Bcc5 5\include\stdli b.h 506: Qualifier 'std' is not a clas
s or namespace name
Error E2272 c:\Borland\Bcc5 5\include\stdli b.h 506: Identifier expected
Error E2090 c:\Borland\Bcc5 5\include\stdli b.h 511: Qualifier 'std' is not a clas
s or namespace name
Error E2272 c:\Borland\Bcc5 5\include\stdli b.h 511: Identifier expected
Error E2228 c:\Borland\Bcc5 5\include\stdli b.h 511: Too many error or warning mes
sages
*** 26 errors in Compile ***

C:\Borland\BCC5 5\Bin>
Mar 27 '10 #6
newb16
687 Contributor
It can't find wxwidget include files, provide the compiler with them (set up include path so that it know where to search). There is also bison source file you have to take care about.
Mar 27 '10 #7
weaknessforcats
9,208 Recognized Expert Moderator Expert
Do you have the include files?
Mar 28 '10 #8
Thebuilderofdoom
18 New Member
yes i have them in the folder
Mar 29 '10 #9
weaknessforcats
9,208 Recognized Expert Moderator Expert
Then you should be able to code:

Expand|Select|Wrap|Line Numbers
  1. #include "thatheader.h"
  2.  
  3. //or
  4.  
  5. #include <thatheader.h>

If you use the <>, the header file must be in a folder along a predefined path. Here you need to see how your development tool lets you specify additional preprocessor include directories. I know how to do this using Visual C++.

If you use the " " format, then the header must be in the same folder as the file you are compiling. If not, the preprocessor reverts to the <> format and looks along the predefined paths.
Mar 29 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2081
by: Martin Bless | last post by:
I need to access a MSSQL database (MS-Sql, not MySQL!)and would very much like to use mssql-0.09.tar.gz which is available from http://www.object-craft.com.au/projects/mssql/download.html Unfortunately the binary for Python-2.4 isn't available yet and I'd hate to step back to a previous version. I'm glad I managed to set up my XP machine to being able to compile extensions using the VC++ toolkit which freely availbale from MS. See
3
3664
by: modemer | last post by:
Hello, I got weird compiling message similar like following when I compiled my simple code on Sun 5.8 with CC WorkShop 6 update 2 C++ 5.3. CC -g -o myclass.o -c myclass.cpp CC -g -o main.o -c main.cpp CC -g -L/usr/lib -lsocket -lnsl -o main myclass.o main.o __1cH__rwstdJ__rb_tree4CpknJmyclassHCSOCKET_nDstdEpair4Ck4n0BNCSOCKEVENTMGRJ SOCKEVENT___n0AL__select1st4n0G_C4__n0DEless4C4__n0DJallocator4n0G____Efind6
0
3075
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for many of the top/height/left settings. I noticed that some of the constants were defined by using other constant values, and I was impressed that VBA could do that. Here's an example: Const row1Top = 1.0208 * 1440 ' top of first row Const...
4
11372
by: Aaron Queenan | last post by:
When I build a C++ library to .NET using the managed C++ compiler, I get the following error message: Linking... LINK : error LNK2020: unresolved token (0A000005) _CrtDbgReport LINK : error LNK2020: unresolved token (0A000007) memset LINK : error LNK2020: unresolved token (0A000008) free LINK : error LNK2020: unresolved token (0A00000A) atexit LINK : error LNK2020: unresolved token (0A000028) wcscpy LINK : error LNK2020: unresolved...
2
1875
by: Rudy Ray Moore | last post by:
Hi guys, I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6. Some things I like (proper for loop variable scoping, for example), but some other things are troubling me. One annoying behavior is that the text editor often "hangs" (doesn't let me type) while compiling. Is there a way to fix this so it behaves more like VS6 (editor does not hang while compiling)?
1
1913
by: Jim Heavey | last post by:
Hello, trying to round out my knowlege here about compiling. To date I have used VS.Net to do all my compiling "majically", but I want to understand how to do it on my own, should the need ever arrise. It has been suggested to me that I should use the following pattern when compiling my programs, but I am not sure I understand the "pattern", Try creating a text file along the following lines where the /r are the dlls you are...
10
2208
by: Christina N | last post by:
When compiling my ASP.Net application, VS puts the new DLL under the local cached directory 'VSWebCache' in stead of on the server. How can I make it save the DLL file on the server when compiling? I have opened the source code project through 'File - Open - Open project from web..' Best regards, Christina
2
1963
by: Justin Naidl | last post by:
A group of friends and I are doing a RPG (role-playing game) maker for a school project. It occured to us, however, that if you want the user to be able to have almost complete control over the contents of his/her game, that you would end up with a tiny executable and a huge datafile. We wanted to keep clear of this as disk accesses take a lot of time to do and there would be a huge load of them to do this part. We could very easily...
8
2213
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the existing code. The options I've considered so far: 1. Create a new MC++ GUI project and add the *.c files to them and mark them with pragma unamanged. However, the /clr option does not compile *.c files, so I rename them to *.cpp, and now they...
0
1397
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help compiling code dynamically it may involve some reflection so if any one is any good in that field or compiling code this would be a great time to show me what you know. by the way my last weird but serious combo box error i solved my self it was just a simple recompile and some simple code changes and it worked. i will put a link to the code for compiling dynamially here: <a href =...
0
9962
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11198
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10791
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9609
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7993
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7150
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6029
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4647
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4251
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.