Results 1 to 7 of 7

Thread: Collada Makefile without install

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    4

    Collada Makefile without install

    Hi,

    I got Collada from SVN Trunk. Compiling worked well, but installing with make install doesnt work, since there is not install-rule in the make file.
    install each directory(dom,rt,fx) doesnt work too, cause every Makefile first deletes all in /usr/local/include/colladadom, before it puts its h-files into the directory.

    what can i do to install it correctly?

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Collada Makefile without install

    I just looked and the COLLADA DOM makefiles have install targets for Linux and Mac.

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    4

    Re: Collada Makefile without install

    This is my Makefile.linux:
    Code :
    all:
    	make os=linux project=minizip -C dom
    	make os=linux project=dom -C dom
    	make os=linux project=domTest -C dom
    	make os=linux project=fx -C fx
    	make os=linux project=rt -C rt
    	make os=linux project=viewer -C viewer
     
    clean:
    	make os=linux project=minizip -C dom clean
    	make os=linux project=dom -C dom clean
    	make os=linux project=domTest -C dom clean
    	make os=linux project=fx -C fx clean
    	make os=linux project=rt -C rt clean
    	make os=linux project=viewer -C viewer clean
    In the Subdir of dom for example, there is an install-rule for me, but i need dom AND rt

  4. #4
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Collada Makefile without install

    You're right that the top level makefile doesn't have them. But for example, I'm looking at

    http://collada-dom.svn.sourceforge.net/ ... iew=markup

    ... and I see install targets. So I would guess that you can type this and it would work:

    Code :
    make os=linux project=dom -C dom install
    make os=linux project=rt -C rt install

  5. #5
    Junior Member
    Join Date
    May 2009
    Posts
    4

    Re: Collada Makefile without install

    The problem is, that the install-targets on each Makefile first delete the folder /usr/local/include/colladadom and then install their header-files. So the h-files of previous installed subprojects will be deleted.

  6. #6
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: Collada Makefile without install

    Remove the dependency on the uninstall target as a work around then?

  7. #7
    Junior Member
    Join Date
    May 2009
    Posts
    4

    Re: Collada Makefile without install

    okay..(listens good)
    just wanted to know if there will be problems then.
    another small question:
    Is there a small Dokumentation(doxygen or something else) to the rt?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •