Re: Lisaem on the ubuntu 11.04 - instalation seems fine but there is no binary files

From: Ray Arachelian <ray_at_email.domain.hidden>
Date: Wed, 15 Feb 2012 14:36:53 -0500

On 02/15/2012 07:24 AM, robert szeliga wrote:
> Welcome.
> I use Ubuntu 11.04.
> I download lisaem-1.2.6, unpacking, install the libwxbase2.8-dev and
> libwxgtk2.8-dev.

>From the looks of it, the new version of GCC is a lot more strict and
produces errors that were previously warnings, or not even checked for.

Here's a fix. Edit build.sh so edit lines 472 and 473 to look like this (the numbers below are the line numbers in the file, you should not include them into build.sh):

472 CFLAGS="-fpermissive -Wwrite-strings -I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS $WITHOPTIMIZE $WITHDEBUG" 473 CXXFLAGS="-fpermissive -Wwrite-strings -I. -I../include -I../cpu68k -I../wxui $WXCONFIGFLAGS $WITHOPTIMIZE $WITHDEBUG"

You should be able to do ./build.sh after that.

Here's the errors, etc. that you probably don't care about and the version of Ubuntu and gcc I'm testing on, but just incase:

With wx 2.9.3, there are missing keyboard symbols, so it won't compile against that either:
lisaem_static_resources.cpp:619:1: error: ‘WXK_PRIOR’ was not declared in this scope
lisaem_static_resources.cpp:620:1: error: ‘WXK_NEXT’ was not declared in this scope
lisaem_static_resources.cpp:635:1: error: ‘WXK_NUMPAD_PRIOR’ was not declared in this scope
lisaem_static_resources.cpp:636:1: error: ‘WXK_NUMPAD_NEXT’ was not declared in this scope
..
lisaem_wx.cpp:1750:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
lisaem_wx.cpp: At global scope:
..

ray_at_ubuntu:~$ cat /etc/motd
Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-generic i686)

299 packages can be updated.
67 updates are security updates.

ray_at_ubuntu:~$ gcc --version
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ray_at_ubuntu:~$ Received on 2012-02-15 14:36:55

This archive was generated by hypermail 2.4.0 : 2020-01-13 12:15:14 EST