Crystal Space
Welcome, Guest. Please login or register.
December 19, 2014, 09:09:12 am

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9289 Members
Latest Member: Kapifryba
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  How to do with CS apps compiled in MinGW?
« previous next »
Pages: [1] Print
Author Topic: How to do with CS apps compiled in MinGW?  (Read 1830 times)
kornerr
Full Member
***
Posts: 101


347968356
View Profile WWW Email
« on: March 28, 2006, 06:09:58 am »

I've compiled an app which works under Linux. Then I've compiled it under Windows in MinGW. The app won't start from the dir within MinGW other than CS dir where it works just fine.
I tried to execute it in Explorer, it told me that some dlls are missing. So I've copied all dlls and all libs from CrystalSpace dir somewhere under /mingw in MinGW. The app starts but now reports errors that it can't load my textures. The same from within Explorer.
So how to make it work not in CS dir, and make it standalone?

Thanks.
Logged

jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: March 28, 2006, 08:05:10 am »

I've compiled an app which works under Linux. Then I've compiled it under Windows in MinGW. The app won't start from the dir within MinGW other than CS dir where it works just fine.
I tried to execute it in Explorer, it told me that some dlls are missing. So I've copied all dlls and all libs from CrystalSpace dir somewhere under /mingw in MinGW. The app starts but now reports errors that it can't load my textures. The same from within Explorer.
So how to make it work not in CS dir, and make it standalone?

Thanks.

You have to set the CRYSTAL environment variable so that it points to where CS is.

Greetings,
Logged
kornerr
Full Member
***
Posts: 101


347968356
View Profile WWW Email
« Reply #2 on: March 28, 2006, 08:34:52 am »

But I want to use the app on machines without CS installed.
What should I do?

Thanks.
Logged

jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #3 on: March 28, 2006, 08:38:20 am »

But I want to use the app on machines without CS installed.
What should I do?

Thanks.

Then you should distribute CS (dll's, data directory, vfs.cfg) together with your app.

Greetings,
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 4.168 seconds with 16 queries.