compiling with visual studio

2011-07-01 Thread Kraus Philipp
Hello, I'm new with cygwin and hope my question is not off topic. I try to port a C++ framwork to Windows. The framework uses Atlas and LAPack, libxml (with libiconv and zlib) and GiNaC with CLN. Some libs like zlib can I build with the Visual Studio nmake command, but other can be build with c

python crashs on scons running

2011-07-07 Thread Kraus Philipp
Hello, I would like to use Scons for building some C++ programs. I have installed python with the installer and I have installed scons with python setup.py install (I have downloaded the file from the scons website). If I run now my scons script, I get the errors: 6976514 [main] python 3456 C:\o

exception under g++

2011-07-16 Thread Kraus Philipp
Hello, I'm using Cygwin for compiling my C++ sources under Windows. My code is throwing an exception (I know the exception and the position within the code), but under the binary that is compiled under Cygwin I get the message: terminate called after throwing an instance of [...] terminate calle

Re: exception under g++

2011-07-16 Thread Kraus Philipp
Hi Dima, thanks for your answer. Am 16.07.2011 um 15:02 schrieb Dima Pasechnik: > you ought to post steps to reproduce the problem, if there is one. > By the way, can you check that you link against libgcc using -shared-libgcc? > > You can also try to figure out whether is this not a purely g++

JNI with g++

2011-11-05 Thread Kraus Philipp
Hello, I try to build under Cygwin a JNI shared library. I must use Cygwin because Atlas & LAPack can be compiled only under Cygwin without the -mno-cygwin flag. So my library code will be compiled. I link to other Cygwin compiled libraries (*.dll) and some static libs. If I run my Java example

gcj exception compiling

2011-11-05 Thread Kraus Philipp
Hello, I try to build a Java class with the gcj under Cygwin. I get this error message: Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.inter nal.compiler.batch.GCCMain at gnu.java.lang.MainThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.e

linker error libcygwin

2011-11-10 Thread Kraus Philipp
Hello, I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboost_exception -lcygboost_filesystem -llapack -lcblas -lf77blas -latlas -lgfortran -lhdf5_cpp -lhdf5