Klaas Holwerda wrote:
> 
> Did you follow this?
> 
> http://www.wxart2d.org/moin/WxArt2dInstall
> http://www.wxart2d.org/moin/UbuntuInstall
> 

Hm... to some extent :) . On my system I had most of that already 
installed so I added only what was missing (via apt-get, i.e. binaries) 
and it didn't work. Now I used a different system which had nothing of 
the necessary so I had to install everything - the system I used was 
also Ubuntu 8.04, and I used apt-get to install everything except wxGTK, 
for which I downloaded the source and configured and compiled according 
to your instructions. This time there were no errors, everything went 
ok, I even used checkinstall to generate a deb package :) .

> 
> It looks it can not copy the files it wants, don't know why.
> Maybe you did a in source generation with Cmake, which is not good.
> 
> cd wxArt2D
> cd ..
> mkdir buildart2ddeb
> cd buildart2ddeb
> ccmake ../wxArt2D
> 

No, I did it exactly like you say I should do so the error must be 
somewhere else. As I said above, the only difference is that I 
configured and compiled wxGTK from source; is that step really necessary 
or I could have installed that from binaries as well? I'm asking because 
it's possible that I have some other problems on my main system :) .

Anyway, now I have the build directory and the package from the other 
system (whose configuration is the same as the one on my primary machine 
which failed to configure and thus compile the library) and I have the 
deb package generated on that secondary machine. I transferred 
everything to my primary machine and installed the deb package to its 
default location (/usr/local) without any difficulties. Inside the build 
directory there is a sample directory, containing - samples :) . Some of 
them I can run without any problems, some of them are complaining about 
WXART2D variable.

I searched this mailing list for that and it seems that that variable 
must be set prior to executing the program and it should point to the 
directory containing the lib and other data - thus I set it to 
/usr/local, but I don't know if that is the right location to which it 
should point to. You see, after I set it to that location, the warning 
about the variable goes away, but some samples complain about the 
inability to load cursors (they search for cursors in a directory 
.../art, and that directory doesn't exist anywhere, not even in the 
build directory) and almost every sample has this warning running in the 
background console (I start them from console):

** (mars:16369): WARNING **: IPP request failed with status 1280

** (mars:16369): WARNING **: IPP request failed with status 1280

** (mars:16369): WARNING **: IPP request failed with status 1280

That warning is periodically repeated and, of course, samples are 
malfunctioning (random I/O errors). Stuff is drawn on the canvas in 
almost every sample so some of them are working quite fine, but any 
interaction in any of the complex samples is a problem, a problem which 
usually results in a segmentation fault.

So, what do I need to do to be able to run the samples correctly? 
Information here is a bit tricky so I'm a bit lost :) .

Btw, sorry for an additional problem in the same thread; if it's 
necessary, I'll create a new thread for this only.

Thanks in advance and sorry for waiting on me to reply :) .

Cheers,
Spock


-- 
Infinite diversity in infinite combinations

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to