Solved

Annoying Error!!

Posted on 1997-05-21
1
227 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now