I have followed the instructions on the SkWash website for building a SWIG example. I performed part I and compiles quantlib creating a DLL in the debug directory. I did parts II and III and created the cppwrapper and javawrapper projects. I created the SkWash project as specified in Part IV.
Following Part IV instructions, I tried to build project but the build feature in the project menu of eclipse is grayed out, not accessible. If I create a quantlib.cxx source file in the cppwrapper, I can do project->build but get errors as follows
make -k clean all
rm -rf quantLib.o quantLib.d QuantlibCPPWrapper.dll
Building file: ../quantLib.cxx
gcc -IC:/dwork/eclipse/workspace/QuantlibCPPWrapper -IC:\DWork\eclipse\workspace\Quantlib -IC:\Boost\include\boost-1_33 -IC:\Java\jdk1.5.0_02\include -IC:\Java\jdk1.5.0_02\include\win32 -O0 -g3 -Wall -c -fmessage-length=0 -oquantLib.o
../quantLib.cxx
Finished building: ../quantLib.cxx
Building target: QuantlibCPPWrapper.dll
gcc -L"C:\DWork\eclipse\workspace\Quantlib\Debug\" -Wl,--add-stdcall-alias -shared -o QuantlibCPPWrapper.dll quantLib.o -lQuantlib
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [QuantlibCPPWrapper.dll] Error 2
make: Target `all' not remade because of errors.
Build complete for project QuantlibCPPWrapper
This error is the same if I use gcc or g++. The .cxx source file is empty.
Anyone have any suggestions?
Also, how can I change/edit the SkWash project's properties that are the .cxx cppwrapper file name and the java wrapper location. The web site said Project->properties->INFO but this property window does not have these option setting on it, nor does any of the other property window
selections. They are not int the .project file either.
Thank you for your help.
Joe
A man is not the center of his universe, rather
those he loves are. So his focus should always be on them
for they will provide him with love and happiness all of his life - Anonymous
<a href="http://us.rd.yahoo.com/evt=38381/ ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html ">Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.