Wagic nightly builds

Do not post feature requests here, please.
Before posting bugs report check the Image Bug reporting help & guidelines
Forum rules
Do not post Features/Improvments request here (i.e : AI being stupid is not a bug, not being able to do a mulligan is not a bug, etc..etc..)
Before posting, please read the Bugs reporting guideline
Locked
mnguyen
Posts: 229
Joined: Thu Apr 29, 2010 4:13 pm

Re: Wagic SVN builds

Post by mnguyen »

3imer wrote:Any news about iOS build?
sorry for the delay ran into a font issue on retina devices. trying to fix that before making a new build.
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Wagic nightly builds

Post by Tacoghandi »

Whenever I try to compile for PSP using the files from the new site I get an error. Everything seems fine until a try the first make command.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\System32>cd C:\Users\Taco\desktop\wagsource\wagthesourcepsp\jge

C:\Users\Taco\Desktop\WagSource\WagTheSourcePSP\JGE>make clean
echo #Makefile.psp > Makefile.psp
C:/pspsdk/bin/rm -f lib/psp/libjge300.a src/JApp.o src/JGBKFont.o src/JGE.o src
/JGui.o src/JLBFont.o src/JLogger.o src/JGameObject.o src/JSpline.o src/JAnimato
r.o src/JResourceManager.o src/JFileSystem.o src/JNetwork.o src/JParticle.o src/
JParticleEmitter.o src/JParticleEffect.o src/JParticleSystem.o src/zipFS/zfsyste
m.o src/zipFS/ziphdr.o src/zipFS/zstream.o src/JSprite.o src/Vector2D.o src/tiny
xml/tinystr.o src/tinyxml/tinyxml.o src/tinyxml/tinyxmlparser.o src/tinyxml/tiny
xmlerror.o src/Encoding.o src/JTTFont.o src/JMD2Model.o src/JOBJModel.o src/JSoc
ket.o src/JGfx.o src/JSfx.o src/JAudio.o src/JMP3.o src/decoder_prx.o src/main.o
src/vram.o PARAM.SFO EBOOT.PBP

C:\Users\Taco\Desktop\WagSource\WagTheSourcePSP\JGE>make
psp-g++ -Iinclude/psp -Iinclude/psp/freetype2 -I../Boost -Isrc/zipFS -I. -IC:/ps
psdk/psp/sdk/include -W -Wall -Werror -Wno-unused -DDEVHOOK -DPSPFW3XX -O2 -G0
-DPSP -D_PSP_FW_VERSION=371 -c -o src/JApp.o src/JApp.cpp
In file included from src/../include/JGE.h:23,
from src/JApp.cpp:14:
src/../include/JTypes.h:167:1: error: "PIXEL_TYPE" redefined
src/../include/JTypes.h:124:1: error: this is the location of the previous defin
ition
src/../include/JTypes.h:181:1: error: "TEXTURE_FORMAT" redefined
src/../include/JTypes.h:127:1: error: this is the location of the previous defin
ition
make: *** [src/JApp.o] Error 1

C:\Users\Taco\Desktop\WagSource\WagTheSourcePSP\JGE>
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
Djardin
Posts: 129
Joined: Sat Sep 04, 2010 11:40 am

Re: Wagic nightly builds

Post by Djardin »

I've just pushed a fix and while I was at it, I integrated a PSP build check in our continuous integration tools, so it should avoid to break the PSP code on the master branch from now.
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: Wagic nightly builds

Post by KF1 »

How do you change the Tortoise/SVN to point to: https://github.com/WagicProject/wagic for updates ?

My Tortoise/SVN still tries to get updates from here: http://code.google.com/p/wagic/source/list
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Wagic nightly builds

Post by Tacoghandi »

KF1 wrote:How do you change the Tortoise/SVN to point to: https://github.com/WagicProject/wagic for updates ?

My Tortoise/SVN still tries to get updates from here: http://code.google.com/p/wagic/source/list
I just created a new folder and pointed the checkout to https://github.com/WagicProject/wagic/trunk
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Wagic nightly builds

Post by Tacoghandi »

ok that fixed the error with the first make clean command and make worked just fine. On the second one I now get this error
C:\Users\Taco\Desktop\WagSource\WagTheSourcePSP\projects\mtg>make clean
Makefile.psp has been deleted : updating deps.
The system cannot find the path specified.
make: *** [deps/WFont.d] Error 1
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: Wagic nightly builds

Post by KF1 »

Is C++ 2010 causing any compilation errors? I know I read a post somewhere by Zethfox stating to use C++ 2008 instead.

I note that the how to compile mentions both Visual C++ 2008 AND 2010...
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Wagic nightly builds

Post by Tacoghandi »

KF1 wrote:Is C++ 2010 causing any compilation errors? I know I read a post somewhere by Zethfox stating to use C++ 2008 instead.

I note that the how to compile mentions both Visual C++ 2008 AND 2010...
I use 2010 and have not had any compiling errors

I am only having issues with compiling the PSP
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
KF1
Posts: 1952
Joined: Tue Apr 06, 2010 7:04 pm

Re: Wagic nightly builds

Post by KF1 »

Well VC 2010 trial gives me only 10 more days to use it.

I can't find github client on my PC after d/l it.

The NEW github compiling instructions are not as clear to me as the old non-github compiling instructions.

I would love to see an official release for PSP and windows SOON please.
Tacoghandi
Posts: 1197
Joined: Thu Apr 28, 2011 11:34 pm

Re: Wagic nightly builds

Post by Tacoghandi »

Currently getting an error when compiling. I am assuming it is the warning treated as an error on the DeckStats.cpp in the last build. Help would be appreciated.

Code: Select all

1>------ Build started: Project: JGE, Configuration: Release Win32 ------
2>------ Build started: Project: SDL, Configuration: Release Win32 ------
1>  SDL_windows_main.c
2>  SDL_windows.c
2>  SDL_clipboardevents.c
2>  SDL_gesture.c
2>  SDL_touch.c
2>  e_atan2.c
2>  e_log.c
2>  e_pow.c
2>  e_rem_pio2.c
2>  e_sqrt.c
2>  k_cos.c
1>  Encoding.cpp
1>  JAnimator.cpp
2>  k_rem_pio2.c
1>  JApp.cpp
1>  JDistortionMesh.cpp
2>  k_sin.c
1>  JFileSystem.cpp
1>  JGameObject.cpp
2>  s_atan.c
1>  JGBKFont.cpp
1>  JGE.cpp
2>  s_copysign.c
2>  s_cos.c
2>  s_fabs.c
2>  s_floor.c
2>  s_scalbn.c
2>  s_sin.c
2>  SDL_render_d3d.c
2>  Generating Code...
1>  JGfx.cpp
2>  Compiling...
2>  SDL_render_gl.c
2>  SDL_shaders_gl.c
1>  JGui.cpp
1>  JLBFont.cpp
1>  JLogger.cpp
2>  SDL_render.c
1>src\JGE.cpp(203): warning C4305: '=' : truncation from 'double' to 'float'
1>  JMD2Model.cpp
1>c:\users\taco\desktop\wagsource\wagthesourcewindows\jge\dependencies\sdl\include\SDL_config_windows.h(144): warning C4005: 'HAVE_STDDEF_H' : macro redefinition
1>          c:\users\taco\desktop\wagsource\wagthesourcewindows\jge\dependencies\include\jconfig.h(10) : see previous definition of 'HAVE_STDDEF_H'
2>  SDL_yuv_mmx.c
2>  SDL_yuv_sw.c
2>  SDL_blendfillrect.c
2>  SDL_blendline.c
1>  JNetwork.cpp
2>  SDL_blendpoint.c
2>  SDL_drawline.c
2>  SDL_drawpoint.c
1>  JOBJModel.cpp
1>src\JLBFont.cpp(147): warning C4244: '+=' : conversion from 'double' to 'float', possible loss of data
2>  SDL_render_sw.c
1>  JParticle.cpp
1>src\JGui.cpp(178): warning C4244: '=' : conversion from 'float' to 'unsigned int', possible loss of data
2>  SDL.c
1>  JParticleEffect.cpp
1>  JParticleEmitter.cpp
1>  JParticleSystem.cpp
2>  SDL_assert.c
2>  SDL_atomic.c
2>  SDL_spinlock.c
1>  JResourceManager.cpp
2>  SDL_audio.c
2>  SDL_audiocvt.c
2>  SDL_audiodev.c
2>  SDL_audiotypecvt.c
2>  SDL_hints.c
1>  JSfx.cpp
2>  Generating Code...
1>  JSocket.cpp
1>  JSpline.cpp
1>  JSprite.cpp
1>  JTTFont.cpp
1>  SDLmain.cpp
1>c:\users\taco\desktop\wagsource\wagthesourcewindows\jge\include\../Dependencies/include/fmod.h(344): warning C4005: 'FSOUND_FREE' : macro redefinition
1>          src\pc\JSfx.cpp(15) : see previous definition of 'FSOUND_FREE'
1>  tinyxmlparser.cpp
1>  Vector2D.cpp
1>  hgecolor.cpp
1>  hgedistort.cpp
1>  hgefont.cpp
1>  hgeparticle.cpp
1>  hgepmanager.cpp
1>  hgerect.cpp
1>  hgevector.cpp
1>  tinystr.cpp
1>  tinyxml.cpp
1>  tinyxmlerror.cpp
1>  zfsystem.cpp
1>  ziphdr.cpp
1>  zstream.cpp
1>src\zipFS\zfsystem.cpp(508): warning C4244: 'argument' : conversion from 'std::streamoff' to 'size_t', possible loss of data
1>src\zipFS\zstream.cpp(335): warning C4244: '=' : conversion from 'std::streamoff' to 'uInt', possible loss of data
2>  Compiling...
2>  SDL_log.c
2>  SDL_nullframebuffer.c
2>  SDL_blit.c
2>  SDL_blit_0.c
2>  SDL_blit_1.c
2>  SDL_blit_A.c
2>  SDL_blit_auto.c
2>  SDL_blit_copy.c
2>  SDL_blit_N.c
2>  SDL_blit_slow.c
2>  SDL_bmp.c
2>  SDL_compat.c
2>  SDL_cpuinfo.c
2>  SDL_clipboard.c
2>  SDL_shape.c
2>  SDL_dibaudio.c
2>  SDL_diskaudio.c
2>  SDL_dummyaudio.c
2>  SDL_dx5audio.c
2>  SDL_dxjoystick.c
2>  Generating Code...
2>  Compiling...
2>  SDL_error.c
2>  SDL_events.c
1>  JGE.vcxproj -> C:\Users\Taco\Desktop\WagSource\WagTheSourceWindows\JGE\.\lib\Release\JGE.lib
2>  SDL_fatal.c
2>  SDL_fillrect.c
2>  SDL_getenv.c
2>  SDL_haptic.c
2>  SDL_iconv.c
2>  SDL_joystick.c
2>  SDL_keyboard.c
2>  SDL_malloc.c
2>  SDL_mixer.c
2>  SDL_mmjoystick.c
2>  SDL_mouse.c
2>  SDL_nullevents.c
2>  SDL_nullvideo.c
2>  SDL_pixels.c
2>  SDL_power.c
2>  SDL_qsort.c
2>  SDL_quit.c
2>  SDL_rect.c
2>  Generating Code...
2>  Compiling...
2>  SDL_RLEaccel.c
2>  SDL_rwops.c
2>  SDL_stdlib.c
2>  SDL_stretch.c
2>  SDL_string.c
2>  SDL_surface.c
2>  SDL_syshaptic.c
2>  SDL_sysloadso.c
2>  SDL_sysmutex.c
2>  SDL_syspower.c
2>  SDL_syssem.c
2>  SDL_systhread.c
2>  SDL_systimer.c
2>  SDL_thread.c
2>  SDL_timer.c
2>  SDL_video.c
2>  SDL_wave.c
2>  SDL_windowsclipboard.c
2>  SDL_windowsevents.c
2>  SDL_windowsframebuffer.c
2>  Generating Code...
2>  Compiling...
2>  SDL_windowskeyboard.c
2>  SDL_windowsmodes.c
2>  SDL_windowsmouse.c
2>  SDL_windowsopengl.c
2>  SDL_windowsshape.c
2>  SDL_windowsvideo.c
2>  SDL_windowswindow.c
2>  SDL_windowevents.c
2>  Generating Code...
2>     Creating library ..\..\..\lib\SDL.lib and object ..\..\..\lib\SDL.exp
2>  SDL_VS2010.vcxproj -> C:\Users\Taco\Desktop\WagSource\WagTheSourceWindows\JGE\Dependencies\SDL\VisualC\SDL\..\..\..\lib\SDL.dll
2>          1 file(s) copied.
3>------ Build started: Project: mtg, Configuration: Release Win32 ------
3>  PrecompiledHeader.cpp
3>  AbilityParser.cpp
3>  ActionElement.cpp
3>  ActionLayer.cpp
3>  ActionStack.cpp
3>  AIHints.cpp
3>  AIMomirPlayer.cpp
3>  AIPlayer.cpp
3>  AIPlayerBaka.cpp
3>  AIPlayerBakaB.cpp
3>  AIStats.cpp
3>  AllAbilities.cpp
3>  CardDescriptor.cpp
3>  CardDisplay.cpp
3>  CardGui.cpp
3>  CardPrimitive.cpp
3>  CardSelector.cpp
3>  CardSelectorSingleton.cpp
3>  Counters.cpp
3>  Credits.cpp
3>  Damage.cpp
3>  DamagerDamaged.cpp
3>  DeckDataWrapper.cpp
3>  DeckEditorMenu.cpp
3>  DeckManager.cpp
3>  DeckMenu.cpp
3>  DeckMenuItem.cpp
3>  DeckMetaData.cpp
3>  DeckStats.cpp
3>  DuelLayers.cpp
3>  ExtraCost.cpp
3>  GameApp.cpp
3>  GameLauncher.cpp
3>  GameObserver.cpp
3>  GameOptions.cpp
3>  GameState.cpp
3>src\DeckStats.cpp(290): error C2220: warning treated as error - no 'object' file generated
3>src\DeckStats.cpp(290): warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
3>src\DeckStats.cpp(291): warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data
3>  GameStateAwards.cpp
3>  GameStateDeckViewer.cpp
3>  GameStateDuel.cpp
3>  GameStateMenu.cpp
3>  GameStateOptions.cpp
3>  GameStateShop.cpp
3>  GameStateStory.cpp
3>  GameStateTransitions.cpp
3>  GuiAvatars.cpp
3>  GuiBackground.cpp
3>  GuiCardsController.cpp
3>  GuiCombat.cpp
3>  GuiFrame.cpp
3>  GuiHand.cpp
3>  GuiLayers.cpp
3>  GuiMana.cpp
3>  GuiPhaseBar.cpp
3>  GuiPlay.cpp
3>  GuiStatic.cpp
3>  IconButton.cpp
3>  InteractiveButton.cpp
3>  ManaCost.cpp
3>  ManaCostHybrid.cpp
3>  MenuItem.cpp
3>  ModRules.cpp
3>  MTGAbility.cpp
3>  MTGCard.cpp
3>  MTGCardInstance.cpp
3>  MTGDeck.cpp
3>  MTGDefinitions.cpp
3>  MTGGamePhase.cpp
3>  MTGGameZones.cpp
3>  MTGPack.cpp
3>  MTGRules.cpp
3>  Navigator.cpp
3>  NetworkPlayer.cpp
3>  ObjectAnalytics.cpp
3>  OptionItem.cpp
3>  PhaseRing.cpp
3>  Player.cpp
3>  PlayerData.cpp
3>  PlayGuiObject.cpp
3>  PlayGuiObjectController.cpp
3>  PlayRestrictions.cpp
3>  Pos.cpp
3>  PriceList.cpp
3>  ReplacementEffects.cpp
3>  Rules.cpp
3>  SimpleButton.cpp
3>  SimpleMenu.cpp
3>  SimpleMenuItem.cpp
3>  SimplePad.cpp
3>  SimplePopup.cpp
3>  StoryFlow.cpp
3>  StyleManager.cpp
3>  Subtypes.cpp
3>  TargetChooser.cpp
3>  TargetsList.cpp
3>  Tasks.cpp
3>  TestSuiteAI.cpp
3>  TextScroller.cpp
3>  ThisDescriptor.cpp
3>  Token.cpp
3>  Translate.cpp
3>  TranslateKeys.cpp
3>  Trash.cpp
3>  utils.cpp
3>  WCachedResource.cpp
3>  WDataSrc.cpp
3>  WEvent.cpp
3>  WFilter.cpp
3>  WFont.cpp
3>  WGui.cpp
3>  WResourceManager.cpp
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
!!Check out My Created Sets and other Stuff!!

viewtopic.php?f=22&t=3380
Locked