[ome-devel] Having trouble compiling cpp file with Makefile

josh.moore at gmx.de josh.moore at gmx.de
Wed Sep 9 16:00:27 BST 2009


Nick,

good to know. Do you remember where you saw that definition of
ICE_HOME? I've seen others with similar issues, and would like to put
a warning up.

Cheers,
~Josh.

Nick Perry writes:
 > you're right; I just figured that out too as i got this email.
 > 
 > annoyingly, this is how i was told (wherever I read it, anyway) how to make
 > my .bash_profile and environmental variables:
 > 
 > export CLICOLOR=1
 > export LSCOLORS=ExFxCxDxBxegedabagacad
 > export PS1="\n\[\e[1;40;32m\]\u@\h:\w> \[\e[0m\]"
 > export PATH=/Library/Ice-3.3.1/bin:$PATH
 > export DYLD_LIBRARY_PATH=/Library/Ice-3.3.1/lib:$DYLD_LIBRARY_PATH
 > export PYTHONPATH=/Library/Ice-3.3.1/python:$PYTHONPATH
 > export ICE_HOME=/Library/Ice-3.3.1:$ICE_HOME
 > 
 > however, that makes colons after the first part. Most of this was
 > from the ICE installation. So I monkey-saw-monkey-did and made
 > ICE_HOME with a semi-colon too...
 > 
 > /fail
 > 
 > Thanks
 > Nick
 > 
 > On Wed, Sep 9, 2009 at 4:42 PM, <josh.moore at gmx.de> wrote:
 > 
 > >
 > > Hi Nick,
 > >
 > > Nick Perry writes:
 > > ...snip...
 > >  > > make api_test
 > >  > g++  -c -o api_test.o api_test.cpp
 > >  > -I/Users/nperry/Desktop/omero/dist/include -I/Library/Ice-3.3.1:/include
 > >
 > > I don't think there's supposed to be a colon in:
 > >
 > >  -I/Library/Ice-3.3.1:/include
 > >
 > > With it, g++ can't find all of the Ice header files. Is it possible
 > > you have ICE_HOME set in your environment with a colon on the end?
 > >
 > >  > *Should this all be working? I'm not asking that you figure out if
 > >  > I have directory issues or path name errors, but if you look at the
 > >  > CPP code above (again, provided here:
 > >  > http://trac.openmicroscopy.org.uk/omero/wiki/OmeroClients?onlycpp)
 > >  > and that makefile, should everything be working?
 > >
 > > Otherwise, at a quick glance, everything should be working. But if you
 > > have issues, feel free to send them in.
 > >
 > > Cheers,
 > > ~josh
 > >


More information about the ome-devel mailing list