How to run from the source

Discussion in 'Development General' started by coyotte508, Nov 10, 2010.

Thread Status:
Not open for further replies.
  1. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    uh-uh

    Add "CONFIG+=po_all" to your project's qmake step, then do Ctrl+B. Then right click on the teambuilder or the server, "Run".
     
  2. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    The server, or the app? Are you using visual C++, or mingw?
     
  3. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    anyhow, try compiling it in release mode. Change your project configuration to release mode, readd the qmake variable, and try.
     
  4. coyotte508

    coyotte508 Well-Known Member Administrator Server Owner Administrator Server Owner

    Joined:
    Apr 21, 2010
    Messages:
    6,363
    Likes Received:
    168
    Just download the latest zip paste over the po-*.dll and the .exes. Then use a setup-maker on that folder (like InnoSetup)
     
  5. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
    Every time I try building the server now, I get " pokemon-online\src\Server\scriptengine.h:492: error: invalid use of incomplete type 'struct _PROCESS_INFORMATION' "
    I can comment that part out and build fine, but that's obviously not an optimal solution :v
     
  6. TheUnknownOne

    TheUnknownOne Member

    Joined:
    Mar 28, 2011
    Messages:
    988
    Likes Received:
    3
    You can try doing
    Code (text):
    1.  
    2. #ifdef Q_OS_WIN
    3. #include <winbase.h>
    4. #endif
    5.  
    in the header file.

    If that doesn't work you could also try including windows.h before winbase.h
     
  7. roloc

    roloc New Member

    Joined:
    Jul 11, 2013
    Messages:
    19
    Likes Received:
    0
    Using QT 5.1.1, I keep getting this when I go to build Utilities, PokemonInfo, Server:

    Could not find .pro file for sub dir '../../lib/pillow' in 'C:/Users/Roloc/Desktop/POv2/pokemon-online/src/libraries/../../lib/pillow'


    [​IMG]
    [​IMG]
     
  8. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
    You can completely ignore that message and still build fine (I get it myself, probably something left over from something else).
    Anything that stops you from building, will be under the "Issues" button. So if it's not building, check there.
     
  9. roloc

    roloc New Member

    Joined:
    Jul 11, 2013
    Messages:
    19
    Likes Received:
    0
    I still can't build though. Utilities and PokemonInfo aren't there, only server is there. I've downloaded the source 3 different times now using git bash and for some reason each time Utilities and PokemonInfo aren't there when I go to build them. (See pic in previous post)
     
  10. Crystal Moogle

    Crystal Moogle Ayaya~ Administrator Administrator

    Joined:
    Jul 19, 2010
    Messages:
    3,205
    Likes Received:
    531
    PO Trainer Name:
    Hanako
  11. roloc

    roloc New Member

    Joined:
    Jul 11, 2013
    Messages:
    19
    Likes Received:
    0
    Awesome, thanks
     
Thread Status:
Not open for further replies.