Results 1 to 4 of 4
  1. #1
    nattsurf123's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    PHP5 Visual Studio. WTF php5nts_debug.lib ???

    I got this error when I tried to compile:
    Error 58 fatal error LNK1104: cannot open file 'php5nts_debug.lib' php5 php5
    So as usual I did a search on Google. WTF no hits about this file. I did a search on Yahoo and got about 9 hits. None of them in an article or help. They where all in the older Visual Studio .dsp file. It is like they put it there just to make it harder to compile PHP5 on windows.

    There is just no information of what the file does and why it is in linker input additional dependencies. My approach is just to remove it and go from there.

    Has anyone any information about the file and why it is there.
    I would be really happy to know about it.

    Grateful for your comment.

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy

  3. #3
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    You need to set php5nts_debug.lib as a dependency is VS. Assuming you already have the directory for the file you can either do that #pragma thing... you guys know what Im talking about ;l... or just go in your project properties > Configuration > Linker > Additional Dependencies > and add that file name.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  4. #4
    nattsurf123's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    You mean:
    #pragma comment(lib, "php5nts_debug.lib")?


    The funny thing with php5nts_debug.lib is that I don't have the file in the php source.
    I have both php source 5.2.13 and 5.3.2 and it doesn't exist.
    I even did a find all files with the string php5nts_debug.lib (inlcluding binary files). And yes I know about the built in finder in Windows bug so I use another program Super Finder XT which works better and is faster. There is no documentation of the file anywhere in google and of course my computer.

    I would bet that php5 developers doesn't have a strict guide line of keeping the source clean from debug tests and I would bet that this file doesn't really belong there.
    What do you think?

Similar Threads

  1. wtf Just-In-Time debugger Visual studio
    By yoda23456 in forum Call of Duty Modern Warfare Help
    Replies: 4
    Last Post: 01-01-2011, 10:17 AM
  2. Problem compiling php5 in visual studio
    By nattsurf123 in forum C++/C Programming
    Replies: 3
    Last Post: 03-18-2010, 11:28 AM
  3. Would Visual Studio 2008 work for making trainers?
    By laserdude45 in forum C++/C Programming
    Replies: 5
    Last Post: 02-05-2008, 07:37 PM
  4. Visual Studio 2008 Beta 2 Standard Edition
    By nukeist_ in forum C++/C Programming
    Replies: 3
    Last Post: 11-21-2007, 02:18 PM
  5. Visual Studio
    By jaqq3000 in forum Visual Basic Programming
    Replies: 2
    Last Post: 10-26-2007, 07:22 PM