Hi,
some quick answers right now... I'll try to make time this evening to have a closer look.
1. Sorry, but to make sure: Project > Build Project is grayed out when Project > Build automatically" is set. Are you sure that's not the reason why the Build Project is grayed out.
2. I you create a quantlib.cxx file without contents then the error message is expected.
3. You can change the skwash project settings from Project > Properties. You should see a skwash label.
hope this helps.
kind regards,
Johan
-----Original Message-----
From: Joe Byers [mailto:[hidden email]] Sent: Monday, February 20, 2006 06:22 PM To: [hidden email] Subject: [Quantlib-users] Compiling SkWash example Eclipse 3.1 WinXP Java 1.5 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 -oquant Lib.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 win dow 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
|
Johan,
Thank you for your time. I am in the CST in Tulsa OK so your evening is my day:) Replies to 1. Yes when I select project->build automatically the select is greyed out. In my case, I do not have this selected and the Project->build project is still greyed out. 2. That is what I tought just was not sure. 3. I do now see and SkWash label in my properties selection. thank you Joe Johan Witters <[hidden email]> wrote:
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
Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. |
In reply to this post by johan-35
Hi Joe,
verify if:
- your skwash project includes the swig interface files (comparable with http://users.telenet.be/johan.witters/website/skwash.com/get/get3lpart4.html)?
- the general parameters are exactly as described at http://users.telenet.be/johan.witters/website/skwash.com/get/get3dpart4.html
If that's ok, just modify the file quantlib.i (press a space bar somewhere and undo the modification). Then save the file. This will tell Eclipse that the project is dirty and it should be rebuild. Automatic rebuild should automatically occur. If auto-rebuild is disabled (which I would recommend), you should be able to rebuild the skwash project. Anyhow, you should trigger the build process of the skwash project: send me the output of the build process of the skwash project (as you did previously of the C project).
kind regards,
Johan
-----Original Message----- |
Johan,
I reinstalled the skwash files and was able to build the skwash project. I appreciate your assistance in this matter. You comments help me think about looking at the installation and then reinstalling skwash. Have a great day. Joe Johan Witters <[hidden email]> wrote:
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
Yahoo! Mail Use Photomail to share photos without annoying attachments. |
In reply to this post by johan-35
-----Original Message----- |
Free forum by Nabble | Edit this page |