ganeshredcobra / animata

Automatically exported from code.google.com/p/animata
GNU General Public License v3.0
0 stars 0 forks source link

No Menu Bar on OSX #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Animata doesn't have a menu bar on OSX. This prevents quickly changing
between Animata and other applications with pressing cmd+tab. Also prevents
quitting with the default keyboard command cmd+Q

Revision 16 of Animata from the SVN.
Mac OSX 10.5.5

Original issue reported on code.google.com by matti.ni...@gmail.com on 15 Nov 2008 at 10:14

GoogleCodeExporter commented 9 years ago
i think this is because fltk has a different menu system from osx. you need to 
make
an application if you want an osx menu bar on the top of the screen, but it 
does not
have any real functions. try running scons --app to make an application.

Original comment by gabor.p...@gmail.com on 24 Nov 2008 at 10:24

GoogleCodeExporter commented 9 years ago
hmm. I tried that, but got an error.

scons: Reading SConscript files ...
ValueError: list.remove(x): x not in list:
  File "Desktop/animata-read-only/SConstruct", line 27:
    'PROFILE', 'STATIC'])
  File "/opt/local/lib/scons-0.98.4/SCons/Script/SConscript.py", line 596:
    return apply(method, args, kw)
  File "/opt/local/lib/scons-0.98.4/SCons/Script/SConscript.py", line 533:
    return apply(_SConscript, [self.fs,] + files, subst_kw)
  File "/opt/local/lib/scons-0.98.4/SCons/Script/SConscript.py", line 256:
    exec _file_ in call_stack[-1].globals
  File "/Desktop/animata-read-only/src/SConscript", line 81:
    flags['LIBS'].remove('png')

Original comment by matti.ni...@gmail.com on 25 Nov 2008 at 7:30

GoogleCodeExporter commented 9 years ago
i tried to fix the SConscript file. it's in the svn. could you please try it 
again?

Original comment by gabor.p...@gmail.com on 25 Nov 2008 at 11:14

GoogleCodeExporter commented 9 years ago
tried it, but now I got this

scons: Reading SConscript files ...
Checking for C++ library m... no
error: 'm' must be installed!

Original comment by matti.ni...@gmail.com on 26 Nov 2008 at 6:38

GoogleCodeExporter commented 9 years ago
it works with the normal scons command and finds the library just fine.

Original comment by matti.ni...@gmail.com on 26 Nov 2008 at 6:45

GoogleCodeExporter commented 9 years ago
do you mean that the current scons file does not compile animata? strange. 
could you
please attach your config.log file? thanks.

Original comment by gabor.p...@gmail.com on 26 Nov 2008 at 9:30

GoogleCodeExporter commented 9 years ago
when I try scons --app, I get this:

scons: Reading SConscript files ...
Checking for C++ library m... no
error: 'm' must be installed!

when I try scons, It compiles perfectly.

attached is my config.log

Original comment by matti.ni...@gmail.com on 26 Nov 2008 at 9:42

Attachments:

GoogleCodeExporter commented 9 years ago
thanks. it seems that you don't have the libpng static library at
/opt/local/lib/libpng.a. did you install fltk, libpng, libjpeg from macports or 
from
source? if you install them from macports the libraries should be at 
/opt/local/lib.

Original comment by gabor.p...@gmail.com on 26 Nov 2008 at 10:40

GoogleCodeExporter commented 9 years ago
Ok. Now it works. I had problems updating my scons version to 0.98 and somehow 
messed
up my fltk installation in the process. I installed fltk from macports again 
and now
it works perfectly.

Thanks a lot!

Original comment by matti.ni...@gmail.com on 26 Nov 2008 at 11:04

GoogleCodeExporter commented 9 years ago
Quitting is still not working with cmd+Q, but that's not a big deal since ctrl 
+ Q works.

cmd + tab switching between applications works with the app build, which is more
important for me.

Original comment by matti.ni...@gmail.com on 28 Nov 2008 at 5:10