Subj : Re: BC++ 5.01 (Tlink) - Undefined symbols in module To : borland.public.cpp.borlandcpp From : Jogy Date : Tue Apr 06 2004 06:52 pm Erwan wrote: > Hi, > > I have a project in the IDE organised like this : > ____________________ > . target.exe > | > . - main [.c] > | > . - funcs [.c] > ____________________ > > Of course, main.c contains the function main, and funcs.c the definitions of > the functions called in main. Hello, I think that in this case the IDE thinks that main.c depends on func.c, but that applies only when compiling main.c, and func.c is ignored. When linking, the linker looks only for the nodes directly under the linked node, in this case only main.c If you want to make organize the .cpps in a project, the way to do this is to use SourcePools. Add a new "SourcePool" target node, and don't forget to turn off it's option "Exclude from parent" from the Build attributes. After that you can move the SourcePool where you want, and to put under it the nodes you want, like this: . target.exe | . - main [.c] | . - funcs [SourcePool] | . - funcs [.c] .