On 12/5/2011 10:49 PM, ParticlePeter wrote:
Hi,
and sorry, I found the perspective method just right now :-)
Unfortunately this does not help, still having issues. I will ask on the VisualD
Forum.
Meanwhile, I just copied the files into my project dir, and there it works fine,
so I can play around :-)
Cheers, ParticlePeter
Your problem comes from misunderstanding what 'import' means. The import
statement is important for the compilation stage. When module A imports
module B, the compiler can know what types/functions/templates and so on
are available for module A to use. But that's only half the story. You
also need to make sure that module B is compiled and linked into the
final executable.
In your case, you could compile gl3n as a library and link to it or, as
you have discovered, add them to your project so that they are compiled
along with your own source modules. Otherwise, you will get errors aout
missing symbols.