compile

IronPython -> .exe Executable & distribute with all DLLs HELP

Been trying to compile this IronPython program into a working .exe for the past 3-4 hours with no luck. I'm using the pyc.py that came with "IronPython 2.6 for .NET 4.0" D:\IronTestCompile>ipy pyc.py file1.py file2.py /out:Program /main:program.py /target:exe The program compiles out to Program.dll & Program.exe but the Program.exe ca...

compiling c , c# code under windows for arm9 (AT91SAM9RL64)

Hi fellas, i read much tutorials for cross-compiling c code for arm chips. When i try it with codesourcery lite´s: gcc-none-eabi under windows (no cygwin) arm-none-eabi-gcc -c -nostartfiles -nostdlib -o main main.c arm-none-eabi-ld -Ttext=0x8000 -o main.elf main arm-none-eabi-objcopy -O binary main.elf main.bin won´t start on the bo...

C shared library question

Background: I'm trying to develop a simple game similar to Zelda (NES) in C as a way to learn C. I've come to the conclusion that having all of the game data in a single file is not ideal. So what I'd like to do is break up each "area" into it's own module. This "area" module will describe to the main program its properties, such as ...

Compiled LinQ query with with expressions in functions

I would like to create a compiled query which uses reusable where predicates. An example to make this clear: ObjectContext.Employees.Where(EmployeePredicates.CustomerPredicate) EmployeePredicates is a static class with a property CustomerPredicate that looks like this: public static Expression<Func<Employee, bool>> CustomerPredicate ...

Java application doesn't display output

Here's my updated code: package car1; public class Main { public static void main(String[] args) { class HondaCivic implements car1 { int speed = 0; int rpm = 0; int gear = 1; public void speedUp(int Increment) { speed = speed + Increment;} public void applyBrakes(int Decrement) { speed = speed - Decrement;} public void ...

MySQL++ Warning

c:\program files\microsoft visual studio 9.0\vc\include\result.h(212) : warning C4275: non dll-interface class 'std::_Container_base_aux' used as base for dll-interface class 'std::_Container_base_aux_alloc_real<_Alloc>' 1> with 1> [ 1> _Alloc=std::allocator<mysqlpp::Row> 1> ] 1> C:\Program Files\Mi...

compile c++ project on ubuntu

hi all, i'm writing my c++ project and in visual studio everything goes good but when i'm compiling it on ubuntu many things get wrong. example: int main (int argsNum, char* args[]){ Country* country = new Country("USA"); Military* military = new Military("Army",country); Shalishut* shalishut = new Shalishut(military); ...

Compiling Matlab shared library with image processing toolbox

Hi all, I'm trying to compile c shared library from matlab. my matlab code uses a lot of the image processing functionality. So, compiling goes fine, but when i call the dll from my application, i get messages like, "Undefined function or method 'XYZ' for input arguments of type double". I have verified my arguments are ok -- it's not...

How to compile a program for distribution on Mac.

I am developing a program on OSX 10.6.4 (Snow Leopard), and I want to be able to run the compiled product on other Intel Macs, some of whom may not have XCode isntalled. To simplify things, I first wrote a Hello World program. #include<stdio.h> int main() { printf("Hello world!\n"); return 0; } If I compile it as gcc -static...

Compiling libcaldav for iPhone

Has anyone successfully been able to compile libcaldav for the iPhone along with all its dependencies? Is anyone willing to share their experiences? ...

MS Access 2003/2007 - Compiling 2003 version mdb on desktop with 2007 Office installed; will not retain 2003 mde?

So I have an access mdb file that was originally create using Access 2003/Office 2003. Since I have recieved a new image at work that has 2007 Office installed. The file extension of the access database is still mdb., and the convert was done to 2002-2003 Access database previously. Here is my question: I have users that still need to a...

Compilation error: `Class' does not name a type

Hi, I have a pretty simple class called simulator in simulator.h #include <iostream.h> #include <stdlib.h> Class Simulator { private: short int startFloor; short int destFloor; public: void setFloors(); void getFloors(short int &, short int &); }; Now when I compile it, I get this error: ...

GNU tool to analyze and reduce compile time for my application

Hi All, I am using SUSE10 (64 bit)/AIX (5.1) and HP I64 (11.3) to compile my application. Just to give some background, my application has around 200KLOC (2Lacs) lines of code (without templates). It is purely C++ code. From measurements, I see that compile time ranges from 45 minutes(SUSE) to around 75 minutes(AIX). Question 1 : Is t...

Copying files during compilation process

I use builder for my buildprocess. I have some java classes in my src directory as well as some *.qvto files. These files just need to be copied to target/classes. However, this should be done as part of the compilation process, as these files represent some part of code that does not need to be compiled. Currently, I am stuck and do n...

Installing C++ Boost library on Windows without Visual Studio

I would like to install Boost library without the need of Visual Studio compiler, preferably by downloading the pre-compiled binaries. We are working on a cross-platform C++ project in Eclipse, so VS is out of option. About a year ago, I found an installer, but it does not longer exists. The best match I have found so far is from: http:...

How to compile rhino/javascript files to .class bytecode for java at runtime

I'm making a falling sand game in Java. I want users to be able to write their own engine for it using a simpler language. Falling sand games can be very CPU intensive so I want to have the engine running as fast as possible while not having to manually compile. I need to know how to compile rhino javascript files to .class files by at ...

ANT - javac compile failure due to cannot find symbol

I'm trying to compile ActionFactory.java file which imports one of my package, RegisterAction.java Here is the file structure: /com/masatosan/actions/register/RegisterAction.java /com/masatosan/redirector/ActionFactory.java According to the ANT output, I think ANT cannot find RegisterAction.java which is imported in ActionFactory.jav...

Images in iPhone app appear in Simulatpor, but not when compiled to device.

I am learning iPhone development, and have built a simple app that has an image that changes to another image when you tap it. If i build it to the simulator, it works fine, but if i build it to the device the images dont appear. i feel like they aren't being copied across. I have checked they have been named correctly and i have made s...

Compiling OpenCV

Hi, I opened up the solution file in the [InstallDir]\_make\opencv.vs2005 and modified one of the .cpp files in the highgui library. While compiling, Visual Studio throws the error - Unable to start progam C:/Users/../AppData/Local/Temp/opencv.build/cv_Debug.Win32/cv.dll The system cannot find the file specified. I thin...

RMI - run client code on Eclipse throws MarshalException while execute from console works fine.

I've wrote simple RMI code to learn how it works. While everything works fine compiling java code, rmic it and run rmiregistry and run client code from console works fine, but when I choose to "run as Java application" on the client code from Eclipse, it throws MarshallException. My guess is somewhat Eclipse is compiling with different ...