Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
2 user(s) are online (2 user(s) are browsing Forum)

Members: 1
Guests: 1

aha, more...

Browsing this Thread:   1 Anonymous Users



« 1 2 (3) 4 5 »


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
yes. you should disable building shared libraries (so).

Posted on: 9/3 13:55
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
you can do so in cmakelist.txt line 136:

if (SHARED_CORE)
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(WebCore_LIBRARY_TYPE SHARED)
else ()
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(WebCore_LIBRARY_TYPE STATIC)
endif ()

change lib types to static:

if (SHARED_CORE)
set(JavaScriptCore_LIBRARY_TYPE SHARED)
set(WebCore_LIBRARY_TYPE SHARED)
else ()
set(JavaScriptCore_LIBRARY_TYPE STATIC)
set(WebCore_LIBRARY_TYPE STATIC)
endif ()

Posted on: 9/3 14:01
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2017/9/11 14:28
From Basel
Group:
Member
Posts: 24
Offline
Hi wawa,

Thanks! With your suggestion, I compiled a lot of files...
I made a small fix on some issue with BoxShape.cpp related to math, but now I have this error. Have you ever seen it?

Quote:

[ 78%] Building C object Source/WebCore/CMakeFiles/WebCore.dir/platform/mui/acinerella.c.obj
[ 78%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/mui/ContextMenuMorphOS.cpp.obj
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:255:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
&file_read,
^
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:255:2: note: (near initialization for \E2OWBProtocol.url_accept\E2)
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:256:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
&file_write,
^
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:256:2: note: (near initialization for \E2OWBProtocol.url_handshake\E2)
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:257:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
&file_seek,
^
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:257:2: note: (near initialization for \E2OWBProtocol.url_read\E2)
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:258:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
&file_close,
^
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:258:2: note: (near initialization for \E2OWBProtocol.url_write\E2)
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:269:1: warning: missing initializer for field \E2flags\E2 of \E2struct URLProtocol\E2 [-Wmissing-field-initializ
ers]
};
^
In file included from /root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:26:0:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/bin/linux-i386/AROS/Development/include/libavformat/url.h:91:9: note: \E2flags\E2 declared here
int flags;
^~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: error: return type is an incomplete type
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c: In function \E2convert_pix_format\E2:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:573:34: error: \E2PIX_FMT_RGB24\E2 undeclared (first use in this function)
case AC_OUTPUT_RGB24: return PIX_FMT_RGB24;
^~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:573:34: note: each undeclared identifier is reported only once for each function it appears in
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:573:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:574:34: error: \E2PIX_FMT_BGR24\E2 undeclared (first use in this function)
case AC_OUTPUT_BGR24: return PIX_FMT_BGR24;
^~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:574:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:575:34: error: \E2PIX_FMT_RGB32\E2 undeclared (first use in this function)
case AC_OUTPUT_RGBA32: return PIX_FMT_RGB32;
^~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:575:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:576:34: error: \E2PIX_FMT_BGR32\E2 undeclared (first use in this function)
case AC_OUTPUT_BGRA32: return PIX_FMT_BGR32;
^~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:576:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:577:34: error: \E2PIX_FMT_YUV420P\E2 undeclared (first use in this function)
case AC_OUTPUT_YUV420P: return PIX_FMT_YUV420P;
^~~~~~~~~~~~~~~
oot/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:577:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:578:34: error: \E2PIX_FMT_YUYV422\E2 undeclared (first use in this function)
case AC_OUTPUT_YUV422: return PIX_FMT_YUYV422;
^~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:578:34: warning: \E2return\E2 with a value, in function returning void
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:580:9: warning: \E2return\E2 with a value, in function returning void
return PIX_FMT_RGB24;
^~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:569:18: note: declared here
enum PixelFormat convert_pix_format(ac_output_format fmt)
^~~~~~~~~~~~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c: In function \E2ac_set_output_format\E2:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:631:20: error: invalid use of void expression
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:641:10: error: invalid use of void expression
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c: In function \E2ac_create_video_decoder\E2:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:754:57: error: invalid use of void expression
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:764:8: error: invalid use of void expression
pDecoder->pCodecCtx->width, pDecoder->pCodecCtx->height);
^~~~~~~~
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c: In function \E2ac_decode_video_package\E2:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/WebCore/platform/mui/acinerella.c:911:20: error: invalid use of void expression
/*SWS_BICUBIC*/SWS_FAST_BILINEAR, NULL, NULL, NULL);
^~~~~~~~~~~~~~~~~
Source/WebCore/CMakeFiles/WebCore.dir/build.make:58561: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/platform/mui/acinerella.c.obj' failed
make[4]: *** [Source/WebCore/CMakeFiles/WebCore.dir/platform/mui/acinerella.c.obj] Error 1
make[4]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:341: recipe for target 'Source/WebCore/CMakeFiles/WebCore.dir/all' failed
make[3]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make[2]: *** [all] Error 2
mmakefile:118: recipe for target '/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/bin/linux-i386/gen/local/odyssey/.installed' failed
make[1]: *** [/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/bin/linux-i386/gen/local/odyssey/.installed] Error 2
[MMAKE] make --no-print-directory TOP=/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source SRCDIR=/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source CURDIR=local/odyssey TARGET=odyssey-exe-build_and_install-quic
k --file=mmakefile odyssey-exe-build_and_install-quick failed: 512
[MMAKE] Error: Error while running make in local/odyssey: No such file or directory
Makefile:224: recipe for target 'local-odyssey' failed
make: *** [local-odyssey] Error 10




Posted on: 9/5 11:06
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
this is due to an external utility (acinerella) to implement ffmpeg as video player. yu can either consult/diff my changes in this area, i had to introduce because ffmpeg interface has changed in comparison to what deadwood was linking against.

you can also disable video support for the tme being as i am doing in the mmakefile for other platforms than i386.

Posted on: 9/5 15:01
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4183
Offline
Just a note. What never worked good in odyssey is the video player. Seams horribly slow or it is other problem.

Posted on: 9/5 15:09
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
here is how to disable video
-DENABLE_VIDEO:BOOL=OFF \
-DENABLE_VIDEO_TRACK:BOOL=OFF
btw i have white page problems with this forum, cant really reply.

Posted on: 9/5 15:13
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2017/9/11 14:28
From Basel
Group:
Member
Posts: 24
Offline
I tried your suggestion, by modifying mmakefile.src, but now compilation is failing even earlier

Quote:

[ 14%] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/MathCommon.cpp.obj
In file included from /root/night_V0/test2/gcc-6.1.0/AROS-20180827-source/bin/linux-x86_64/tools/crosstools/lib/gcc/i386-aros/6.1.0/include/c++/cmath:45:0,
from /root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/JavaScriptCore/runtime/MathCommon.cpp:29:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/JavaScriptCore/runtime/MathCommon.cpp: In function ?double JSC::operationMathPow(double, double)?:
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/JavaScriptCore/runtime/MathCommon.cpp:416:14: error: expected unqualified-id before ?(? token
if (std::isnan(y))
^
/root/night_V0/test2/gcc-4.8.3/AROS-20180827-source/local/odyssey/Source/JavaScriptCore/runtime/MathCommon.cpp:418:14: error: expected unqualified-id before ?(? token
if (std::isinf(y) && fabs(x) == 1)
^
Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/build.make:11970: recipe for target 'Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/MathCommon.cpp.obj' failed



Posted on: 9/6 12:20
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2017/9/11 14:28
From Basel
Group:
Member
Posts: 24
Offline
I forgot... is the developers mailing list still active?
I tried a couple of time to subscribe but I was never accepted...

Posted on: 9/6 12:22
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
no you need to pick certain files from my source and others from deadwoods.

deadwoods mathcommon provides workarounds for (c++11?) math that were implemented lately and only for abi v1 afaik, so you need to take the deadwoods sources there.

on the contrary you will likely need my acinerella sources instead his in order to build with aros default ffmpeg.

Posted on: 9/6 12:28
Transfer the post to other applications Transfer


Re: Odyssey

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
of couse i could reintroduce the workarounds within some abi v1 ifdef, even though im dont really fond doing it..

Posted on: 9/6 12:30
Transfer the post to other applications Transfer



« 1 2 (3) 4 5 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4456
2 nikolaos
nikolaos
4183
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 clusteruk
clusteruk
2113
9 damocles
damocles
1789
10 BSzili
BSzili
1531
© 2004-2018 AROS Exec