Skip to main content
FluidEarth Portal Header version 3

FluidEarth Portal

Go Search
  
FluidEarth Portal > FluidEarth Discussions > DLL missing when I try to copy Fluid Earth example  

FluidEarth Discussions

Modify settings and columns
Discussions board for FluidEarth Users
  
View: 
Post
Started: 14/12/2011 15:44
Attachment
Picture Placeholder: ERowe
ERowe
DLL missing when I try to copy Fluid Earth example

Hi Gordon / Adrian

 

I was inspired at the recent Model Fusion meeting to have another go with the Fluid Earth templates and Pipistrelle, so I’ve gone through the videos to set up the TestProject example.

 

When I tried running the TestProject configuration in Pipistrelle, it wasn’t able to find the TestProjectEngine.dll file (see attached log). The solution built without errors, but indeed I can’t find a TestProjectEngine.dll file anywhere either. I’m sure I’ve done something wrong, but rather than start again from scratch I thought I’d see if you have any tips.

 

I couldn’t do everything exactly as instructed, perhaps because my Visual Studio setup is different from the one in the video – my VS configuration is described below. The discrepancies looked minor, apart from:

a)      the code in the embedded.cs that I downloaded is different to the code visible in the video.

b)      When I R-click the TestProject C# project, the Application and Build options are different (see screenshots attached). In particular I wasn’t able to set Build – Configuration – All configurations.

c)       For my TestProject.omi and TestProject.xml files, I set the Build Action to “Embedded resource” by accident, and then was not able to set the Build Action back to <blank> so this is set to “None”.

 

Do you think it might be one of these differences that’s the problem? Or can you suggest a step that I might have missed? I tried to log all the actions in the from the videos in the attached Word file.

 

many thanks

Ed

Posted: 11/01/2012 15:35
Picture Placeholder: PCleverley
PCleverley
Hi Ed, Thanks for the detailed info. I'll be looking into this as soon as possible.  If you get a chance to try again from scratch it might be worth doing but in the meantime I'll be trying to duplicate the problem.
 
Paul
Posted: 12/01/2012 09:16
Picture Placeholder: PCleverley
PCleverley
Hi Ed - can you tell me which version of VS FORTRAN you are using?
 
Thanks
Paul

Posted: 05/03/2012 10:16
Picture Placeholder: ERowe
ERowe
Hi Paul
 
Thanks for looking at this, and sorry for taking so long to reply - Gordon said he'd email when he had had the chance to look at it, and then I let the weeks flow past without logging into the portal. Anyway - the end of the project looms, and I need to crack on with this! I'll try again from scratch, but to answer your question:
 
Intel(R) Visual Fortran Compiler Integration for Microsoft Visual Studio* 2008, 11.0.3453.2008
 
Microsoft Visual Studio 2008 9.0.21022.8 RTM, with hotfixes up to KB973674
 
Microsoft .NET Framework Version 3.5 SP1.
 
cheers
Ed
Posted: 06/03/2012 09:27
Picture Placeholder: PCleverley
PCleverley
Hi Ed
 
thanks for the info!  I'll get on to this as soon as I can.  We're currently spending a lot of time on getting version 2.0 completed.  The beta versions I believe are available on SourceForge including the Pipistrelle tools - it might be worth having a look at that in the meantime?
 
Paul

Posted: 06/03/2012 10:32
Attachment
Picture Placeholder: PCleverley
PCleverley

a)      the code in the embedded.cs that I downloaded is different to the code visible in the video.

 

PDC> What is the difference? I've attached what I think it should look like.

 

b)      When I R-click the TestProject C# project, the Application and Build options are different (see screenshots attached). In particular I wasn’t able to set Build – Configuration – All configurations.

 

PDC>I'm not sure why you don't see configuration options but they look ok as they are.

 

c)       For my TestProject.omi and TestProject.xml files, I set the Build Action to “Embedded resource” by accident, and then was not able to set the Build Action back to <blank> so this is set to “None”.

 

PDC>This really should be set to "copy always" - if the app can't find the omi data in the right place then it won't be able to find the component.

 

Do you think it might be one of these differences that’s the problem? Or can you suggest a step that I might have missed? I tried to log all the actions in the from the videos in the attached Word file.

 

PDC>Have a look at the second Change Namespace video.  I've just gone through the whole sequence from scratch with VS 2010 and FORTRAN and it all went swimmingly - except I got a "Error 1  fatal error LNK1104: cannot open file 'kernel32.lib' LINK " right at the end which I think is related to my FORTRAN installation ... I'm working on getting a configuration identical to yours.

 

many thanks

Ed