Crystal Space
Welcome, Guest. Please login or register.
November 23, 2014, 02:26:57 pm

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9094 Members
Latest Member: Olafzjez
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Another newbie question: Could not load plugins (environment variable is set!)
« previous next »
Pages: [1] Print
Author Topic: Another newbie question: Could not load plugins (environment variable is set!)  (Read 3014 times)
Villu
Guest


Email
« on: February 22, 2006, 05:48:11 pm »

Greetings all,

I have some experience in C++ but I'm a total newbie to CS, compiled it today and already i have problems with it. The thing is that I'm getting "WARNING: could not load plugin ... " when i compile (compiles OK) and run "Tutorial 1" ( http://crystalspace3d.org/docs/online/manual/cs_4.2.1.1.php#4.2.1.1 ).
CS compiled OK, with no errors, also i set the environment variable (Variable: CRYSTAL ; Value: D:\Developement\Engines\CrystalSpace_0.99 (CS directory on my HDD)). I tryed some app's that come with CS (walktest.exe etc...) and they work fine.
I'm using Dev-C++ version 4.9.9.2. and I configured it according to http://crystalspace3d.org/docs/online/manual/cs_4.20.4.php#4.20.4 . CS version is "Latest Pseudo Stable Release (0.99 from 27 January 2006)"
I have tried to get it work for about 3 hours now but no success. Could someone give some advice, please!

Peace!
Villu
Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: February 22, 2006, 06:10:25 pm »

Greetings all,

I have some experience in C++ but I'm a total newbie to CS, compiled it today and already i have problems with it. The thing is that I'm getting "WARNING: could not load plugin ... " when i compile (compiles OK) and run "Tutorial 1" ( http://crystalspace3d.org/docs/online/manual/cs_4.2.1.1.php#4.2.1.1 ).
CS compiled OK, with no errors, also i set the environment variable (Variable: CRYSTAL ; Value: D:\Developement\Engines\CrystalSpace_0.99 (CS directory on my HDD)). I tryed some app's that come with CS (walktest.exe etc...) and they work fine.
I'm using Dev-C++ version 4.9.9.2. and I configured it according to http://crystalspace3d.org/docs/online/manual/cs_4.20.4.php#4.20.4 . CS version is "Latest Pseudo Stable Release (0.99 from 27 January 2006)"
I have tried to get it work for about 3 hours now but no success. Could someone give some advice, please!

Peace!
Villu

Can you run your app from the commandline with the -verbose option and give us the output of that? You might have to add -console or -noconsole depending on compiler settings too.

Greetings,
Logged
Villu
Newbie
*
Posts: 5

viilu@hotmail.com
View Profile Email
« Reply #2 on: February 22, 2006, 07:08:00 pm »

Greetings,
Okay, this is what i get with -verbose:
Code:
SCF_NOTIFY: scanning plugin directory: d:\Developement\Villu\CrystalSpace (context `app'; recursive no)
SCF_NOTIFY: scanning plugin directory: D:\Developement\Engines\CrystalSpace_0.99 (context `{none}'; recursive no)
WARNING: could not load plugin 'crystalspace.kernel.vfs'
WARNING: could not load plugin 'crystalspace.kernel.vfs'
WARNING: could not load plugin 'crystalspace.graphics3d.opengl'
WARNING: could not load plugin 'crystalspace.engine.3d'
WARNING: could not load plugin 'crystalspace.font.server.default'
WARNING: could not load plugin 'crystalspace.graphic.image.io.multiplexer'
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: could not load plugin 'crystalspace.utilities.reporter'
WARNING: could not load plugin 'crystalspace.utilities.stdrep'
ERROR: Failed to locate 3D renderer!
 * This likely means that the plugins could not be found.
 If you're a user: Check the working directory the application starts from -
  usually, it is the same as the directory with the executable.
  If in doubt, contact the vendor.
 If you're a developer: Check if the CRYSTAL environment var points to the
  correct location - usually the directory CS was built in.

Logged

Peace!
Villu
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #3 on: February 22, 2006, 08:26:16 pm »

And there is a vfs.dll in your CrystalSpace_0.99 directory?

Greetings,
Logged
Villu
Newbie
*
Posts: 5

viilu@hotmail.com
View Profile Email
« Reply #4 on: February 22, 2006, 08:52:42 pm »

Hah, this was the darn thing! When I copied vsf.dll and vsf.cfg, I got rid of "WARNING: could not load plugin 'crystalspace.kernel.vfs'" but the others remained. So I copied every .dll from /CS subdir to CrystalSpace_0.99 and it worked.

Thanks a lot, jorrit!
Logged

Peace!
Villu
rvhaasen
Jr. Member
**
Posts: 62


View Profile
« Reply #5 on: August 16, 2006, 08:39:17 am »

I had the same problem (on WinXP)
i first assigned CRYSTAL to "c:\Program Files\CS", this is where i installed and build CS.
My local project was in c:\project, it contained the executable and the vf.cfg file.
When i ran the program i got the "missing plugin's error messages.

Then i copied all .dll files from C:\Program Files\CS to C:\test, and assigned
CRYSTAL to C:\test.
Now i could load the plugins from c:\projects.

So it seems to me there a problem with path-names containing spaces...

Rick
Logged
Myrddin
Newbie
*
Posts: 16


View Profile Email
« Reply #6 on: August 18, 2006, 02:07:53 am »

I had the same problem (on WinXP)
i first assigned CRYSTAL to "c:\Program Files\CS", this is where i installed and build CS.
My local project was in c:\project, it contained the executable and the vf.cfg file.
When i ran the program i got the "missing plugin's error messages.

Then i copied all .dll files from C:\Program Files\CS to C:\test, and assigned
CRYSTAL to C:\test.
Now i could load the plugins from c:\projects.

So it seems to me there a problem with path-names containing spaces...

Rick
I experienced this same error as well, with virtually the same path name.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 7.205 seconds with 15 queries.