CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Posts
    23

    compiling in visual studio

    Right basic question - I downloaded these source files, however there is no visual studio project file (sln) - how do I compile these in visual studio?

    http://img146.imageshack.us/img146/5796/sourceu.jpg

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: compiling in visual studio

    Open Visual Studio command prompt in this directory and execute command:
    nmake /f Makefile

    You can create makefile Visual Studio project and add all source files to it.

  3. #3
    Join Date
    Sep 2005
    Location
    New Delhi, India
    Posts
    332

    Re: compiling in visual studio

    Not sure whether you can compile this on Visual Studio or not by just seeing the names of files.
    Source might be for some unix /linux flavour which you might need to modify for it to work on Windows.
    Also, you can peek into Makefile and README to find more information.
    Appreciate others by rating good posts

    "Only buy something that you'd be perfectly happy to hold if the market shut down for 10 years." - Warren Buffett

  4. #4
    Join Date
    Sep 2005
    Location
    New Delhi, India
    Posts
    332

    Re: compiling in visual studio

    Quote Originally Posted by Alex F View Post
    Open Visual Studio command prompt in this directory and execute command:
    nmake /f Makefile

    You can create makefile Visual Studio project and add all source files to it.
    I think directly nmake will also work.
    Appreciate others by rating good posts

    "Only buy something that you'd be perfectly happy to hold if the market shut down for 10 years." - Warren Buffett

  5. #5
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: compiling in visual studio

    I would say that this is most likely intended to be compiled under linux since run.sh is present so you could download and install cygwin or install linux in a virtual machine.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  6. #6
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: compiling in visual studio

    Assuming VS can compile them, I'd make a new project and add them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured