Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "GTK Selector 1.1-Win"
(→Building) |
(→Building) |
||
Line 83: | Line 83: | ||
The main MS Visual C++ project file is '''identityselector.sln'''. You should be able to open this in MS Visual C++ and run a build. | The main MS Visual C++ project file is '''identityselector.sln'''. You should be able to open this in MS Visual C++ and run a build. | ||
+ | |||
+ | If during the build you get the error "You appear to be building against the wrong version of OpenSSL", you need to do the following: | ||
+ | # In your OpenSSL installation (e.g. in '''C:\OpenSSL'''), open the file '''include\openssl\opensslconf.h'''. | ||
+ | # Change all occurences of the string '''OPENSSL_SYSNAME_WIN64A''' to '''OPENSSL_SYSNAME_WIN32'''. | ||
+ | # Re-run the build | ||
After the build succeeds, in order to run the main executable '''bin\identityselector.exe''', you need to manually assemble a directory structure as follows: | After the build succeeds, in order to run the main executable '''bin\identityselector.exe''', you need to manually assemble a directory structure as follows: |
Revision as of 09:38, 30 July 2009
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Contents
Introduction
Native code I-Card Selector for Firefox and IE (also callable by local apps). This is the updated 1.1 version of the Higgins 1.0 GTK and Cocoa Selector 1.0.
End-User Perspective
Try it
Deployer Perspective
Configuration
Developer Perspective
Architecture
Components, Packages & Services
Components:
- Components 1.1#Higgins_Browser_Extension (HBX)
- Components 1.1#HSS_Manager
- Components 1.1#HSS_Launcher
- Components 1.1#Higgins_Selector_Switch (HSS)
- Components 1.1#Selector_UI (GTK variant)
Packages:
Services:
Building
The required project is:
- app/org.eclipse.higgins.selector.ui.gtk
This project can be checked out from the Eclipse repository at the following SVN URI:
https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/app/org.eclipse.higgins.selector.ui.gtk |
You can check it out from the Eclipse repository using a MS Visual C++ plugin like http://ankhsvn.open.collab.net/, or by using an external SVN tool such as http://tortoisesvn.tigris.org/.
To avoid problems, you should check it out into a directory that does not contain any spaces, e.g. C:\Higgins\org.eclipse.higgins.selector.ui.gtk.
These instructions are for building the solution with MS Visual C++ 2008 Express Edition.
You need the following software:
- cmake - http://www.cmake.org/
- Microsoft Visual C++ 2008 Redistributable Package - http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en
- OpenSSL (Full version, not Light version) - http://www.slproweb.com/products/Win32OpenSSL.html
- Glade2+GTK - http://gladewin32.sourceforge.net/
To avoid problems, you should install the above software in their default locations (e.g. C:\OpenSSL and C:\Gtk).
You need to add the path to cmake.exe to your PATH environment variable.
The project is designed to be built with cmake, and in order to be able to import it into MS Visual C++, the necessary project files have to be created using the special scripts configure_vs.bat and setupvc.bat, which are included with the org.eclipse.higgins.selector.ui.gtk project. You may have to edit both scripts and adjust local paths before you can run them. Also, you have to change the line
cmake -G "Visual Studio 8 2005" ../..
... to ...
cmake -G "Visual Studio 9 2008" ../..
... depending on which version of MS Visual C++ you are using.
After these steps, you can run the configure_vs.bat script. This will create MS Visual C++ project files in the path build\vc relative to the org.eclipse.higgins.selector.ui.gtk project.
The main MS Visual C++ project file is identityselector.sln. You should be able to open this in MS Visual C++ and run a build.
If during the build you get the error "You appear to be building against the wrong version of OpenSSL", you need to do the following:
- In your OpenSSL installation (e.g. in C:\OpenSSL), open the file include\openssl\opensslconf.h.
- Change all occurences of the string OPENSSL_SYSNAME_WIN64A to OPENSSL_SYSNAME_WIN32.
- Re-run the build
After the build succeeds, in order to run the main executable bin\identityselector.exe, you need to manually assemble a directory structure as follows:
- YOUR_DEPLOYMENT_DIRECTORY\: all files and sub-directories from build\vc\build\share\identityselector
- YOUR_DEPLOYMENT_DIRECTORY\bin\: identityselector.exe and *.dll from build\vc\build\bin\Debug
- YOUR_DEPLOYMENT_DIRECTORY\bin\: libssl32.dll, libeay32.dll and ssleay32.dll from your OpenSSL installation
- YOUR_DEPLOYMENT_DIRECTORY\bin\: msvcm90d.dll, msvcp90d.dll, msvcr90d.dll and Microsoft.VC90.DebugCRT.manifest from your MS Visual C++ installation