I can’t understand what I am doing wrong. I am following the manual:
Filename mydir = ExecutionEnvironment::get_cwd();
mydir = mydir.get_dirname();
NodePath np1 = window->load_model(framework.get_models(), mydir + "/panda.egg");
Output:
:loader(error): Extension of file /e/Projects/Dev/panda-benchmark-cpp/x64/Release/panda.egg is unrecognized; cannot load.
Currently known scene file types are:
Bam .bam
In the working directory, I have a panda.egg
model. libpandaegg.dll
is also in the working directory.
The working dir is on the model path.
This works with .bam files. Also, .egg loader works in Python code. I am using the latest Windows release from the site.
What am I doing wrong?