I am currently running Ubuntu 8.10 and have installed "LeoCAD for Linux Version 0.75.0" from the Ubuntu repositories.
I would like to add Philo's - Unofficial parts pack for LeoCAD - Unofficial LeoCAD parts for NXT I saw that *Henrik Sundberg found a kind of solution: > Success! > > 2008/7/25 Henrik Sundberg <storangen at gmail.com > <https://list.gerf.org/listinfo/leocad>>: > >/ 2008/7/25 <philo at philohome.com > ><https://list.gerf.org/listinfo/leocad>>: > />>/ About missing parts in library, this can help: > />>/ http://philohome.com/leoupd/leoupd.htm > />/ > />/ It would definitely help if I only had access to the Pieces Library > />/ Manager, but that isn't available in the Linux version. > />/ > />/ I might to be able to just extract the part of the Pieces Library > />/ Manager that handles imports of Philo's files into a separate > />/ commandline program. > / > I did an ugly workaround, and am now able to use your pieces! > > I patched like this and ran the program just once with this change: > > --- /usr/local/src/leo-0.75.new/linux/main.cpp (revision 727) > +++ /usr/local/src/leo-0.75.new/linux/main.cpp (arbetskopia) > @@ -686,6 +686,8 @@ > preview->SetCurrentPiece(Info); > } > > + > lcGetPiecesLibrary()->LoadUpdate("/home/henrik/Skrivbord/philo/update_unoff-2008-03-20.lup"); > + > gtk_main(); > > gtk_widget_unref (drawing_frame); > *Is this still the only solution that exists? If this is still the only solution, may I ask for some answers/confirmations: - I will need to compile LeoCAD from source code? - Where is the latest stable snapshot of the source code? - How do I patch the source code with Henrik's solution (I have never patched before) - It seems that I do the following: - compile and run once as it is from the snapshot. - patch and recompile and run once to import the update_unoff-2008-03-20.lup - repatch and recompile and run once to import the cleanup.lup - repatch and recompile and run once to import the updatnxt.lup - compile original source code from snapshot And I should be good to go? while I am doing this should I also repatch/recompile/rerun to import update18.lup or will this already be included in compiled from source version? thanks brett -- Brett Stevens Associate Professor School of Mathematics and Statistics Carleton University 1125 Colonel By Dr. Ottawa ON K1S 5B6 Canada (613) 520-2600 x2125 FAX: (613) 520-3536 ``[Using] `Anarchism' indifferently with `anarchy' ... is a hardly more correct use of words than saying that a Conservative is one who makes jam.'' -- George Orwell _______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
