Jump to content

Importing source files into Microsoft visual studio 2008???

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
david.dda

david.dda

    Newbie

  • Members
  • Pip
  • 9 posts
Hi, I am pretty new to programming. I would like to download an open source project and build it in my Microsoft Visual Studio 2008. In fact, I tried to import and build the application “Winscp”: sourceforge.net/projects/winscp/
But I didn’t work. Please can somebody help me and tell me which files do I have to download (from sourceforge) and how to import these into Microsoft Visual Studio in order to build the application. Thank you a lot. David

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
What error messages did you get? What files did you download?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
david.dda

david.dda

    Newbie

  • Members
  • Pip
  • 9 posts
I downloaded the winscp423source.zip file. Afterwards I unzipped this file and tried open this project in Visual 2008. But I get always some error message about included files <#include....> etc. Maybe I didnt import the project right? Do you know how to do it correctly? If I have to do some manual changes in the project before?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Did you read the readme file?
This is the README file for source code package of WinSCP.

To build full version of WinSCP you need Borland C++ Builder 6 Professional.
You can build version without FTP support with Borland C++ Builder 6 Personal.
To build 64-bit version of drag&drop shell extension, you need
Windows Platform SDK.

To build WinSCP from source by yourself, type 'make' in root
folder of source code package (directory where 'makefile' file resides).

To build version with FTP support, you need nasm from http://www.nasm.us/
To build version without FTP support, use 'make -DNO_FILEZILLA'.

To build also 64-bit version of drag&drop, use 'make -DWITH_DRAGEXT64'.
However before you need to set some environment variables.
Refer to makefile.dragext64.

Directory structure:
/            project files of all native libraries and executables
/components  native WinSCP visual components
/console     console interface
/core        core (non-visual) part of WinSCP (SSH, SFTP, FTP and SCP code)
/dragext     drag&drop shell extension
/filezilla   source code of FileZilla FTP client
/forms       visual part of WinSCP (dialogs and windows)
/lib         this is where linked libraries are stored during build
/openssl     source code of subset of OpenSSL for SSL/TLS support for FTP
/packages    general visual components (both mine and 3rd party)
/putty       source code of Putty SSH client
/release     Inno Setup script to create setup package (see /release/readme)
/resource    resources strings
/windows     other sources

WinSCP homepage is http://winscp.net/

See the file 'licence' for the licence conditions.

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
david.dda

david.dda

    Newbie

  • Members
  • Pip
  • 9 posts
please do you know some small open source application in C++ (plugin or smth smaller) that I could import and build in Microsoft Visual 2008?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You could look around in DD Thought Tickler | Get DD Thought Tickler at SourceForge.net and try it. Again, since I don't use Visual C++ as my compiler, it's not an issue I focus on. I also can't say how "small" that project will be.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog