Author Topic: Visual Studio 2008 GAE Compiling error physfs.h  (Read 3304 times)

RealtimeFreak

  • Guest
Visual Studio 2008 GAE Compiling error physfs.h
« on: 12 March 2010, 23:33:55 »
Hello,

i have a problem with GAE Compiling.

sample:
Code: [Select]
1>checksum.cpp
1>h:\new\glest\source\shared_lib\include\pch.h(112) : fatal error C1083: File (Include) can't not open : "physfs.h": No such file or directory

now, iam searched the file over eigt hours  :'(

now i found a site:

http://icculus.org/physfs/downloads/ but,
the files are Down.

what can i do?

edit: here the complete Error Message Code: http://www.easy-share.com/1909528808/ErrorMessage.txt

edit2: i have found the files from other page:

H:\new\Glest\source\shared_lib\include\physfs : FileOps.hpp, FSFactory.hpp, ifile_stream.hpp, ifile_streambuf.hpp,
ofile_stream.hpp, ofile_streambuf.hpp, PhysFileOps.hpp, StdFileOps.hpp, added files: physfs_internal.h, physfs_platforms.h , physfs_unicode.c , physfs.c physfs.h ,physfs_byteorder.c , physfs_casefolding.h

H:\new\Glest\source\shared_lib\sources\physfs: FileOps.hpp, FSFactory.hpp, ifile_stream.hpp, ifile_streambuf.hpp
ofile_stream.hpp, ofile_streambuf.hpp, PhysFileOps.hpp , StdFileOps.hpp

its that right so?
« Last Edit: 13 March 2010, 04:42:06 by RealtimeFreak »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #1 on: 13 March 2010, 01:05:01 »
Hello,

i assume you checked out svn trunk. PhysicsFS is a dependency there. The site you found is the right one but it seems to be down.... It's not included in the deps package. So you need to add it to the deps folder yourself (when the download is not down...) or wait till one of us updates the deps package.

Better use some pastebin like pastie.org instead of a file hoster for posting logs.

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #2 on: 13 March 2010, 01:07:49 »
You don't need to download it, it's in the shared lib, the project files in trunk probably aren't in the best of states (haven't been looked at in a while), for whatever configuration you are trying to build, add 'include/physfs' to the 'additional include directories' [right click 'libglest' in solution explorer, C/C++ section. 'general' tab].  You may need to do the same to 'game' and/or other configurations.

Please refrain from swearing in your posts, this is a family friendly forum.

Edit: my mistake, the stuff in shared lib is just the stuff Yggdrasil is using to route file functions through, it does not have physfs.h in it...
« Last Edit: 13 March 2010, 02:01:42 by silnarm »
Glest Advanced Engine - Code Monkey

Timeline | Downloads

RealtimeFreak

  • Guest
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #3 on: 13 March 2010, 04:33:12 »
thanks for the fastly answear.

i have a new problem

Code: [Select]
3>LINK : fatal error LNK1104: Datei "wxbase28d.lib" can't not open.
2>LINK : fatal error LNK1104: Datei "wxmsw28d_gl.lib" can't not open.

here the complete ErrorLog: http://www.easy-share.com/1909530066/ErrorMessage2.txt

my Wxwidget files are follow located:

my wx libraries located at: H:\new\deps\lib
my wx includes located at: H:\new\deps\include

wxwidgets follow linked:
g3d_viewer:
 ..\..\..\deps\lib
../../build/$(ConfigurationName)/libglest
map_editor:
 ..\..\..\deps\lib
../../build/$(ConfigurationName)/libglest

i used the wx_win_libs.7zip and windoze_deps.7zip files.

general information could have a few questions

my "Glest" binary Folder located at here: H:\new\Glest
my "deps" Folder located at here: H:\new\deps
my "inluded" Folder located at here: H:\new\deps\include
my "lib" Folder located at here: H:\new\deps\lib
my "Source" Folder Located at here: H:\new\Glest\source

its that right so?

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #4 on: 13 March 2010, 06:10:42 »
Ok, that's my fault... I only put release config libs in the wx package, switch to 'Release+SSE2' config and it should work, I'll upload a full set of the wx libs for windows today sometime.

Note: wxWidgets is only needed for the map_editor and g3d_viewer, if you just wanted to compile the game, you have already ;)
If 'start debugging' doesn't work, make sure 'game' is set as the start-up project [right click...]

my "Glest" binary Folder located at here: H:\new\Glest
my "deps" Folder located at here: H:\new\deps
my "inluded" Folder located at here: H:\new\deps\include
my "lib" Folder located at here: H:\new\deps\lib
my "Source" Folder Located at here: H:\new\Glest\source

its that right so?

Yes, that's were the project files are expecting the libs to be, be aware that the working directory does not seem to persist in the project files for some reason, so after you get it built, you'll need to set it [Game props, 'debugging' section], for the setup you describe above, use $(SolutionDir).. [or if you have the whole 'tree' checked out, use $(SolutionDir)../data/game]

Edit: Re: what Yggdrasil said, please use http://pastebin.com/ for logs etc.
« Last Edit: 13 March 2010, 06:13:48 by silnarm »
Glest Advanced Engine - Code Monkey

Timeline | Downloads

RealtimeFreak

  • Guest
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #5 on: 13 March 2010, 15:01:35 »
Quote
Edit: Re: what Yggdrasil said, please use http://pastebin.com/ for logs etc.
ah ok i am understand  ;D

ok i have the "map_Editor" and "d3g_Viewer" hidded from the Project Map.

but the libglest and the game projects starts not.

i have set the setings of Modus:

libglest "Debug"
game "Release+SSE2"

when i set the "libglest" project in the "Gae" Project Map from "Debug" to "Release+SSE2" than crashing the Visual Studio 2008 Express IDE. lnk1000 error :'( "1>LINK : fatal error LNK1000: Internal error during BuildLibrary"
and the Compiler jumps next to "game" project.

ok,whatever crashing, i set the "libglest" Modus again from "Release+SSE2" to Debug and it works better.

what, must i make?

ok, thats my aktually error log: http://pastebin.com/3sKm638a // have translated for you
with settings the Runtimelibrary to : Multithreaded (/MT)

edit aktually2: http://pastebin.com/UPrxLPAR

EDIT: My Visual Studio 2008 Express files, are damaged
it works much better : )

now i have 1 error;
Ok, thats the follow error: when i start the Game.exe in the Build Folder, than say it :    "Physfs.dll not found"

what can i do?
« Last Edit: 13 March 2010, 22:07:35 by RealtimeFreak »

RealtimeFreak

  • Guest
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #6 on: 14 March 2010, 13:53:49 »
hello???

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #7 on: 14 March 2010, 16:28:31 »
now i have 1 error;
Ok, thats the follow error: when i start the Game.exe in the Build Folder, than say it :    "Physfs.dll not found"

what can i do?

It's not really possible to start it from the build folder. Better copy it to data/game and make sure all libraries are also there, look at the bin folder in the deps package + physfs.dll.

RealtimeFreak

  • Guest
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #8 on: 14 March 2010, 17:32:52 »
Quote
Better copy it to data/game and make sure all libraries are also there, look at the bin folder in the deps package + physfs.dll.

omg... i can't not really understand

i can't not find the data/game folder??

my "Glest" binary Folder located at here: H:\new\Glest
my "deps" Folder located at here: H:\new\deps
my "inluded" Folder located at here: H:\new\deps\include
my "lib" Folder located at here: H:\new\deps\lib
my "Source" Folder Located at here: H:\new\Glest\source

can you me please the individual steps show how you mean?


silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #9 on: 15 March 2010, 06:53:08 »
Either,

A) Copy the exe to H:\new\Glest (I assume by Glest binary folder, you mean where glest is installed).

or,

B) Right click 'game' in the solution explorer, select 'debugging' from the tree-view on the left, then enter '$(SolutionDir)..' as the 'Working Directory'

If you only checked out the source directory (which it seems you did, as you have no data/game folder), you will likely be missing some data, extracting the latest 0.2.13-beta zip into the your Glest install directory would be the easiest way around that problem.

For the physfs dll, you may need to build it yourself.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #10 on: 15 March 2010, 21:18:38 »
I updated the deps package. It includes now physfs.

RealtimeFreak

  • Guest
Re: Visual Studio 2008 GAE Compiling error physfs.h
« Reply #11 on: 18 March 2010, 17:23:30 »
yes, thanks to all for help.

i have the newest Source Version from the Branches release.
thats works much better. :)