From cardon at mathematics.byu.edu Fri Nov 4 17:31:12 2022 From: cardon at mathematics.byu.edu (David Cardon) Date: Fri, 4 Nov 2022 10:31:12 -0600 Subject: [Ipe-discuss] Help converting old IPE files to newer format Message-ID: I have some old IPE files on my Windows computer that I would like to convert into the newer format. I downloaded the source code ipe5toxml.c and tried to compile it on a linux machine using the command gcc -o ipe5toxml.exe ipe5toxml.c but the compilation fails with errors: /tmp/ccv3gkuZ.o: In function `write_entry': ipe5toxml.c:(.text+0x3a61): undefined reference to `sin' ipe5toxml.c:(.text+0x3a8b): undefined reference to `cos' ipe5toxml.c:(.text+0x3b19): undefined reference to `sin' ipe5toxml.c:(.text+0x3b43): undefined reference to `cos' Can anyone provide help or instructions on how to use ipe5toxml.c? Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From zhengdao at iastate.edu Fri Nov 4 17:40:49 2022 From: zhengdao at iastate.edu (Zhengdao Wang) Date: Fri, 4 Nov 2022 11:40:49 -0500 Subject: [Ipe-discuss] Help converting old IPE files to newer format In-Reply-To: References: Message-ID: You probably need to attach the flag -lm to include the math library. Zhengdao -----Original Message----- >From: David Cardon via Ipe-discuss >Date: Fri, 4 Nov 2022 10:31:12 -0600 >To: ipe-discuss at lists.science.uu.nl >Subject: [Ipe-discuss] Help converting old IPE files to newer format > >I have some old IPE files on my Windows computer that I would like to >convert into the newer format. > >I downloaded the source code ipe5toxml.c and tried to compile it on a linux >machine using the command > >gcc -o ipe5toxml.exe ipe5toxml.c > >but the compilation fails with errors: >/tmp/ccv3gkuZ.o: In function `write_entry': >ipe5toxml.c:(.text+0x3a61): undefined reference to `sin' >ipe5toxml.c:(.text+0x3a8b): undefined reference to `cos' >ipe5toxml.c:(.text+0x3b19): undefined reference to `sin' >ipe5toxml.c:(.text+0x3b43): undefined reference to `cos' > >Can anyone provide help or instructions on how to use ipe5toxml.c? > >Thanks, >David >_______________________________________________ >Ipe-discuss mailing list >Ipe-discuss at lists.science.uu.nl >https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss From ipe at otfried.org Fri Nov 4 17:50:13 2022 From: ipe at otfried.org (Otfried Cheong) Date: Fri, 04 Nov 2022 17:50:13 +0100 Subject: [Ipe-discuss] Help converting old IPE files to newer format In-Reply-To: References: Message-ID: <40831579-42ed-4e64-9d0c-7ccd3c4f2f3d@app.fastmail.com> On Fri, Nov 4, 2022, at 17:31, David Cardon via Ipe-discuss wrote: > I have some old IPE files on my Windows computer that I would like to > convert into the newer format. > > I downloaded the source code ipe5toxml.c and tried to compile it on a > linux machine using the command Are you sure your files are in Ipe 5 format? Ipe 5 was never available for Windows and was laid to rest in early 2003. If your files are in Ipe 6 format, use the program ipe6upgrade that comes as part of the Ipe distribution. If the files are in Ipe 6 PDF format, you'll need ipeextract followed by ipe6upgrade. Cheers, Otfried ps. If you really need ipe5toxml, just add the -lm flag. Note that this will produce Ipe 6 output, so you will still need to run ipe6upgrade afterwards.