
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (54)
-
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 -
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (8940)
-
build : move vpath directives to main Makefile
5 juin 2011, par Mans Rullgardbuild : move vpath directives to main Makefile
-
undefined reference to 'main' in Android.mk file with NDK
25 juillet 2015, par Laurent GorseI’m trying to recompile a native ffmpeg (with rtmp) library with PIE for Android 5.0 compatibility.
The library works fine without -pie, but when I try to recompile it with the following flags :
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -piethe following error gets thrown :
/Users/lgorse/Android_Libraries/android-ndk-r10e/platforms/android-21/arch-arm/usr/lib/crtbegin_dynamic.o:crtbrand.c:function _start: error: undefined reference to 'main'
Error:error: ld returned 1 exit status
make: *** [obj/local/armeabi/libffmpegbridge.so] Error 1
make: Leaving directory `/Users/lgorse/Android_Libraries/ffmpegbridge/app/src/main'
:app:ndkBuild FAILED
Error:Execution failed for task ':app:ndkBuild'.
> Process 'command '/Users/lgorse/Android_Libraries/android-ndk-r10e/ndk-build'' finished with non-zero exit value 2It seems that the ndk-build is trying to access a .main method from within crtbegin_dynamic. Those files are built-in with the NDK so I assume there’s nothing fundamentally wrong with them, and I’m attempting to run my configuration in the wrong way.
Here is the Android.mk file :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ffmpegbridge
LOCAL_SRC_FILES := ffmpegbridge.c ffmpegbridge_context.c logdump.c
LOCAL_CFLAGS := -I$(LOCAL_PATH)/include -I$(LOCAL_PATH)/../prebuilt/include
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -pie
LOCAL_LDLIBS += -llog
LOCAL_LDLIBS += -L$(LOCAL_PATH)/../prebuilt/lib
LOCAL_LDLIBS += -lcrypto -lssl -lrtmp-1 -lavcodec-56 -lavdevice-56 -lavfilter-5 -lavformat-56 -lavutil-54 -lswresample-1 -lswscale-3
include $(BUILD_SHARED_LIBRARY)Here is my Gradle file (it contains the build instructions for ndkBuild) :
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "io.cine.ffmpegbridge"
minSdkVersion 18
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets.main {
jniLibs.srcDir 'src/main/libs'
jni.srcDirs = [] // disable NDK-auto-build
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
task ndkBuild(type: Exec) {
def ndkDir = properties.getProperty('ndk.dir')
commandLine "$ndkDir/ndk-build", '-C', file('src/main').absolutePath
}
task cleanNdkBuild(type: Exec) {
def ndkDir = properties.getProperty('ndk.dir')
commandLine "$ndkDir/ndk-build", '-C', file('src/main').absolutePath, "clean"
}
tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn ndkBuild }
clean.dependsOn cleanNdkBuild
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}I’ll be watching this question closely so feel free to ask for follow-ups. I’m definitely around !
-
ffplay : close streams and AVFormatContext in the main thread
6 février 2015, par Marton Balint