
Recherche avancée
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (7780)
-
Android NDK Linking shared library unsatisfied Linker Error
6 janvier 2014, par nmxprimei have a problem,
Below is the Android.mk
LOCAL_PATH := $(call my-dir)
INITIAL_PATH := $(LOCAL_PATH)
include $(CLEAR_VARS)
LOCAL_MODULE := ffmpegbuilt
LOCAL_SRC_FILES := libffmpeg.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/
include $(PREBUILT_SHARED_LIBRARY)
LOCAL_PATH := $(INITIAL_PATH)
LOCAL_MODULE := main_module
LOCAL_ARM_MODE := arm # remove this if you want thumb mode
LOCAL_SRC_FILES := main.c
LOCAL_LDLIBS := -llog
LOCAL_SHARED_LIBRARIES := ffmpegbuilt
include $(BUILD_SHARED_LIBRARY)It creates the two shared_libraries as expected. i see those two libraries inside
libs/armeabi
folder
When i run the application, Unsatisfied Linker error occurs as01-06 20:21:38.281: E/AndroidRuntime(435): FATAL EXCEPTION: main
01-06 20:21:38.281: E/AndroidRuntime(435): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]: 32 could not load needed library 'libffmpeg.so' for 'libmain_module.so' (load_library[1104]: Library 'libffmpeg.so' not found)
01-06 20:21:38.281: E/AndroidRuntime(435): at java.lang.Runtime.loadLibrary(Runtime.java:434)
01-06 20:21:38.281: E/AndroidRuntime(435): at java.lang.System.loadLibrary(System.java:554)What could be the problem, also though i defined
LOCAL_MODULE := ffmpegbuilt
, why the prebuilt library's module name is not changing ? -
android.mk LOCAL_MODULE_FILENAME should not contain extensions
25 février 2015, par nmxprimei am trying to build some of the files from
libavcodec
andlibavutil
Following this, i created Android.mk file as below :
jni/Android.mk
containsLOCAL_PATH := $(call my-dir)
FFMPEG_TOP := $(LOCAL_PATH)
include $(CLEAR_VARS)
include $(FFMPEG_TOP)/libavutil/Android.mk
include $(FFMPEG_TOP)/libavcodec/Android.mk
LOCAL_PATH := $(FFMPEG_TOP)
LOCAL_MODULE := mylib
LOCAL_ARM_MODE := arm # remove this if you want thumb mode
LOCAL_SRC_FILES := myfunc1.c myfunc2.c maincfunction.c 3rdparty1.c 3rdparty2.c
LOCAL_SRC_FILES += libavcodec.a libavutil.a
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)jni/libavcodec/Android.mk
containsLOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
SOURCE_H264_DECODER += h264.c h264idct.c h264pred.c h264_parser.c cabac.c
SOURCE_H264_ENCODER += h264enc.c h264dspenc.c
SOURCE_HAVE_ARM = \
arm/dsputil_arm.c \
arm/dsputil_arm_s.S \
arm/jrevdct_arm.S \
arm/mpegvideo_arm.c \
arm/simple_idct_arm.S
SOURCE_HAVE_ARMV5TE = \
arm/mpegvideo_armv5te.c \
arm/mpegvideo_armv5te_s.S \
arm/simple_idct_armv5te.S
SOURCE_HAVE_ARMVFP = \
arm/dsputil_vfp.S \
arm/float_arm_vfp.S
SOURCE_HAVE_ARMV6 = arm/simple_idct_armv6.S
LOCAL_SRC_FILES := \
allcodecs.c \
audioconvert.c \
bitstream.c \
bitstream_filter.c \
dsputil.c \
eval.c \
faanidct.c \
imgconvert.c \
jrevdct.c \
opt.c \
options.c \
parser.c \
raw.c \
resample.c \
resample2.c \
simple_idct.c \
utils.c
LOCAL_SRC_FILES += $(SOURCE_H263_ENCODER)
LOCAL_SRC_FILES += $(SOURCE_H264_DECODER)
LOCAL_SRC_FILES += $(SOURCE_HAVE_ARM)
LOCAL_SRC_FILES += $(SOURCE_HAVE_ARMV5TE)
LOCAL_SRC_FILES += $(SOURCE_HAVE_ARMVFP)
LOCAL_MODULE := libavcodec
LOCAL_PRELINK_MODULE := false
LOCAL_C_INCLUDES := \
$(FFMPEG_TOP)/ \
$(FFMPEG_TOP)/libavutil/ \
$(LOCAL_PATH) \
$(LOCAL_PATH)/arm/
LOCAL_CFLAGS += -O4 -mno-thumb-interwork -mno-thumb -marm -DHAVE_AV_CONFIG_H
include $(BUILD_STATIC_LIBRARY)jni/libavutil/Android.mk
contains
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
adler32.c \
aes.c \
avstring.c \
base64.c \
crc.c \
des.c \
fifo.c \
intfloat_readwrite.c \
lfg.c \
lls.c \
log.c \
lzo.c \
mathematics.c \
md5.c \
mem.c \
random.c \
random_seed.c \
rational.c \
rc4.c \
sha1.c \
tree.c \
utils.c
LOCAL_MODULE := libavutil
LOCAL_PRELINK_MODULE := false
LOCAL_C_INCLUDES := \
$(FFMPEG_TOP)/ \
$(LOCAL_PATH) \
$(LOCAL_PATH)/arm/
LOCAL_CFLAGS += -O4 -mno-thumb-interwork -mno-thumb -marm -DHAVE_AV_CONFIG_H
include $(BUILD_STATIC_LIBRARY)The problem addressed here is not relavant to what i am facing, though the error is similar.
The error i got is :
Android NDK: jni/inner/Android.mk:mylib: LOCAL_MODULE_FILENAME should not include file extensions
Android NDK: jni/inner/Android.mk:mylib: LOCAL_MODULE_FILENAME must not contain a file extensionPlease help !!
[So often i am meeting headless problems !!] -
how to install and run phpize
13 décembre 2016, par Hrishikesh ChoudhariI have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to
phpize
it. I installed php5-dev bysudo apt-get install php5-dev
But now when I run phpize I get the following error :phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the moduleThe location of my php.ini is
/usr/local/zend/etc/php.ini
From another online resource i tried this
sudo apt-get install autoconf automake libtool m4
But all of them are already installed.
Locate config.m4 didnt return anything.
Any pointers here how I can get phpize and thus, ffmpeg up and running ?