AROS World Exec
Development => Development (General) => Topic started 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
-
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
-
ok i'm inexperienced I did some compilation on linux I hope to be able to learn more even with your help :)
-
serk I am attaching the makefile I don't know where to add the command, I tried but without success
-
It is right to add $(CC) in order
-
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
-
I tried to add the cc = gcc string but it doesn't work, if I add the suffix $ (cc) I get out this result
-
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
-
ok thank you serk :)
-
ok this is the currently result, I'm sorry I didn't understand that you weren't at home serk :-X
-
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
-
ok thank you ;D
-
Also remember that C, C++ and Makefiles are case-sensitive. CC is not equal to cc.
-
yes man :)