Click here to donate to keep PhreeqcUsers open
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forum Home
Login
Register
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
iPhreeqc.dll and ClickOnce
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: iPhreeqc.dll and ClickOnce (Read 3606 times)
Jicé
Guest
iPhreeqc.dll and ClickOnce
«
on:
October 19, 2015, 08:41:38 AM »
Hi,
I'm trying to include iPhreeqc.dll into a Microsoft ClickOnce application.
Unfortunatelly I'm facing an issue, as my application target platform is set to "AnyCPU", whereas iPhreeqc.dll target platform appears to be "x86".
I saw in Phreeqc homepage a link for downloading iPhreeqc 3.3.2 for anyCPU (ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/iphreeqc-3.3.2-10335.zip), but all I got is a C project without any any available dll.
Is there a way to get an iPhreeqc.dll "x64" or, even better for "AnyCPU"?
Thanks in advance,
Logged
dlparkhurst
Top Contributor
Posts: 3585
Re: iPhreeqc.dll and ClickOnce
«
Reply #1 on:
October 19, 2015, 10:54:28 PM »
If you have CMake and Visual Studio, you can compile the "any" version to make a 32- or 64-bit DLL. CMake is free and can be downloaded and installed. The README file in the "any" distribution gives directions for compiling libraries. On the first CMake screen, you can choose to generate a solution for your version of Visual Studio and either 32 or 64 bit, for example "Visual Studio 14 2015 Win64".
Within the main CMake screen, you will want to use the BUILD_SHARED_LIBS option in CMake, and the IPHREEQC_STATIC_RUNTIME option. (BUILD_CLR_LIBS is needed for charts, but you might need some other libraries).
Logged
Jicé
Guest
Re: iPhreeqc.dll and ClickOnce
«
Reply #2 on:
October 21, 2015, 01:42:17 PM »
Thanks for the tips!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
PhreeqcUsers Discussion Forum
»
Beginners
»
Installation questions
»
iPhreeqc.dll and ClickOnce