Re: Building and using a function library

2014-05-25 Thread Charles Parker via Digitalmars-d-learn
On Sunday, 25 May 2014 at 19:14:05 UTC, Adam D. Ruppe wrote: On Sunday, 25 May 2014 at 19:07:10 UTC, Charles Parker wrote: ./min_cut.d(15): Error: module line_count from file ../my_utils/line_count.d must be imported as module 'line_count' That means you forgot the module line in line_count.d

Re: Building and using a function library

2014-05-25 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 25 May 2014 at 19:07:10 UTC, Charles Parker wrote: ./min_cut.d(15): Error: module line_count from file ../my_utils/line_count.d must be imported as module 'line_count' That means you forgot the module line in line_count.d At the top of that file, add: module my_utils.line_count; a