http://purebasic.hmt-forum.com/viewtopic.php?t=2266
et je n'ai pas le même affichage que sous windows.
Apparemment DrawingMode() ne fonctionne pas , ou pas de la même façon
alors j'ai commenté la ligne suivante
Code : Tout sélectionner
; AffCadre()
J'en suis resté là pour l'instant .
[EDIT]
Je profite que ma connexion linux fonctionne pour faire un copier des erreurs que je rencontre
[EDIT2][root@localhost sources]# pbcompiler terrain.pb
******************************************
PureBasic Linux x86 v3.92
******************************************
Loading external modules...
Starting compilation...
84 lines processed.
Creating the executable.
- Feel the ..PuRe.. Power -
[root@localhost sources]# ArchiveFactory for archive type Zip registered.
An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ConfigFile::load
Description: 'plugins.cfg' file not found!.
File: OgreConfigFile.cpp
Line: 55
Stack unwinding: <<beginning of stack>>
*-*-* OGRE Shutdown
[root@localhost purebasic]# cp compilers/plugins.cfg examples/sources/
[root@localhost purebasic]# cd examples/sources/
[root@localhost sources]# pbcompiler terrain.pb
******************************************
PureBasic Linux x86 v3.92
******************************************
Loading external modules...
Starting compilation...
84 lines processed.
Creating the executable.
- Feel the ..PuRe.. Power -
[root@localhost sources]# ArchiveFactory for archive type Zip registered.
OpenGL Rendering Subsystem created.
ArchiveFactory for archive type FileSystem registered.
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
*-*-* OGRE Initialising
*-*-* Version 0.9.7
FileSystem Archive Codec for ./ created.
******************************
*** Starting SDL Subsystem ***
******************************
*****************************
*** SDL Subsystem Started ***
*****************************
FileSystem Archive Codec for ./data/ created.
SDLWindow::create
Create window
screen is valid
SDLTexture: Loading terrain_texture.jpg with 0 mipmaps from Image.
SDLTexture: Loading terrain_detail.jpg with 0 mipmaps from Image.
Checking...2
Checking...3
Checking...5
Checking...9
Checking...17
Checking...33
Checking...65
Checking...129
Checking...257
Creating viewport on target 'PureBasic test', rendering from camera '', relative dimensions L:0.00,T:0.00,W:100.00,H:100 .00, Z-Order:0
Viewport for camera '' - actual dimensions L:0,T:0,W:640,H:480
An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 4
Function: Image::load
Description: Unable to load image file 'SkyDome' - invalid extension..
File: OgreImage.cpp
Line: 146
Stack unwinding: Image::load(..) <- <<beginning of stack>>
Error loading texture SkyDome. Texture layer will be blank.
SDLTexture: Loading clouds.jpg with 0 mipmaps from Image.
Finalement en copiant plugins.cfg dans le répertoire sources j'ai pu voir quelque chose , mais le terrain était complètement déformé .[/quote]