compiling

C# properties: How are they instantiated?

Hi! This might be a pretty straightforward question, but I'm trying to understand some of the internal workings of the compilation. Very simply put, imagine an arbitrary object being instantiated. This object is then allocated on the heap. The object has a property of type PointF (which is value type), with a get and a set method. Ima...

GNUStep Getting Started

I downloaded GNUStep and installed it, however i am not sure where i can find an IDE. does anyone know what programs serve as a GNUStep IDE/where to get them? Failing that, does anyone know of a tutorial on how to create and compile a basic GNUStep program? ...

Why is this boost header file not included

...

Running an AnyCPU application as 32bit on 64 bit os

Is there a way to execute a .net application compiled under AnyCPU as a 32-bit application when running in a 64-bit Windows environment without recompiling as x86? ...

Syntax Checking or "Compiling" a Ruby on Rails Application

Hello, I'm new to Ruby and recently ran into an issue comparing to values when creating a Ruby on Rails application. In a controller I had the following statement that always returned false: if (user.id != params[:id]) The problem was the user.id (which is an Active Record) is an integer and params[:id] is a string. It took me a wh...

C++ Compiling first time

I will you show my misinterpretation. it says there must be del *.obj in the bat file it says there must be an obj file it says the obj file must actually be a cpp file Please, show me your interpretation. http://computerprogramming.suite101.com/article.cfm/the_borland_win32_compiler_guide Thanks! ...

Compile the Python interpreter statically?

I'm building a special-purpose embedded Python interpreter and want to avoid having dependencies on dynamic libraries so I want to compile the interpreter with static libs instead (eg libc.a not libc.so). I would also like to statically link all dynamic libraries that are part of the Python standard library as well. I know this can be ...

Compiling differences in Visual C++ and *nix enviroments

Is there a difference between compiling projects in *nix enviroments and MS Visual C++? For example, there is a "stdafx.h" file in Visual C++. The reason I'm asking is that I submitted a piece of code which compiled in g++, to refactormycode.com. Then after it got a refactoring, it seemed to include a "stdafx.h", so I figured I'll down...

FLA won't publish in CS3, previously compiled swf is gone!

I have had this problem a few times lately. When I try to update & publish files that previously published fine in Flash CS3, the "Exporting Flash Movie" bar comes up, but no movie compiles. When I go to look for the swf in the Finder (Mac OS 10.5.7), it has mysteriously disappeared, and only the .FLA remains. It doesn't happen with ALL...

How do I configure/make/install against an older version of a library?

I'm trying to install a piece of software (moddims) that depends on "Imagemagick 6.3.9+" - I tried installing the latest version of ImageMagick (6.5.4-5) but got the following error when I tried to "make" moddims: mod_dims_ops.c: In function ‘dims_smart_crop_operation’: mod_dims_ops.c:34: error: too few arguments to function ‘ParseGravi...

Compiling ImageMagick as 64bit under OS X?

I'm trying to install moddims on OS X (see previous question), an Apache module with a dependency on ImageMagick. As far as I can tell, the OS X Apache is compiled as 64 bit. My previous attempt to run the moddims module I had compiled gave the following error: httpd: Syntax error on line 117 of /private/etc/apache2/httpd.conf: Canno...

Errors linking libresolv when building PHP 5.2.10 from source on OS X

To begin with, I would normally opt to use a pre-compiled binary of PHP, but am required to build from source for a specific business need. (I'm not the type that compiles open-source apps just for kicks.) I'm building on OS X 10.6 and am running into the following error when I try to make PHP 5.2.10 as an Apache module (--with-apxs2): ...

Why do I get a "Metafile not found" error when trying to compile a WPF application?

I had to rebuild a project in my application. I created a new project, created each file, and copied the contents of each file into the new project one at a time making all the necessary changes. Now when I try to compile the project, it gives me three errors: The metafile c:\projects\project1\CustomerModule\bin\Debug\CustomerModule....

VB.NET 3.5; compiler complaining about nullable types (as in Double?) with "error BC30037: Character is not valid."

So, Visual studio just started throwing "error BC30037: Character is not valid." at me (while validating a web site) whenever I use the nullable operator anywhere within one of my VB.NET 3.5 projects. This happened to a colleague some months ago but he doesn't remember how he fixed (I seem to remember it fixing itself eventually). If ...

compiling c++ into "real" programs

hey, I know how to use g++ and all that to compile c++ programs. My question is, if I have some code which depends on various libraries, how can I compile it into a simple executable that I can send anyone. For this I would be happy with just keeping it on os x. I would like to know how to compile a "real" program not just an executable...

What are the available tools to compile .NET projects to standalone native binaries?

What tools do you know to compile .NET projects to native binaries that run without .NET Framework, so far I've found : Xenocode Postbuild for .NET, which costs $1599. Salamander .NET Linker, which costs $1249. Mono Ahead-of-Time compilation (AOT), free. Thanks to JaredPar and Reed Copsey Native Image Generator (Ngen.exe), free, does...

How to use "make" to use 64 bit libs because of ELFCLASS64 error

How can I use configure and make tools to specify to use 64 bit libraries ? I thought it was automatic, but I get wrong ELF Class I'm trying to compile xdebug for ubuntu 64 for use with lampp (xampp for linux) ./lampp start Failed loading /opt/lampp/lib/php/extensions/xdebug.so: /opt/lampp/lib/php/extensions/xdebug.so: wrong ELF c...

Building Mono's class libraries on Windows

Hi, Can anyone provide a step by step instruction on how to build the Mono class library (namely System.dll and mscorlib.dll) on windows? I can already build the core libmono/mono stuff using msvc. I've already looked at the following (none of them work...) http://ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html http://www.codep...

Compile and optimize for different target architectures

Summary: I want to take advantage of compiler optimizations and processor instruction sets, but still have a portable application (running on different processors). Normally I could indeed compile 5 times and let the user choose the right one to run. My question is: how can I can automate this, so that the processor is detected at runt...

Pthread library causes program to Seg Fault at Exit

I am Cross Compiling PARSEC Benchmarks in Alpha, and several of the benchmarks seg fault when the program exits. I have narrowed the issue down to the Pthreads Library as I went ahead and ran a non-pthreads version and there was no seg fault. The programs get the correct results despite the seg fault, but this issue is unacceptable. Som...