Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ira.uka.de!fauern!NewsServ!breidenb From: breidenb@Informatik.TU-Muenchen.DE (Oliver Breidenbach) Newsgroups: comp.sys.mac.programmer Subject: Help on "C++ Programming with MacApp" book needed Message-ID: <1991Mar3.161029.16931@Informatik.TU-Muenchen.DE> Date: 3 Mar 91 16:10:29 GMT Sender: news@Informatik.TU-Muenchen.DE Organization: Technische Universitaet Muenchen, Germany Lines: 28 hi folks, being new to mac programming and interessted in MacApp, I decided to buy the book "C++ Programming with MacApp" by David Wilson, Larry Rosenstein and Dann Shafer. Together with the book comes a disk which has all the code on it. I worked my way through the book until chapter 9, where a simple MacApp program is described. All the previous programs in the book compiled without trouble. But all programs using MacApp libaries do not link. The linker gets me an error message: ### Link: Error: Main code (-m option) name not found. (Error 53) %__MAIN ### Link: Error: No Main code module or entry point. (Error 38) ### Link: Errors prevented normal completion. I didn't change the code one single bit since copying it from disk to harddisk. I installed MacApp exactly as described in the book, except that the path is "Macintosh HD:Prog:MacApp 2.0" & "Macintosh HD:Prog:MPW" due to organisation of my data. I use MacApp 2.0 from CD and MPW 3.1 with C++ 3.1 under System 7.0b4. Any Ideas what could be wrong? Any help would be appreciated. Thanks in advance. Oliver. e-mail: Oliver.Breidenbach@Informatik.tu-muenchen.de or breidenb@tuminfo4.informatik.tu-muenchen.de