Cygwin fails when I change splashscreen..(Solved)

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
infinder
Posts: 2
Joined: Thu Feb 13, 2003 8:58 am
Contact:

Cygwin fails when I change splashscreen..(Solved)

Post by infinder »

I made a new splash.jpg and a new splash.jpg.c within datatoc.exe but the build fails. Any ideas?
Last edited by infinder on Thu May 11, 2006 8:28 am, edited 1 time in total.

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

What makes you think it is failing?

infinder
Posts: 2
Joined: Thu Feb 13, 2003 8:58 am
Contact:

Post by infinder »

This!


-DWITH_OPENEXR -DINTERNATIONAL -I./ splash.jpg.c -o /cygdrive/c/bf_blender/blend
er/obj/windows/blender/src/splash.jpg.o
splash.jpg.c:3: error: parse error before ':' token
splash.jpg.c:3: error: stray '\' in program
splash.jpg.c:3: error: stray '\' in program
splash.jpg.c:3: error: stray '\' in program
splash.jpg.c:4: error: parse error before ':' token
splash.jpg.c:4: error: stray '\' in program
splash.jpg.c:4: error: stray '\' in program
splash.jpg.c:4: error: stray '\' in program
make[3]: *** [/cygdrive/c/bf_blender/blender/obj/windows/blender/src/splash.jpg.
o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
Make complete
Beginning release
====> make release in /release
*---> Create blender-2.41-windows package
----> Make Config dir .blender
cp /cygdrive/c/bf_blender/blender/bin/.blender/.Blanguages /cygdrive/c/bf_blende
r/blender/obj/blender-2.41-windows/.blender
cp /cygdrive/c/bf_blender/blender/bin/.blender/.bfont.ttf /cygdrive/c/bf_blender
/blender/obj/blender-2.41-windows/.blender
----> Copy blender.exe executable
cp: cannot stat `/cygdrive/c/bf_blender/blender/obj/windows/bin/blender.exe': No
such file or directory
make[2]: *** [install] Error 1
make[1]: *** [all] Error 2
make: *** [release] Error 1
Release complete
Beginning copy
cp: cannot stat `/cygdrive/c/bf_blender/blender/obj/*/*-windows.zip': No such fi
le or directory
Copy complete

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

splash.jpg.c:3: error: parse error before ':' token
splash.jpg.c:3: error: stray '\' in program
splash.jpg.c:3: error: stray '\' in program
splash.jpg.c:3: error: stray '\' in program
Excellent. Now we are getting someplace. Having the actual error msgs is quite useful for debugging problems. The first msg is always more important than the last.

The compiler does not like what it sees in splash.jpg.c. You need to look at this file and see what is wrong. splash.jpg.c:3 refers to line 3.

Did datatoc complain about anything?

infinder
Posts: 2
Joined: Thu Feb 13, 2003 8:58 am
Contact:

Post by infinder »

datatoc doesn't complain about anything.
File splash.jpg.c it is full of numbers. Nothing seems wrong to me.
Thanx for your help .

Stamatis

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude »

to debug this were going to have to see a copy of the file giving the
errors.

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

The file splash.jpg.c is *supposed* to be full of numbers. If you can not figure out what is wrong you need to show us the error. I thought we got that point across!

The error is in the first 3 or 4 lines of the file.
Yours should look something like this.

Code: Select all

/* DataToC output of file <splash_jpg> */

int datatoc_splash_jpg_size= 76484;
char datatoc_splash_jpg[]= {
255,216,255,224,

infinder
Posts: 2
Joined: Thu Feb 13, 2003 8:58 am
Contact:

Post by infinder »

Hello Stiv!
I know about the numbers but it seems it wasn't something wrong with the file. After the last update I've made yesterday(that was 2006 05 10), Blender compiles again fine with my new splash. It had happened again before but I couldn't remember what was wrong , because not then neither now know what is wrong. At any right the file splash.jpg.c I used was the same but the last time building finished normaly without errors.

Sirdude here are the first 4 lines of the file:

/* DataToC output of file <splash_jpg> */

int datatoc_splash_jpg_size= 16332;
char datatoc_splash_jpg[]= {
255,216,255,224, 0, 16, 74, 70, 73, 70, 0, 1,
1, 1, 0, 72, 0, 72, 0, 0,255,225, 0, 22, 69,120,105,102, 0, 0, 77, 77, 0, 42, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0,
255,226, 12, 88, 73, 67, 67, 95, 80, 82, 79, 70, 73, 76, 69, 0, 1, 1, 0, 0, 12, 72, 76,105,110,111, 2, 16, 0, 0,109,110,
116,114, 82, 71, 66, 32, 88, 89, 90, 32, 7,206, 0, 2, 0, 9, 0, 6, 0, 49, 0, 0, 97, 99,115,112, 77, 83, 70, 84, 0, 0,
0, 0, 73, 69, 67, 32,115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,246,214, 0, 1, 0, 0, 0, 0,
211, 45, 72, 80, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 99,112,114,116, 0, 0, 1, 80, 0, 0,
0, 51,100,101,115, 99, 0, 0, 1,132, 0, 0, 0,108,119,116,112,116, 0, 0, 1,240, 0, 0, 0, 20, 98,107,112,116, 0, 0,
2, 4, 0, 0, 0, 20,114, 88, 89, 90, 0, 0, 2, 24, 0, 0, 0, 20,103, 88, 89, 90, 0, 0, 2, 44, 0, 0, 0, 20, 98, 88,
89, 90, 0, 0, 2, 64, 0, 0, 0, 20,100,109,110,100, 0, 0, 2, 84, 0, 0, 0,112,100,109,100,100, 0, 0, 2,196, 0, 0,
0,136,118,117,101,100, 0, 0, 3, 76, 0, 0, 0,134,118,105,101,119, 0, 0, 3,212, 0, 0, 0, 36,108,117,109,105, 0, 0,
3,248, 0, 0, 0, 20,109,101, 97,115, 0, 0, 4, 12, 0, 0, 0, 36,116,101, 99,104, 0, 0, 4, 48, 0, 0, 0, 12,114, 84,
82, 67, 0, 0, 4, 60, 0, 0, 8, 12,103, 84, 82, 67, 0, 0, 4, 60, 0, 0, 8, 12, 98, 84, 82, 67, 0, 0, 4, 60, 0, 0,
8, 12,116,101,120,116, 0, 0, 0, 0, 67,111,112,121,114,105,103,104,116, 32, 40, 99, 41, 32, 49, 57, 57, 56, 32, 72,101,119,
108,101,116,116, 45, 80, 97, 99,107, 97,114,100, 32, 67,111,109,112, 97,110,121, 0, 0,100,101,115, 99, 0, 0, 0, 0, 0, 0,
0, 18,115, 82, 71, 66, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18,115,
82, 71, 66, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0,243, 81, 0, 1, 0, 0, 0, 1, 22,204, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0,111,162, 0, 0, 56,245, 0, 0, 3,144, 88, 89,
90, 32, 0, 0, 0, 0, 0, 0, 98,153, 0, 0,183,133, 0, 0, 24,218, 88, 89, 90, 32, 0, 0, 0, 0, 0, 0, 36,160, 0, 0,
15,132, 0, 0,182,207,100,101,115, 99, 0, 0, 0, 0, 0, 0, 0, 22, 73, 69, 67, 32,104,116,116,112, 58, 47, 47,119,119,119,
46,105,101, 99, 46, 99,104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 73, 69, 67, 32,104,116,116,112, 58, 47, 47,119,119,
119, 46,105,101, 99, 46, 99,104, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,100,101,115, 99, 0, 0, 0, 0, 0, 0,
0, 46, 73, 69, 67, 32, 54, 49, 57, 54, 54, 45, 50, 46, 49, 32, 68,101,102, 97,117,108,116, 32, 82, 71, 66, 32, 99,111,108,111,
117,114, 32,115,112, 97, 99,101, 32, 45, 32,115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 73, 69, 67, 32, 54,
49, 57, 54, 54, 45, 50, 46, 49, 32, 68,101,102, 97,117,108,116, 32, 82, 71, 66, 32, 99,111,108,111,117,114, 32,115,112, 97, 99,
101, 32, 45, 32,115, 82, 71, 66, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,100,101,
115, 99, 0, 0, 0, 0, 0, 0, 0, 44, 82,101,102,101,114,101,110, 99,101, 32, 86,105,101,119,105,110,103, 32, 67,111,110,100,
105,116,105,111,110, 32,105,110, 32, 73, 69, 67, 54, 49, 57, 54, 54, 45, 50, 46, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44, 82,101,102,101,114,101,110, 99,101, 32, 86,105,101,119,105,110,10




Thank you for your time.

Stamatis

ZanQdo
Posts: 0
Joined: Sun Apr 11, 2004 4:57 am

Post by ZanQdo »

Check the first lines of the oficial splash file, you have to manually edit the new file to fix the path, datatoc leaves long paths that are not needed
:-) Hosting for your test builds:
GraphicAll.org

Post Reply