Solved

Annoying Error!!

Posted on 1997-05-21
1
238 Views
Last Modified: 2008-03-06
I keep getting this error!  I am using Turbo C++, Version 3.0 for Windows from Borland.  Here is the damn error...

Compiling ..\OWL\EXAMPLES\HELLOAPP.CPP:
Fatal ..\OWL\INCLUDE\OWL.H 40: Error directive: OWL applications must be built with either WIN30 or WIN31 defined.


Any help GREATLY appreciated!  I have made this worth all my remaining points!
0
Comment
Question by:mitchell042997
1 Comment
 
LVL 3

Accepted Solution

by:
gaohong earned 130 total points
ID: 1163610
Hi, first in project local option, defines STRICT, then check
appropriate settings, either WIN30 or WIN31. I do not have a
TC++3.0 in front, however, it is all from the projectings. To
make it easy, copy a similar project (OWL example project *.prj)
to where you want your project resides, then rename it, and
remove all the cpp and rc files, add your own files and add your include directory, it should working, else try one of borland
examples in the examples directory, if still problems, then
may be do a re-install.

hope this helps
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question