for i:= 0 to ex_archivemanager.Archives[0].ContentList.Count - 1 do
begin
MyStrm:= ex_archivemanager.Archives[0].GetContent('loading/'+ Loading_Materials[i]+ '.png'); // In the line above i get a SigSegV error... // i debug it and i found in the GLSZLibExApi in the line 424: ZLIB_Version:= zlibversionpchar; // The zlibversionpchar before run it give 0..
AddMaterial(Mat_Loading,MyStrm,Loading_Materials[i],False,'');
FreeAndNil(MyStrm);
end;[/CODE]
P.S. In the bottom of the comment dissapear the fast response so i can't reply on anything...
i talk about the sourceforge discussion... is something i do or...
Hi azrael11,
Hm, GLSZLibEx and GLSZLibExAPI for Lazarus version are the same as earlier unlike for RAD Studio where they removed becouse it has now own unit to workaround such archives.
I've compiled the last GLSceneLCL on Lazarus 1.4.4 and all installed correctly. Remove old pachages.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The installation of glscene is just fine...
My installation is clear ... i remove everything and installed from the start ...
Lazarus/freepascal and glscene only...
So... any thoughts
1. When the ZLIB_Version take the zlibversionpchar then zlibversionpchar must have a version number... but instaed it returns "0" .. so where in the code the zlibversionpchar takes the "version number"
Thank you...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
arc-azrael11,
No guess of your SigSegV bug. What's about other samples for Lazarus? Try to compare your current and previous code by using Beyond Compare tool. It'll should help.
PW
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Results...
Both ArchiveEdit and ArchiveDemo not working ..
In ArchiveEdit add the missing "icons.res" and correct the line
FolderSelect in 'FolderSelect.pas', glscene_designtime {FolderSel};
with
FolderSelect in 'FolderSelect.pas', glscenelcl_designtime {FolderSel};
but it stops in the FXCollectionEditorLCL says the PropEdits can't find even if i add it and it has incompatible ppu...
ArchiveDemo get the above SigSegV...
Thank you...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use Lazarus 1.4.4 and the new GLScene 1.4 for LCL
I try this and get a SigSegV error ...In delphi 7 works just fine...
[CODE]MyStrm: TStream;ex_archivemanager: TGLSArchiveManager;
ex_archivemanager:= TGLSArchiveManager.Create(MainForm);
ex_archivemanager.Archives.Add.Name:= 'name1'; ex_archivemanager.Archives[0].LoadFromFile(ex_program_path+ 'data\loading.zlib');
for i:= 0 to ex_archivemanager.Archives[0].ContentList.Count - 1 do
begin
MyStrm:= ex_archivemanager.Archives[0].GetContent('loading/'+ Loading_Materials[i]+ '.png'); // In the line above i get a SigSegV error... // i debug it and i found in the GLSZLibExApi in the line 424: ZLIB_Version:= zlibversionpchar; // The zlibversionpchar before run it give 0..
AddMaterial(Mat_Loading,MyStrm,Loading_Materials[i],False,'');
FreeAndNil(MyStrm);
end;[/CODE]
P.S. In the bottom of the comment dissapear the fast response so i can't reply on anything...
i talk about the sourceforge discussion... is something i do or...
Thank you...
Hi azrael11,
Hm, GLSZLibEx and GLSZLibExAPI for Lazarus version are the same as earlier unlike for RAD Studio where they removed becouse it has now own unit to workaround such archives.
I've compiled the last GLSceneLCL on Lazarus 1.4.4 and all installed correctly. Remove old pachages.
PW
The installation of glscene is just fine...
My installation is clear ... i remove everything and installed from the start ...
Lazarus/freepascal and glscene only...
So... any thoughts
1. When the ZLIB_Version take the zlibversionpchar then zlibversionpchar must have a version number... but instaed it returns "0" .. so where in the code the zlibversionpchar takes the "version number"
Thank you...
arc-azrael11,
No guess of your SigSegV bug. What's about other samples for Lazarus? Try to compare your current and previous code by using Beyond Compare tool. It'll should help.
PW
The code writting from the start..
Let me check other samples and report...
Thank you...
Results...
Both ArchiveEdit and ArchiveDemo not working ..
FolderSelect in 'FolderSelect.pas', glscene_designtime {FolderSel};
with
FolderSelect in 'FolderSelect.pas', glscenelcl_designtime {FolderSel};
but it stops in the FXCollectionEditorLCL says the PropEdits can't find even if i add it and it has incompatible ppu...
Thank you...
Hi,
perhaps stupid but do you have duplicate ZLib.dll in your system path ?
Try to move the dll directly in the folder app for see
Jerome,
I move the zlib1.dll in folder app now the zlibversionpchar takes a number... but i get and error
right in this line again
ZLIB_Version:= zlibversionpchar;
The error "Cannot access memory at address 0x100009180...
Hmmm..
Thank you..
Last edit: arc-azrael11 2016-01-13
You surelly don't have the right Zlib dll version
Jerome...
The zlib version is 1.2.3
I think it is the right one..
Thank you...