Yake - Community Forum
September 10, 2010, 08:55:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the YAKE Project Forums, the place for getting help, providing help and enjoying friendly discussions related to YAKE products.
 
   Home   Help Search Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: help with vc9  (Read 5748 times)
Tomen
Yake Community Support
Jr. Member
*****
Posts: 94


View Profile WWW
« Reply #15 on: May 06, 2009, 03:11:34 PM »

I have to report the same problems.

I just set up a new image of Windows XP at my work place.

Microsoft Visual Studio 2008
Version 9.9.30729.1 SP
( .NET Framework 3.5 SP1 )

I download Yake 0.8 and dependencies

Selected BuildSamples.cmd ( mitakingly )
then Build.cmd

Then opened VS und made a Full build.
Then i tried to build again.

========== Build: 0 succeeded, 19 failed, 22 up-to-date, 0 skipped ==========

This is my error list



Fix for EntryT

I follow Vimes solution for EntryT and add a default constructor to
struct YAKE_MODEL_API Physical : public ModelComponent
struct YAKE_MODEL_API Graphical : public ModelComponent

and a default constructor for EntrySharedT in
struct YAKE_MODEL_API Physical : public ModelComponent

However, this worked not out correctly! The EntryT and EntrySharedT constructors in the physical modelcomponent are ambigous. I therefore removed them.

The only change i made to Yake 0.8 was to add the default constructor for EntryT to struct YAKE_MODEL_API Graphical : public ModelComponent

Fix for Manifest
just add a dummy.cpp to property and net2.

Conclusion
After you fix this things, everything compiles fine

I tried the samples and all except the following worked:

sampleAudio1_d.exe
Code:
starting...
reg 'fmod'
attempt create default sig='class yake::SharedPtr<class yake::audio::IAudioSyste
m> __cdecl(void)'
Caught YAKE Exception:
YAKE EXCEPTION
FILE: u:\sourcen\yake 0.8\src\plugins\audiofmod\audiofmod.cpp
LINE: 40
SOURCE:
REASON: FMOD error: (23) %sFile not found.

samplePropertyLua1_d.exe
Code:
U:\Sourcen\yake 0.8\samples\bin\debug>samplePropertyLua1_d.exe
reg 'lua'
reg 'graphics/dotScene'
reg 'graphics/empty'
reg 'model/dotLink'
reg 'yake.movable'
reg 'yake.movable_world'
reg 'physics/dotXODE'
reg 'physics/empty'
reg 'ogre3d'
reg 'math'
reg 'base'
reg 'ent'
reg 'graphics'
reg 'input'
reg 'model'
reg 'physics'
reg 'property'
reg 'raf'
reg 'res'
reg 'task'
create yake.NamedPropertyContainer
create property 'visible' of implicit type 'bool'
acquire property object 'visible'
  type = bool
read & modify property
  value of 'visible' = true
[][scriptingLua][224] [error] No matching overload found, candidates:
bool set(PropertyBase&,custom [class boost::any] const&)
Exception: YAKE EXCEPTION
SOURCE:
REASON: LuaVM: error: No matching overload found, candidates:
bool set(PropertyBase&,custom [class boost::any] const&)


U:\Sourcen\yake 0.8\samples\bin\debug>

sampleUi1_d.exe

Code:
U:\Sourcen\yake 0.8\samples\bin\debug>sampleUi1_d.exe
reg 'lua'
reg 'graphics/dotScene'
reg 'graphics/empty'
reg 'model/dotLink'
reg 'yake.movable'
reg 'yake.movable_world'
reg 'physics/dotXODE'
reg 'physics/empty'
reg 'ogre3d'
reg 'math'
reg 'base'
reg 'ent'
reg 'graphics'
reg 'input'
reg 'model'
reg 'physics'
reg 'property'
reg 'raf'
reg 'res'
reg 'task'
reg 'yake.ogre'
reg 'yake.lua'
reg 'yake.ogreois'
reg 'yake.2d'
EXCEPTION: YAKE EXCEPTION
SOURCE:
REASON: Could not find configuration file: sampleUI1.cfg

Waiting for key press...

sampleVehicle_d.exe

Just crashes after startup
« Last Edit: May 07, 2009, 09:50:24 AM by Tomen » Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #16 on: May 18, 2009, 09:13:04 PM »

I've just noted something... do you guys use Service Pack 1 for Visual Studio 2008?

I develop on 64-Bit Vista Prof. and therefore have SP1 installed by default.
Logged
MikeB
Newbie
*
Posts: 2


View Profile
« Reply #17 on: May 19, 2009, 07:22:21 PM »

Hi there.

I've also been having this problem trying to build Yake. More specifically, the build fails in "net2" and "property" with these error messages:

1>Embedding manifest...
1>..\..\common\obj\net2\Debug\yake_net2_d.dll.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.

2>Embedding manifest...
2>..\..\common\obj\property\Debug\yake_property_d.dll.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.

I'm using the source and dependencies on the main site and followed the instructions in the build file. I'm using VS2008 with .NET 3.5 and Vista SP1. Thanks for looking at this,

Mike

Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #18 on: May 20, 2009, 02:55:40 PM »

net2 and property cannot be built. They are template libraries which do not generate any .lib or .dll files.

I'll modify the build scripts (for 0.9) so that these errors are not generated any more.

Ticket: https://apps.sourceforge.net/trac/yake/ticket/3
Logged
MikeB
Newbie
*
Posts: 2


View Profile
« Reply #19 on: May 22, 2009, 04:02:17 AM »

oh ok. Looks like everything works fine except for those samples Tomen posted, which isn't a big deal. Thanks for your help
Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #20 on: May 22, 2009, 01:14:09 PM »

It's now on my todo for the next two releases (-> roadmap) to cleanup and improve the build system to avoid issues like this in the next release. Sorry for the inconvenience.
Logged
pbelev
Newbie
*
Posts: 1


View Profile
« Reply #21 on: May 28, 2009, 12:03:16 AM »

Hi guys,
I am in some kind of a nasty situation here.

I managed to build everything, both DEBUG and Release.
Made a separate solution and project (for my application), changed the folder and include structures as I needed them, even recompiled with my separate config files, resources, dll locations, etc.
All runs perfect, configuration loading, logging to separate logs, Graphics initialization, resource loading, 3D display (both OpenGL and Direct3D).
I even added network support and I'm able to login in my MMO server (Java coded, non-blocking, etc).

And I came to the point where I need to build configuration and login GUI and (surprisingly) mouse pointer and dialogue focus handlers.

I bumped into an unbreakable wall (because my C++ knowledge and especially lua-biding is quite limited, let alone my Ogre knowledge).

I cannot run the sampleUi1 because of the missing sampleUI1.cfg file. Thus I got no bloody idea how to set dialogues, fonts and mouse cursor.
After checking thoroughly the build files I noticed that sampleGuiConsole is commented.

I'm digging atm through the build scripts to see why the sampleUI1.cfg is not created, while in the meantime rebuilding all the samples with sampleGuiConsole un-commented.

Please help me out.
Any info is highly appreciated, like links to info sites where I can learn this, or hints and stuff.

Thanks in advance.

D

P.S
I'll edit this post if I find out how to get the bloody cfg file
« Last Edit: May 28, 2009, 12:08:04 AM by pbelev » Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #22 on: June 15, 2009, 08:39:38 PM »

Did you think about using Qt in the graphics view?
(-> See this thread for a screenshot of what it can look like: http://www.yake.org/forum/index.php/topic,1018.msg8388.html#msg8388 )


The cfg is missing. Sorry for that. (-> #4)
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.081 seconds with 20 queries.