"module is in multiple packages" error

Kirk McDonald kirklin.mcdonald at gmail.com
Thu Jan 4 12:54:34 PST 2007


Jona Joachim wrote:
> It seems like it tries to cd to constructor although it is already in the
> constructor folder. According to what you said it should know this because
> the name of the modules itself contains "constructor.".
> If I just leave out all occurrences of "constructor." it compiles fine.
> 

That's right: try compiling from outside the constructor directory, or 
add the parent directory to your import path. (You should be able to 
just add "-I.." to your compilation options, but it's generally better 
to compile from inside the parent directory.)

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://pyd.dsource.org


More information about the Digitalmars-d-learn mailing list