From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8233e35633ca7b88 X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: Templates in digital C++ Date: 1998/03/11 Message-ID: <3506EC12.38A8A650@zk3.dec.com>#1/1 X-Deja-AN: 333080367 Content-Transfer-Encoding: 7bit References: <34F2D7A3.41C6@bev.net> Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 This issue was handled offline, but I am posting the resolution here so that it may help others. The answer came from someone else in the C++ group who worked the issue with Chris... The problem turned out to be that Chris had a source and include hierarchy in his application. Digital's template automatic instantiation scheme requires that the template repository files get created in a directory or directories so that the final link can know where they are. Once the makefile was changed to use the -ptr option to specify the complete path name of where all the template repository files should go and -I flags were added so that the pre-linker could find the relevant include files, the application compiled and linked successfully. For any Digital C++ users with similar problems, Section 5.2.9.2 "Building an Application" from the DEC C++ Version 5.6 Using Guide covers this topic. -Jeff -- Jeff Sullivan | Digital Equipment Corp | E-mail: jps@zk3.dec.com DEC C and C++ | Nashua, NH ZK3-2/2X29 | sullivan@decc.enet.dec.com