Turbo C ++ 4.5 error "undefined owlmain character ..."

I know that Turbo C ++ is ancient, but my daughter school uses it, and I have to help it.

I use Turbo C ++ 4.5 on a Windows 7 virtual machine that runs on Windows 8.1.

For any project, when you click the Create All button, an error message appears:

"Undefined symbol OwlMain (int, char far*, far*) in library file c:\tcwin45\lib\owlwi.lib in module winmain" 

I even created a new project with one source file with minimal code as follows:

 void main () { // return; } 

Even then I get the same error as above.

I do not understand the reason for this error. Any help would be greatly appreciated.

+5
source share
1 answer

It looks like you're pulling on the OWL library (a library for creating graphical interfaces). This probably means that you created your project with the wrong type. You need a simple console project with blue bones.

In addition, your school makes your daughter enormous in poor services by teaching outdated technologies and (possibly) methods. From that moment, C ++ has changed a lot, and the material that it learns will be partially applicable only in the real world. You should consider initiating a complaint.

+9
source

Source: https://habr.com/ru/post/1203790/


All Articles