compile

Compile MFC Code From C# Windows Application

I'm building a C# Windows App to compile & Build MFC Code i googled a-lot and I found this thread very useful Thread but i'm facing 2 problems; 1) Related To Compile as my MFC project have 4 different configuration 2 for Oracle 10 & 2 for Orace 8i but when i pass Oracle 10 Configuration in command-line it doesn't recognize it & builds t...

Ifort suppress unused variable warning, leave all others intact

i use ifort and gfortran to compile my Fortran program. However i also use a coworkers source and he has got a lot of unused variables. How can i suppress these for the compile, seeing as they are not really an error? However i dont want to disable -pedantic and -stan in the compiler options and thus want all the other warnings. ch...

Netbeans fails to execute perl script when compiling C++ project

I installed Netbeans 6.9.1 with C++ support. I also installed MinGW. When I create a C++ project and run it, I get this: I checked the c++ configuration in Netbeans: (looks good) Perl is installed on my PC under c:\perl I tried reinstalling Netbeans and I tried removing Netbeans and Perl then reinstalled Netbeans. It didn't work ...

What Is the simplest way to compile FFMPEG on an Ubuntu Server

Hi, I need to execute FFMPEG with some options that are not included when I install using apt-get, so I need to re-compile it. What is the best/easiest way to do it? I'm using a Ubuntu 8.04 Server. The option I need to add is --enable libspeex1. Thanks in advance. ...

Compile Ben Gottlieb's Twitter oAuth iPhone Library for 4.0 AND 3.1.X

Hey there, I need Ben Gottlieb's Twitter Engine running on both iOS 4.0 and 3.1.X - I tried to recompile the libOAuth.a Library with certain SDK Versions but I didn't got it to work. The Library compiled with 3.1.3 SDK works just on 3.1.3 SDK, and the 4.0 compiled Library only on the 4.0 SDK. Any ideas how to get the Library running on...

Simplifying compilation with each of a list of options

I've got a list of definitions: MASTER, SLAVE0, SLAVE1, ... SLAVE9 to control which array of audio data is programmed into a microcontroller. The micro can hold no more than one sound file, so I have included the following definitions at the top of my main.c file: #define MASTER #define SLAVE0 #define SLAVE1 .... #define SLAVE9 Then...

Compiling on XP makes resulting EXE file larger

Compiling the source code for Fossil on Windows XP SP3, along with OpenSSL v1.0.0a for HTTPS support, results in a 2618KB EXE file. I am using GCC v4.5.1 from nuwen.net's MinGW distro. If I run "strip -s fossil.exe" the size goes down to 2177KB. What's odd is if I compile the same Fossil source on a Windows 7 box, I get a 2397KB EXE fil...

Compiling PHP, are these errors ok? (Linux-Debian-PHP5.3.3)

Are these ok? My config line is this: ./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --with-openssl --with-mysql --with-mysql-sock --with-gd --with-jpeg-dir=/usr/lib --enable-gd-native-ttf --without-sqlite --disable-pdo --disable-reflection --with-curl --with-mysqli=/usr/bin/mysql_config And the...

Compiling/Linking OpenCV Sample: camshiftdemo.c

I built the demo on my Ubuntu 10.04 using the headers found in this PPA and with the build_all.sh script found in the same directory as camshiftdemo.c. All I got is a Could not initialize capturing... message. Then I tried to build it with this line (found it after building the demo with CMake in the building directory that CMake create...

Compiling OpenCV on Windows 7 64bit

I'm trying to get OpenCV working on Windows 7 64bit. I tried installing the vs2008.exe installer bundle from the OpenCV website but it produced errors when trying to compile, I Google'd these and it appears that installer is no good for 64bit versions of Windows 7, bugger. I've tried having a crack at compiling using CMake, but really...

please guide me (FFMPEG and PHP) basics

Hi again everyone. i would like to ask you wonderful guys on how to encode videos using FFMPEG n PHP 5.3, so far i have gone through these following steps: Install FFMPEG Install PHP-FFMPEG extension for PHP 5.3, downloaded the extension over here install flvtool2 try to convert a video into .flv using these script i found here i go...

"Cannot find symbol" when compiling with Ant

Hello, I need to generate an apk file using an ant script but I'm having problems in the compile target. To generate automatically the ant script I've used the android tool with the command "android update project". The problem is that this project depends on another project so I need to do a custom compile task. For that reason I've ov...

How to modify a homebrew formula?

I installed imagemagick via homebrew. However, due to a bug I have with my current configuration, I need to adjust the compile flags for the formula and reinstall it. How can I accomplish this? Note: I'm a complete homebrew noob, so please offer a detailed explanation. ...

Multiple TESTFLAGs in C++

Hi all. Our rather large C++ code base has a different debug flag for each module. These are currently defined in the code like so: #ifdef A_DEBUG {foo foo} #endif However, we have more than one of these flags. So while clearmake -C gnu TESTFLAG=-DA_DEBUG works just great on one flag, I would love to be able to compile with...

Compile time jumps when moving from Flex Build to Flash Builder

I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried ad...

Test Class not building for x86

So I am getting an exception thrown that my Test project cannot open the SQLite assembly. However here is the output when I compile: ------ Build started: Project: Budget, Configuration: Debug x86 ------ Budget -> C:\Users\Scott\Desktop\Development\Budget\Budget\Budget\bin\Debug\Budget.exe ------ Build started: Project: Test, Configur...

Xcode: Build app on two connected phones

I want to install an app on two phones without plugging and unplugging the devices. Can this be done? As far as I can tell, the Xcode interface does not have that functionality... ...

Building takes long time. How fight with that?

Speaking about compiled languages (c# in my case) I think that problem would always remain, no matter how performant your develop machine is. Build time could be more or less depending on concrete environment, but often it's enough to make your attention wanna move from your task to something else like stackoverflow, youtube, twitter etc...

Recompiling mod_auth_mysql for future modification.

Hey, I'm trying to compile this UNMODIFIED apache mod in ArchLinux so I can modify it later on, but I'm a nub... apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c /usr/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT...

cannot compile mac os x c++ project for host architecture

Hello, I have to create a universal binary for a dylib but I'm having some problems on compile time. I am able to build my sources on mac os x 10.5 (i386 arch) but when I'm trying to compile the same sources from a mac os x 10.6 with target i386 (cause the default one on 10.6 is x86_64) I'm getting errors. I also tried to use the 10.5 ...