473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Compiling wxbasic in C?

Thebuilderofdoom
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 3700
jkmyoung
2,057 Expert 2GB
Are you getting any error messages?
Mar 26 '10 #2
weaknessforcats
9,208 Expert Mod 8TB
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 512MB
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
please help to compile it and give me the right version of wxwidgets
Mar 26 '10 #5
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>
Mar 27 '10 #6
newb16
687 512MB
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 Expert Mod 8TB
Do you have the include files?
Mar 28 '10 #8
yes i have them in the folder
Mar 29 '10 #9
weaknessforcats
9,208 Expert Mod 8TB
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
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 ...
3
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...
0
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...
4
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...
2
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...
1
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...
10
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?...
2
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...
8
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.