compile

How to ignore .java files when compiling using maven?

I have .java files in my source directory that don't compile yet due to some API change. I would like to fix sources one by one and it would be useful to ignore some of them to run tests. ...

How to compile a C++ program in Xcode 3.2.3?

I want to know how I can compile a C++ program with Xcode 3.2.3? In the previous version of Xcode, there was a C++ tool available for command line utility. However, after I upgraded to the latest version of Xcode 3.2.3, these options are gone. ...

The project cannot be built until the build path errors are resolved.

while compiling android project in eclipse 3.4.2 , am getting The project cannot be built until the build path errors are resolved. i got a temporary solution from the blog http://www.scottdstrader.com/blog/ether_archives/000921.html The resolution was to force a resave of the selected projects (and their .classpath files): Open th...

How to compile standalone scala

Just starting to learn scala.. I can't seem to figure out how to compile something into a standalone application. I think I almost have a working .jar file, but keep getting a Main-Class error even though it's in the manifest, ...

Why this c++ template code can't be compiled?

This is a code sample copied from chapter 17 as bellow. When I compile it with Visual Studio 2008, it keeps this error: warning C4346: 'HashMap::mapped_type' : dependent name is not a type 1> prefix with 'typename' to indicate a type Does anyone has any idea about this? Thanks in advance! #include <vector> #include <map> using...

new to C++, confused about separating code [answered]

Hi, I am new to C++, and I'm having trouble segmenting my code. Here is my setup: A main.cpp that calls function that takes 2 int and 1 char* and returns int A function.h that contains, among other things, a function prototpye int function(int a, int b, char* c); A function.cpp that contains the actual function definition. I have...

Whats the dSYM and how to use it? (iOS SDK)

Sometimes compiler produces .dSYM files. I guess this is debugging related file, but I don't know what it is, and how to use it. What's that? and How to use it? ...

Compile error in jasper report

This is the error i got while compiling the jrxml file  Compiling to file... /home/moshe/NetBeansProjects/Billing/src/billing/report2.jasper Compilation running time: 299!  Filling report...  Locale: English (India)  Time zone: Default Error filling print... Error executing SQL statement for : report2 net.sf.jasperreports.engine.JR...

compile python script in linux

So I have a python script that relies on a couple modules. Specifically pexpect and pyinoitify. I know you can compile a python script into a .exe in windows, but is there something relatively equivalent in linux? I don't care about it being a binary, I'd just like to be able to distribute my script without requiring the separate install...

Compiling PHP 5.3.3 on mac os snow leopard. Issue with iconv linking

Hi, I'm trying to recompile PHP 5.3.3 on mac os snow leopard with iconv and getting the following error: Undefined symbols: "_libiconv_open", referenced from: _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_substr in iconv.o __php_iconv_substr in iconv.o __php_iconv_strpos in iconv...

Compiled Code::Blocks from source: Templates missing

Hi, I just compiled the latest Code::Blocks 10.05, but the template select screen is empty, what did I do wrong? When installing from repo, I can see the templates and start a new project. It seems most parts are missing, even though I configured with --with-contrib-plugins=all. What did I do wrong? ...

C# newline constant error upon trying to compile

For some reason, when I'm trying to compile my .cs file into a .dll using the Visual Studio Command Prompt, I get a new line constant error upon trying to compile for some reason. It's not liking the semicolon after + feet". Any idea why? Here is my code: /* A simple C# class! */ public class Tree { public int height = 0; p...

Compile 32 bit from Win7 64 bit

Hi guys, I would know if is possible compile a java desktop application in 32bit application from Windows 7 64bit using Netbeans. Thx you for HELP. ...

Compiling extension for PostgreSQL with Mingw for Windows

Hi!\ I am trying to do a C function for PostgreSQL in Windows using MingW to compile. I did the function compile so fine and link but when I add the function to PostgreSQL my server goes down and I dont know why. I use this to compile and link my code C:\mingw\bin\gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith ...

Compile Error in VBA code in MS Access

I have the following function in access, which was working fairly well. But now suddenly i am starting to get a compile error : Method or data member not found Function Serialize(qryname As String, keyname As String, keyvalue) As Long Dim dbs As Database Dim rs As Recordset Set dbs = CurrentDb On Error GoTo Err_Serialize Set rs = dbs.O...

java.util.EmptyStackException and org.apache.jasper.JspC

I try to manually compile JSPs using org.apache.jasper.JspC from my application. After setting the JSP and invoking execute() to compile it, I get an java.util.EmptyStackException without any further notice. Does anyone know what it means in the given context? ...

Translate makefile to produce static libxxx.a instead of dynamic libxxx.dylib

I am compiling a library (http://www.antisphere.com/Wiki/tools:anttweakbar) but issuing "make" with its included makefile on my mac produces a dynamic library (.dylib). I would much rather have a static library so that I can deploy it with my app. Is it easy/possible to translate the flags in the makefile to produce a static library? It...

Trouble Compiling wxWidgets for Code::Blocks

I am attempting to compile wxWidgets 2.8.11 on Windows 7 x64 for use with Code::Blocks, and I keep running into the same error. I have MinGW installed as stated, and the proper things added to the path (c:\mingw\bin and c:\mingw\mingw32\bin). I followed the instructions given here: http://wiki.codeblocks.org/index.php?title=Compiling_w...

How to compile from gVim on Windows with GCC from Cygwin and then run the program?

I've been working at this all morning and I still can't find a way to easily bind a key to compile my program from the Windows version of gVim using the Cygwin GCC, and then run it. I'm kind of a novice to Bash scripting, and I haven't been able to make it create the .exe in the home directory (C:/cygwin/home) and then run it. What I h...

Mac server in order to compile obj-c projects?

Is it possible to write an obj-C code with any text editor and then upload it to Mac server to compile it using Xcode?? I know that it is possible to compile your project using Xcode without open it something like use some command lines, but I am not sure is it possible to make it a server and then upload any obj-c code! ...