AROS World Exec

Development => Development (General) => Topic started by: Amiwell on September 20, 2021, 10:49:18 AM

Title: try to compile open software
Post by: Amiwell on September 20, 2021, 10:49:18 AM
I was trying to compile something, I found the first version of Blender and I tried to work ourselves but I have these problems attached screenshots and reference files
Title: Re: try to compile open software
Post by: serk118uk on September 20, 2021, 12:51:35 PM
I was trying to compile something, I found the first version of Blender and I tried to work ourselves but I have these problems attached screenshots and reference files

Edit the makefile and add cc=gcc and save makefile
than try make again..

See the link for more info..
https://courses.cs.washington.edu/courses/cse451/98sp/Section/makeintro.html
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 01:10:50 PM
ok i'm inexperienced I did some compilation on linux I hope to be able to learn more even with your help :)
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 01:24:42 PM
serk I am attaching the makefile I don't know where to add the command, I tried but without success
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 01:47:51 PM
It is right to add $(CC) in order
Title: Re: try to compile open software
Post by: serk118uk on September 20, 2021, 02:11:25 PM
It is right to add $(CC) in order

Just type cc=gcc at line 5 or somewhere on top of makefile

Have look at the link and you will see how cc assigned.

I am not home atm to edit the makefile , it's very simple
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 02:37:11 PM
I tried to add the cc = gcc string but it doesn't work, if I add the suffix $ (cc) I get out this result
Title: Re: try to compile open software
Post by: serk118uk on September 20, 2021, 02:44:29 PM
I tried to add the cc = gcc string but it doesn't work, if I add the suffix $ (cc) I get out this result

Salvo I am not home atm , you can also just remove cc and use gcc

Example

cc test.c -o test
gcc -o test test.c

Or add
cc=gcc

Somewhere on top of makefile
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 03:00:31 PM
ok thank you serk :)
Title: Re: try to compile open software
Post by: Amiwell on September 20, 2021, 03:12:19 PM
ok this is the currently result, I'm sorry I didn't understand that you weren't at home serk :-X
Title: Re: try to compile open software
Post by: cavemann on September 20, 2021, 09:11:10 PM
Hi Salvo, I'm sorry to say that, this is only the beginning of your problems. If I remember correctly, Blender uses python too. So you might have to rebuild python too. It would be better to select an easier program to learn how  to port.  ;)

ciao
Title: Re: try to compile open software
Post by: Amiwell on September 21, 2021, 02:39:28 AM
ok thank you ;D
Title: Re: try to compile open software
Post by: Samurai_Crow on September 21, 2021, 07:45:21 PM
Also remember that C, C++ and Makefiles are case-sensitive.  CC is not equal to cc.
Title: Re: try to compile open software
Post by: Amiwell on September 21, 2021, 07:48:48 PM
yes man :)