CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: realchamp

Page 1 of 9 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    There are no such library, atleast not for Linux. :)
  2. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Thanks for reply. I was not given a specific line where the error is from. But I will go check the documentation for a debug compiler, thanks!

    Okay I've installed the g++ Debug. (apt-get install...
  3. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Thanks alot! I linked the mysqlcppconn-static to the project too(on Debian, still).



    # g++ hw.cpp -o hw -lmysqlcppconn-static -lmysqlcppconn
    /usr/bin/ld: warning: libstdc++.so.5, needed by...
  4. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Okay some updates.

    I can now compile it and it compiles, but:


    g++ hw.cpp -o ./hw -lmysqlcppconn
    /usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/lib/libmysqlcppconn.so, may...
  5. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Correct I noticed Debian isn't on that list, but in most cases it will run either way. Ubuntu and Debian can run together, from my experience. :)

    I will try that, thanks! :)
  6. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Linux attempt on Debian 5.0.



    g++ hw.cpp -Llibmysqlcppconn.so.1.0.5 -o hw
    /tmp/ccOXABZ5.o: In function `main':
    hw.cpp:(.text+0x5e): undefined reference to...
  7. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    I will go try compiling it on Linux. Thanks :)
  8. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Thanks for your reply. That just cleared up alot for me.

    Should it work if I compiled it on Linux?
  9. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    I think it's installed here: C:\Program Files (x86)\MySQL\Connector ODBC 5.1
    Or here: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\lib\opt

    The opt folder contains the mysqlcppconn.lib


    ...
  10. Re: Console exits before I get a chance to see the output

    You can "pause" the screen with this, just before the return point.



    std::cin.get();


    Then you're allowed to see it all and when you press a key it will shut down. :)
  11. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    Thanks for your reply.

    Unfortunately it still dont work.

    This is were it wants the mysqlcppconn.lib in:


    c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/
  12. Replies
    24
    Views
    13,880

    Re: MySQL Connector C++ "linker" error.

    I did a link to mysqlcppconn.lib which were located insite the Connector C++ package, but nothing really happened. :(

    -l mysqlcppconn.lib
  13. Replies
    24
    Views
    13,880

    MySQL Connector C++ "linker" error.

    Hello guys. Been working this for some time now, but I'm getting more and more confused.

    When I use the MingW compiler on Windows, to compile my program:


    #include <iostream>

    #include...
  14. Replies
    2
    Views
    986

    Re: Javascript ignores my html sets.

    Thanks it works perfectly :)
  15. Replies
    2
    Views
    986

    Javascript ignores my html sets.

    Derp.
  16. Replies
    1
    Views
    1,000

    Re: Socket TCP C++ problem

    bump.
  17. Replies
    1
    Views
    1,000

    Socket TCP C++ problem

    Derp.
  18. Replies
    3
    Views
    1,120

    Re: check version of my script

    Never mind. I changed abit and eventually it worked :)


    define('REMOTE_VERSION', 'http://domain.com/version.txt');

    // this is the version of the deployed script
    $current_version = "1.0.0";...
  19. Replies
    3
    Views
    1,120

    check version of my script

    Derp.
  20. Replies
    10
    Views
    2,583

    Re: auto increment problem.

    I've found another solution, else thanks.
  21. Replies
    10
    Views
    2,583

    Re: auto increment problem.

    I am using MySQL.
  22. Replies
    10
    Views
    2,583

    auto increment problem.

    Hello. I have a SQL code like this:



    CREATE TABLE IF NOT EXISTS `test`(
    `id` int(10) NOT NULL AUTO_INCREMENT,
    `test2` varchar(15) NOT NULL,
    `test3` varchar(15)...
  23. Re: rows, tables, mysql, servers etc.

    Nvm. I fixed it by playing around with it. :D
  24. [RESOLVED] rows, tables, mysql, servers etc.

    Greetings!

    I've this code.



    <?php
    include("config.php");
    include("query_class.php");
    $sql = "SELECT * FROM server";
  25. Replies
    12
    Views
    1,284

    Re: game queries.

    I own them. The problem is that I'd like to control them through my web browser.

    There is like HLSW, but requires me to install the program ALL the time, pissing me off!
Results 1 to 25 of 205
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured