compilation

ffmpeg compiling on MSVC9 (Visual C++ 2008)

此生再无相见时 提交于 2019-12-11 17:59:42
问题 i want to compile ffmpeg on windows MSVC9 (Visual C++ 2008) because i want to use it in wamp server 2 which is compiled using the same compiler however am currently at a loss of how to do this as there are no visual studio solution files. I know it is possible because people have compiled dlls but i cant seem to find just how they did it . There are also some precompiled dlls here but they are incompatible with my php version 5.38. Please help 回答1: FFMPEG does not compile natively under MSVC.

qt compile mac os undefined symbols AVFMediaPlayerService AVFVideoRendererControl

岁酱吖の 提交于 2019-12-11 17:34:02
问题 Im trying to compile Qt 5.9.x on my Mac OS High Sierra computer. I configure with the following options: ./configure --prefix=/Users/myuserid/opt/qt593 \ -opensource \ -release -gui -widgets -no-opengl -confirm-license \ -shared -no-dbus -nomake examples After configuring I compile and after a while it stops with the following undefined symbols: Undefined symbols for architecture x86_64: "AVFVideoRendererControl::staticMetaObject", referenced from: AVFMediaPlayerService::releaseControl

How to build C#, C++ , C Solutions using MsBuild and VS2017 compiler via Batch File?

北城余情 提交于 2019-12-11 17:25:09
问题 I am building my solutions using MsBuild in a batch file as follows: @echo off set msBuildExe="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe" set solutionsFile="C:\TestProject\mySln.sln" rem Build the solutions: %msBuildExe% /t:Build /p:Configuration=Release /p:Platform=x64 %solutionsFile% Problem is that I have Multiple Versions of Visual Studio installed and I want to point MsBuild.exe to use the compiler of VS2017. How can I do that? 回答1: You need two seperate things here:

-fopenmp does not include omp.h on amazon linux?

梦想与她 提交于 2019-12-11 17:16:25
问题 I'm trying to compile a test openmp program on an Amazon AWS t2.micro instance. It seems to have trouble. Upon trying to compile this OpenMP hello world program, the compiler fails to find omp.h despite using gcc hello_world.c -fopenmp . After that, I tried running locate omp.h and found it in /usr/lib/gcc/x86_64-amazon-linux/4.8.5/include . I next attempted to compile by including that directory with gcc -I . Then, the compiler still needed libgomp.spec , which has been encountered and

Syntax error in OPEN statement with gfortran at CARRIAGECONTROL=

心已入冬 提交于 2019-12-11 16:58:10
问题 I encounter some error when i try to compile a Fortran source file named 'zone_b.f' using Cygwin, to produce an executable program. The Fortran file is download from web. The exact code can be viewed from here. When I try to compile using the following command it produces the following error: $ gfortran zone_b.f zone_b.f:54:72: call getzone(zone_start, zone_end, selection_on, line(3:76)) 1 Error: Syntax error in SUBSTRING specification at (1) zone_b.f:61:28: & form='FORMATTED',

GWT compilation problem The constructor StackTraceElement(String, String, String, int) is undefined

梦想的初衷 提交于 2019-12-11 16:53:29
问题 I am compiling my GWT module in Eclipse that inherits my other module (that compiles without problems) and I get this output: Compiling module mymodule.GWT_TESTS Validating newly compiled units [ERROR] Errors in 'jar:file:/C:/apath/gwt-2.0.4/gwt-user.jar!/com/google/gwt/core/client/impl/StackTraceCreator.java' [ERROR] Line 70: The constructor StackTraceElement(String, String, String, int) is undefined [ERROR] Line 80: The constructor StackTraceElement(String, String, String, int) is undefined

Compile C# code dynamically without using original required assemblies

余生颓废 提交于 2019-12-11 16:37:24
问题 I'm compiling the C# code written by end-user dynamically in my software. In order to compile the code I need to add some assemblies as reference to CompilerParameters. CompilerParameters loParameters = new CompilerParameters(); loParameters.ReferencedAssemblies.Add("C:\A.dll") loParameters.ReferencedAssemblies.Add("C:\B.dll") Therefore I should release these assemblies ("A.dll" and "B.dll") with my software, but because of security reason I don't want the user can access the source of these

Prolog evaluator that uses previously solved information as input

半腔热情 提交于 2019-12-11 15:57:24
问题 I have written a program that takes a parse tree as input and evaluates it. It works when the identifiers in the tree do not reoccur. I want the evaluator to take in multiple statements, and use the values assigned to identfiers when I solve later statements. Here is my program. add_op --> ['+']. assign_op --> ['=']. ident(ident(Ident)) --> [Ident], {atom(Ident)}. /* True if an identifier */ int(int(Int)) --> [Int], {integer(Int)}. /* True if an integer */ semicolon --> [';']. evaluator

Importing Android source to Eclipse: outdated .classpath?

不羁的心 提交于 2019-12-11 15:39:21
问题 I successfully imported the Android source code into Eclipse. Now Eclipse says I am missing files, but I know I have them present on my hard drive. The .classpath is outdated which I acquired from this link. Check Basic setup , second quote. I had to remove some src files that was outdated and missing from my hard drive. Now I have to find the right ones that are present on my hard drive but missing by Eclipse. Finding and adding them one by one will be a pain. Is there an updated .classpath

OpenCV compliation on linux: how to feed to it specific zlib lib?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 15:24:39
问题 I want to compile OpenCV with same zlib as I use for compilation of Boost Iostreams (not system default one). I want to compile OpenCV as static lib, having zlib compiled as static lib. Currently I use something like : ../$CMAKE_PATH -DCMAKE_INSTALL_PREFIX=./$OPENCV_INSTALL_SUBDIR -DBUILD_WITH_STATIC_CRT=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON_SUPPORT=OFF -DOPENCV_EXTRA_C_FLAGS=-fPIC -DOPENCV_BUILD_3RDPARTY_LIBS=TRUE make make install echo Done! I wonder: having some $ZLIB_HEADERS and $ZLIB