Solved

Annoying Error!!

Posted on 1997-05-21
1
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

740 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