
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (70)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11116)
-
clang++ : error : linker command failed with exit code 1 (use -v to see invocation) [duplicate]
1er avril 2020, par Pradeep SimbaWhen I build ndk with ffmpeg it occurs error.






Android.mk file



LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_C_INCLUDES += ./include
LOCAL_MODULE := native-lib
LOCAL_CFLAGS := -DSTDC_HEADERS -std=c99
LOCAL_CFLAGS := -Wno-pointer-sign
LOCAL_ARM_MODE := arm
APP_OPTIM := release
LOCAL_SRC_FILES := \
./native-lib.cpp
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)




native-lib.cpp file



#include 
#include <string>

extern "C"
{
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/opt.h"
}

extern "C" JNIEXPORT jstring JNICALL
Java_com_example_m_MainActivity_stringFromJNI(
 JNIEnv* env,
 jobject /* this */) {
std::string hello = "Hello from C++";
av_register_all();
return env->NewStringUTF(hello.c_str());
}
</string>



When I build ndk this error occurs.






D:\Github\n>ndk-build
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
[arm64-v8a] Compile++ : native-lib <= native-lib.cpp
[arm64-v8a] SharedLibrary : libnative-lib.so
./obj/local/arm64-v8a/objs/native-lib/./libmp3lame/native-lib.o: In function `Java_com_example_m_MainActivity_stringFromJNI':
D:\Github\n/jni/./libmp3lame/native-lib.cpp:16: undefined reference to `av_register_all'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [D:/install/sdk/ndk/21.0.6113669/build//../build/core/build-binary.mk:725: obj/local/arm64-v8a/libnative-lib.so] Error 1

D:\Github\n>ndk-build -v
GNU Make 4.2.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later /gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

D:\Github\n>




why it comes like this
native-lib.cpp:16: undefined reference av_register_all
?


I added all the required libs in my jni folder . but, why this error and this native-lib.cpp:16 : undefined reference av_register_all comes ?



How can I solve this ?


-
avformat/utils : make av_url_split search for hashmark as well to separate hostname
3 février 2020, par Marton Balintavformat/utils : make av_url_split search for hashmark as well to separate hostname
RFC 3986 states that the generic syntax uses the slash ("/"), question mark
(" ?"), and number sign ("#") characters to delimit components that are
significant to the generic parser's hierarchical interpretation of an
identifier.Signed-off-by : Marton Balint <cus@passwd.hu>
-
Evolution #4102 : Ordre des inclures dans cache/charger_plugins_options.php
8 juillet 2019, par cam.lafit -Salut
Ma solution n’est pas bonne non plus. On peut selon l’ordre d’appel devoir encapsuler le code d’un fichier options. Donc la solution de @placido est plus pertiente. Le patch suivant ne casse pas le comportement par défaut de SPIP et permet de charger avant un bout d’options.
Soit le pluginA ayant besoin de surcharger les options de pluginB, si on fait
pluginA/pre_pluginB_options.php
alors l’ordre de chargement devrait être :pluginA/pre_pluginB_options.php
pluginB/pluginB_options.php
pluginA/pluginA_options.php
- <span class="CodeRay"><span class="line head"><span class="head">--- </span><span class="filename"><sans nom="nom"></sans></span></span>
- <span class="line head"><span class="head">+++ </span><span class="filename"><sans nom="nom"></sans></span></span>
- <span class="line change"><span class="change">@@</span> -821,7 +821,25 <span class="change">@@</span></span>
- $boutons = array();
- $onglets = array();
- $sign = "";
- <span class="line delete"><span class="delete">-</span></span>
- <span class="line insert"><span class="insert">+</span> </span>
- <span class="line insert"><span class="insert">+</span> /* pre fonctions/options charger un fichier avant celui du plugin concerné */</span>
- <span class="line insert"><span class="insert">+</span> foreach ($ordre as $p => &$info) { </span>
- <span class="line insert"><span class="insert">+</span> foreach($ordre as $plugin_pre_charge => $info_plugin_pre_charge) { </span>
- <span class="line insert"><span class="insert">+</span> $dir_type = $plugin_valides[$plugin_pre_charge]['dir_type'];</span>
- <span class="line insert"><span class="insert">+</span> $plug = $plugin_valides[$plugin_pre_charge]['dir'];</span>
- <span class="line insert"><span class="insert">+</span> $dir = constant($dir_type);</span>
- <span class="line insert"><span class="insert">+</span> $root_dir_type = str_replace('_DIR_', '_ROOT_', $dir_type);</span>
- <span class="line insert"><span class="insert">+</span> if (isset($plugin_valides[$plugin_pre_charge])) {</span>
- <span class="line insert"><span class="insert">+</span> foreach ($contenu as $charge => $v) { </span>
- <span class="line insert"><span class="insert">+</span> if (is_readable("$dir$plug/" . ($file = "pre_".$info['prefix'] . "_" . $charge . ".php"))) {</span>
- <span class="line insert"><span class="insert">+</span> $_file = $root_dir_type . ".'$plug/$file'";</span>
- <span class="line insert"><span class="insert">+</span> $contenu[$charge] .= "include_once_check($_file);\n";</span>
- <span class="line insert"><span class="insert">+</span> } </span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> }</span>
- <span class="line insert"><span class="insert">+</span> </span>
- foreach ($ordre as $p => $info) {
- // $ordre peur contenir des plugins en attente et non valides pour ce hit
- if (isset($plugin_valides[$p])) {
- </span>