Jump to content

Loki1950

Community Members
  • Posts

    1.322
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Loki1950

  1. Ok managed to build wxWidgets from the wxPack that myconid pointed me to there is a Windows bat file that will build the libs with VC6 to VC10 with the following options


    vc100 ALL

    just run it twice copy the include and lib folders to the C:\Users\Public\Documents\sandbox\0AD\libraries\wxwidgets folder run the update-workspaces batch file( what I forgot to do) this will then let you build Atlas without errors.Still have a few more errors in my build log but I will start a new thread for them.

    edit:could some one add a solved tag to the thread tile for those that follow.

    Enjoy the Choice :)

  2. Usually there are two packages for every library the library itself and a separate package that has the headers necessary to compile an app that uses that library they are usually suffixed with dev (as in development) so do you have both sdl and sdl-dev installed through your distro's package manager also IIRC there are several SDL libs so a function that you need may not be in the package you have installed.

    I have SDL installed but, I'm referencing a copy of them in my home directory.

    It is not recommended that you that as it will just confuse gcc as it looks in the standard locations first and a later reference muddies the water ;)

    Enjoy the Choice :)

  3. I used the prebuilt libs and copied the include and lib folders into the libraries\wxwidgets folder of my local SVN repo and yes wxUSE_GLCANVAS is set to 1 in C:\Users\Public\Documents\sandbox\0AD\libraries\wxwidgets\include\wx\msw\setup.h just reverted my repo so I can use the new build for now.

    Enjoy the Choice :)

  4. I forget where the file that lists all the errors is.....

    From the readme logs folder of the local SVN repo


    The game only writes files here if you specified -writableRoot on the command line.
    Otherwise, the logs can be found in %appdata%\0ad\logs on Windows and
    $XDG_CONFIG_HOME/0ad/logs on Unix systems ($XDG_CONFIG_HOME defaults to ~/.config)

    Enjoy the Choice :)

  5. Been trying to get a clean build with VSE2010 but two sub-projects fail one I am sure is due to wxWidgets which maybe due to this little note I found in wxWidget's setup.h


    // Setting wxUSE_GLCANVAS to 1 enables OpenGL support. You need to have OpenGL
    // headers and libraries to be able to compile the library with wxUSE_GLCANVAS
    // set to 1. Note that for some compilers (notably Microsoft Visual C++) you
    // will need to manually add opengl32.lib and glu32.lib to the list of
    // libraries linked with your program if you use OpenGL

    both libs are in the MS SDK at C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib how do I get VS express to see them more used to the *nix tool chain so at a bit a loss.I am attaching the build log so that the cognstii may find what else I've missed.

    Enjoy the Choice :)

    VCE100buildlog.txt

×
×
  • Create New...