From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,30e165cfb56b149d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.162 with SMTP id wj2mr5230297pbc.2.1342288752892; Sat, 14 Jul 2012 10:59:12 -0700 (PDT) Path: l9ni11739pbj.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: error running openGL/Ada demo from GLOBE_3D using GNAT 2012 Date: Sat, 14 Jul 2012 12:59:09 -0500 Organization: Aioe.org NNTP Server Message-ID: References: <4b22c809-4d41-4d0d-8824-4c335e4e6957@googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: KdJUrTuvv3Zv/s8pPxNluw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-07-14T12:59:09-05:00 List-Id: On 7/14/2012 9:16 AM, gautier_niouzes@hotmail.com wrote: > Hi Nasser, > >> It seems like a configuration issue? May be I need to set >> an environment variable or path or something for it to work? > > Either (1) the archive file "g3demo_global_resources.zip" is not in >the same directory as the "mini" executable, or for (2) some reason the >file "face1.bmp" is no more in the mentioned archive. If the archive >file is broken, you would get another message. > > I have improved the diagnostics (on the globe_3d repository version), and for the case (1) you would get now: > Execution terminated by unhandled exception > Exception name: GLOBE_3D.DATA_FILE_NOT_FOUND > Message: g3demo_global_resources.zip > > Hope this helps > Gautier > hi Gautier; 2 issues: 1) I had unziped those file before (I did not know) when I unzip files, I unzip them and delete the zip files). I restored the zip files, and run mini and now I get this error ---------------------------- >ls -lrt *.zip -rwxrwxrwx 1 me me 2133918 Jul 14 12:49 g3demo_global_resources.zip -rwxrwxrwx 1 me me 1489595 Jul 14 12:49 g3demo_level_resources.zip >./mini OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x9d00de0 OpenGL Warning: Retry with 0x8002 returned 0 visuals Execution terminated by unhandled exception Exception name: STORAGE_ERROR Message: stack overflow or erroneous memory access Call stack traceback locations: 0x811d74e > ------------------------- any idea please? btw, the file Face.bmp is there, but it is Face.bmp and not face.bmp (i.e. lower case). I am on linux. Does this make a difference? could this be the problem now? ------------------------ >ls -lrt Face*.bmp -rwxrwxrwx 1 me me 5174 Apr 25 2006 Face1.bmp -rwxrwxrwx 1 me me 5174 Apr 25 2006 Face3.bmp >pwd /ada_related/globe_3d_release_15_aug_2011/GLOBE_3D/demo/g3demo_global_resources > ------------------------------------ I am mainly now interested is using the open GL binding in Ada, since I assume your openGL binding here is newer than the other open GL Ada binding in http://adaopengl.sourceforge.net/ ? 2) FYI; When I used gnat2012 switch (changed .gpr and changed from gnat05 to gnat2012) I get compiler error. So I changed back to gnat05 >gnatmake -P globe_3d_gps_linux.gpr gcc -c -gnat2012 -gnato -fstack-check -gnatwkmpz -fno-strict-aliasing -g -gnatVa -gnatecdebug.pra -gnatyhiknp -I- -gnatA /ada_related/globe_3d_release_15_aug_2011/GLOBE_3D/src/unzip/unzip.adb gcc -c -gnat2012 -gnato -fstack-check -gnatwkmpz -fno-strict-aliasing -g -gnatVa -gnatecdebug.pra -gnatyhiknp -I- -gnatA /ada_related/globe_3d_release_15_aug_2011/GLOBE_3D/src/unzip/unzip-streams.adb unzip-decompress.ads:45:29: reserved word "some" cannot be used as identifier unzip-decompress.ads:45:29: reserved word "some" cannot be used as identifier gnatmake: "/ada_related/globe_3d_release_15_aug_2011/GLOBE_3D/src/unzip/unzip.adb" compilation error gnatmake: "/ada_related/globe_3d_release_15_aug_2011/GLOBE_3D/src/unzip/unzip-streams.adb" compilation error > thanks, --Nasser