Re: [Factor-talk] Can't get Space Invaders to run
On Tue, Sep 20, 2011 at 7:15 PM, Chris Double wrote: > On Wed, Sep 21, 2011 at 9:45 AM, John Porubek wrote: >> I have libopenal1 installed on my Ubuntu 10.10 system. I checked in >> openal.factor and it's looking for "libopenal.so". My file is >> "libopenal.so.1", so I changed openal.factor to use this version. I >> also notice that openal.alut is used and alut.factor is looking for >> "libalut.so". My file is "libalut.so.0", so I changed alut.factor to >> use this version. From that point, the error messages pointed the way >> to entering the proper value for rom-root and now it works! > > The '.so' versions of libraries are usually in '-dev' packages. So > you'd generally need a "apt-get install openal-dev' or similar to pick > them up. Glad you got it working! > > Chris. > -- > http://www.bluishcoder.co.nz Hi Chris, This "dev" package thing bit me before in trying to get something else working under Linux. Maybe now I'll generalize this information when something similar comes up! Thanks for the info. --John -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Can't get Space Invaders to run
On Tue, Sep 20, 2011 at 6:37 PM, Slava Pestov wrote: > Hi John, > > On Tue, Sep 20, 2011 at 2:45 PM, John Porubek wrote: >> Thanks for the response. So I was barking up the wrong tree, huh? >> Nothing new there. Good thing I asked the question. Isn't there some >> way I can use Factor's built-in debugging support to at least tell me >> which specific image is not being found so I could have more of a clue >> as to what's going wrong? > > There's code in the git repository for this. We should have a Windows > binary soon. What's it called? Could be useful in Linux, too. > >> I also tried to get it working in Windows 7 after I downloaded and >> installed "oalinst" and "freealut-1.1,0-bin". The installer put the >> "OpenAL32.dll" file in C:\Windows\System32, so I put "alut.dll" there, >> too. However, the examples that came with "freealut" wouldn't work >> until I put "alut.dll" in C:\Windows, so I put a copy of >> "OpenAL32.dll" there, too. No joy. I still get the same "The image >> refers to a library or symbol that was not found at load time" >> message. > > Is your copy of Factor a 64-bit build? If so, the libraries have to be > 64-bit (or vice versa). I'm a little embarrassed that this never occurred to me. So while I was ranting about it being a "Factor's support of Windows" thing, it was really something else that just happened to appear under Windows. I _was_ using a 64-bit build of Factor on my Windows 7 machine. While the openal installer says "The installer supports both 32-bit and 64-bit versions of Windows", this doesn't necessarily mean it installs both32-bit and 64-bit libraries (does it?). In any event, there's no mention at all about a 64-bit version of alut. So I tried a 32-bit build of Factor on a WinXP machine and viola - it works! One thing I noticed on the way to getting it working, however, is that the Linux error messages while I was trying set rom-root correctly were much more helpful than the analogous messages under Windows. Under Linux, it told me the entire path it was trying to use. Under Windows, however, I only got a message that told me my attempt was incorrect. > >> But I'm mostly happy to have it working under Linux. I prefer Linux >> for most of my development work and I've come to accept that Windows >> is sort of the "poor step child" in the world of Factor. Examples of >> this are the lack of real serial port support for Windows and the fact >> that none of the demo slide shows display properly under Windows. > > Other than that, most things do work on Windows. I forgot about the > slide show thing; I'll file a bug about it. I tried some slide show demos under WinXP just in case and they didn't run there, either. I want to thank you for your patience. A couple of times now I have complained about something not working in Factor and you have good-naturedly either fixed it (the Help "delay" example) or at least added it to the bug list (slide shows not working under Windows). I want to help make Factor better too, not come across as a whiner. With that in mind, what is the best way to report a bug or anomaly? Here in the mailing list or is there a more formal bug tracking system? > > Cheers, > > Slava --John -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Can't get Space Invaders to run
On Wed, Sep 21, 2011 at 9:45 AM, John Porubek wrote: > I have libopenal1 installed on my Ubuntu 10.10 system. I checked in > openal.factor and it's looking for "libopenal.so". My file is > "libopenal.so.1", so I changed openal.factor to use this version. I > also notice that openal.alut is used and alut.factor is looking for > "libalut.so". My file is "libalut.so.0", so I changed alut.factor to > use this version. From that point, the error messages pointed the way > to entering the proper value for rom-root and now it works! The '.so' versions of libraries are usually in '-dev' packages. So you'd generally need a "apt-get install openal-dev' or similar to pick them up. Glad you got it working! Chris. -- http://www.bluishcoder.co.nz -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Can't get Space Invaders to run
Hi John, On Tue, Sep 20, 2011 at 2:45 PM, John Porubek wrote: > Thanks for the response. So I was barking up the wrong tree, huh? > Nothing new there. Good thing I asked the question. Isn't there some > way I can use Factor's built-in debugging support to at least tell me > which specific image is not being found so I could have more of a clue > as to what's going wrong? There's code in the git repository for this. We should have a Windows binary soon. > I also tried to get it working in Windows 7 after I downloaded and > installed "oalinst" and "freealut-1.1,0-bin". The installer put the > "OpenAL32.dll" file in C:\Windows\System32, so I put "alut.dll" there, > too. However, the examples that came with "freealut" wouldn't work > until I put "alut.dll" in C:\Windows, so I put a copy of > "OpenAL32.dll" there, too. No joy. I still get the same "The image > refers to a library or symbol that was not found at load time" > message. Is your copy of Factor a 64-bit build? If so, the libraries have to be 64-bit (or vice versa). > But I'm mostly happy to have it working under Linux. I prefer Linux > for most of my development work and I've come to accept that Windows > is sort of the "poor step child" in the world of Factor. Examples of > this are the lack of real serial port support for Windows and the fact > that none of the demo slide shows display properly under Windows. Other than that, most things do work on Windows. I forgot about the slide show thing; I'll file a bug about it. Cheers, Slava -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Can't get Space Invaders to run
On Mon, Sep 19, 2011 at 11:25 PM, Chris Double wrote: > On Tue, Sep 20, 2011 at 7:39 AM, John Porubek wrote: >> running "run-invaders" gives me the error message "The image refers to a >> library or symbol that was not found at load time". Typing: rom-root :get > > The error message is probably referring to missing OpenAL sound > libraries. Do you have OpenAL installed? > > -- > http://www.bluishcoder.co.nz Hi Chris, Thanks for the response. So I was barking up the wrong tree, huh? Nothing new there. Good thing I asked the question. Isn't there some way I can use Factor's built-in debugging support to at least tell me which specific image is not being found so I could have more of a clue as to what's going wrong? I have libopenal1 installed on my Ubuntu 10.10 system. I checked in openal.factor and it's looking for "libopenal.so". My file is "libopenal.so.1", so I changed openal.factor to use this version. I also notice that openal.alut is used and alut.factor is looking for "libalut.so". My file is "libalut.so.0", so I changed alut.factor to use this version. From that point, the error messages pointed the way to entering the proper value for rom-root and now it works! I also tried to get it working in Windows 7 after I downloaded and installed "oalinst" and "freealut-1.1,0-bin". The installer put the "OpenAL32.dll" file in C:\Windows\System32, so I put "alut.dll" there, too. However, the examples that came with "freealut" wouldn't work until I put "alut.dll" in C:\Windows, so I put a copy of "OpenAL32.dll" there, too. No joy. I still get the same "The image refers to a library or symbol that was not found at load time" message. But I'm mostly happy to have it working under Linux. I prefer Linux for most of my development work and I've come to accept that Windows is sort of the "poor step child" in the world of Factor. Examples of this are the lack of real serial port support for Windows and the fact that none of the demo slide shows display properly under Windows. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
Re: [Factor-talk] Can't get Space Invaders to run
On Tue, Sep 20, 2011 at 7:39 AM, John Porubek wrote: > running "run-invaders" gives me the error message "The image refers to a > library or symbol that was not found at load time". Typing: rom-root :get The error message is probably referring to missing OpenAL sound libraries. Do you have OpenAL installed? -- http://www.bluishcoder.co.nz -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk
[Factor-talk] Can't get Space Invaders to run
Hi, I'm having some difficulty getting the Space Invaders demo to run. First off, the MAMEWorld link in the "Space Invaders Emulator" article now goes to the default MAMEWorld home page. Clicking on the link "Legal Roms" under "The Emulator" brings me to a page with ROMs, but none for Space Invaders. Fortunately, the first link in a Google search for "space invader roms" brought me to http://www.romnation.net/srv/roms/23370/mame/Space-Invaders.html where I was able to download a zip file that contained the four files referenced in the emulator article. Each file is only 2k bytes each, which seems tiny by today's standards! Anyway, I put the files in a subdirectory named "invaders" off the factor/extra/space-invaders directory. I then set the variable "rom-root" to point to the directory using: "some_location" rom-root set-global . For "some_location" I tried everything from "." and "./invaders" to the complete path from "/" down to the invaders subdirectory. With every iteration, running "run-invaders" gives me the error message "The image refers to a library or symbol that was not found at load time". Typing: rom-root :get confirms that I entered the location that I thought I entered. Did I just not hit on the right value for "some_location" or is something else wrong? Thanks, --John -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk