Re: [Iup-users] Compiling on Raspberry Pi

2016-09-12 Thread Antonio Scuri
No, that's the right place. But I just notice that I included the config.mak file, but forgot to include the tecmake.mak files itself. You can copy from IUP, CD or IM root folder. They are all the same. I will include them on the next release. Best, Scuri On Mon, Sep 12, 2016 at 3:02 AM,

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-11 Thread Milind Gupta
Hi Antonio, I downloaded this file: https://sourceforge.net/ projects/canvasdraw/files/5.10/Docs%20and%20Sources/ftgl- 2.1.4_Sources.tar.gz This one does not have the tecmake file. The zip file also does not have one. Am I looking at the wrong place? Thanks, Milind On Sun, Sep 11, 2016 at

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-11 Thread Antonio Scuri
Please, download the FTGL sources that is available along the CD Download files. The package there have the Tecmake files. Best, Scuri On Sun, Sep 11, 2016 at 1:59 PM, Milind Gupta wrote: > Thanks, > When I built CD it gave me the error: > Tecmake: linking libcdgl.so ... > gcc -sh

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-11 Thread Milind Gupta
Thanks, When I built CD it gave me the error: Tecmake: linking libcdgl.so ... gcc -shared -o ../lib/Linux41_arm/libcdgl.so ../obj/cdgl/Linux41_arm/cdgl.o -L../lib/Linux41_arm -L../../ftgl/lib/Linux41_arm -lcd -lfontconfig -lftgl -lfreetype -lz -lGLU -lGL -lm /usr/bin/ld: cannot find -lf

Re: [Iup-users] Compiling on Raspberry Pi

2016-09-10 Thread Antonio Scuri
You can try what the error suggested, to compile with -fPIC. You can edit tecmake.mak on the root folder of each library and add: ifeq ($(TEC_SYSARCH), arm) STDFLAGS += -fPIC endif Just check if TEC_SYSARCH is really "arm". Best, Scuri On Sat, Sep 10, 2016 at 4:16 AM, Mili

[Iup-users] Compiling on Raspberry Pi

2016-09-10 Thread Milind Gupta
Hi, I am trying to compile IM, CD and IUP on Raspberry Pi. When I do make for IM I get the following error: /usr/bin/ld: ../obj/Linux41_arm/im_oldcolor.o: relocation R_ARM_THM_MOVW_ABS_NCagainst `__stack_chk_guard' can not be used when making a shared object; reco