Last visit was: It is currently Thu Mar 28, 2024 10:08 am


All times are UTC-05:00




Post new topic Reply to topic  [22 posts ] 
Author Message
 Post subject:Issues with CrissCross
PostPosted:Tue Jun 03, 2008 8:48 pm 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Okay, I added the include directories, and tried building the GenPrime example. However, in the header file universal_includes.h, it tries including a build_number.h, which does not exist. I am using 0.7.0, should I fallback to 6?

EDIT: Okay, sshed into my linux server and got crisscross on there. I built it and what do you know, there's build_number.h. I have absolutely no clue on how to get it working on my Windows box, using CodeBlocks. (If needed, I have DevCpp ready, and can always install VS.)

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Tue Jun 03, 2008 10:16 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
You have to build the CrissCross project first. That's why there's a solution file there; it builds dependencies.

Building the CrissCross project runs GenerateBuildNumber.exe which creates build_number.h (on Linux, it runs the same program but recompiled for the platform you're on).

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Wed Jun 04, 2008 2:16 pm 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
I figured so. I am doing fine with writing programs on my server for now.
Any examples for using sockets? :)

I've already looked at the doxygen documentation.

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Wed Jun 04, 2008 2:47 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
I haven't made any examples for those, no. The best examples I've got for it are closed source, unfortunately (ARC++ uses CrissCross networking).

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Wed Jun 04, 2008 3:00 pm 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Darn. Do I have to create a TCPSocket object and point to it like:
socket->Listen();? I tried mimicking what I did with WriteLine but it did not seem to work.

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Thu Jun 05, 2008 1:33 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Yes, you need to specify what port to listen on though.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sat Jun 07, 2008 11:46 pm 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Just tried building on VS2005, here's the errors for CrissCross, the other projects complain about not getting build_number.h.
Code:
------ Build started: Project: CrissCross, Configuration: Debug Win32 ------ Generating build number... The system cannot execute the specified program. Project : error PRJ0019: A tool returned an error code from "Generating build number..." Creating browse information file... Microsoft Browse Information Maintenance Utility Version 8.00.50727 Copyright (C) Microsoft Corporation. All rights reserved. BSCMAKE: error BK1506 : cannot open file '..\obj\crisscross_vs2005.vcproj\win32\debug\console.sbr': No such file or directory Build log was saved at "file://C:\Documents and Settings\ERing\My Documents\Dev\CrissCross-0.7.0\obj\CrissCross_vs2005.vcproj\Win32\Debug\BuildLog.htm" CrissCross - 2 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sun Jun 08, 2008 12:36 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Looks like GenerateBuildNumber.exe is not marked executable or is not executable on your system because of some runtime dependency. You can recompile it using the project tools/Build/GenerateBuildNumber_vs2005.vcproj.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sun Jun 08, 2008 12:43 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
I just checked the SVN revision logs. Looks like it was after the v0.7.0 release where I started statically linking GenerateBuildNumber.exe to prevent this issue.

I'm going to release v0.7.1 shortly, where a number of flaws are fixed.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sun Jun 08, 2008 9:01 am 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Cool beans, does this include the issue where SortBenchmark can't copy dataset?
Code:
1>------ Build started: Project: SortBenchmark, Configuration: Debug Win32 ------ 1>Copying dataset to the target directory 1>The system cannot find the file specified. 1>Project : error PRJ0019: A tool returned an error code from "Copying dataset to the target directory" 1>Build log was saved at "file://E:\Documents and Settings\Eddie\My Documents\Dev\CrissCross-0.7.0\obj\SortBenchmark_vs2005.vcproj\Win32\Debug\BuildLog.htm" 1>SortBenchmark - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sun Jun 08, 2008 12:07 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
I just downloaded the v0.7.0 release and wasn't able to reproduce that issue.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Sun Jun 08, 2008 1:17 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
CrissCross v0.7.1 has just been made publicly available.

You can get it here.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Mon Jun 09, 2008 2:46 pm 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Compiles fine, thanks.

EDIT:

Hold on, get these linker error's when trying to compile EmptyProject. Does the CrissCross Project have to be included in the solution?
Code:
1>------ Build started: Project: EmptyProject, Configuration: Debug Win32 ------ 1>Compiling... 1>header.cpp 1>Compiling... 1>main.cpp 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall CrissCross::IO::Console::Console(bool,bool)" (??0Console@IO@CrissCross@@QAE@_N0@Z) referenced in function "int __cdecl RunApplication(int,char * *)" (?RunApplication@@YAHHPAPAD@Z) 1>LIBCMTD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup 1>E:\Documents and Settings\Eddie\My Documents\Dev\CrissCross-0.7.1\examples\EmptyProject\/bin/EmptyProject_vs2008.vcproj/Win32/Debug\EmptyProject.exe : fatal error LNK1120: 2 unresolved externals 1>Build log was saved at "file://E:\Documents and Settings\Eddie\My Documents\Dev\CrissCross-0.7.1\examples\EmptyProject\obj\EmptyProject_vs2008.vcproj\Win32\Debug\BuildLog.htm" 1>EmptyProject - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Tue Jun 10, 2008 12:52 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Quote:
Does the CrissCross Project have to be included in the solution?
That's the whole reason I provided a solution file there.

You see, there are two ways to make it link:
1) Project dependency when part of a solution (this is what CrissCross uses because it's very manageable).
2) Add it manually to the linker options.

I recommend option 1 because it's simpler and you don't have to worry about where the library compiled to.

_________________
- Tycho

Image


Top
Offline  
 Post subject:Re: Issues with CrissCross
PostPosted:Tue Jun 10, 2008 5:36 am 
User avatar
 

Joined:Sun Feb 12, 2006 8:56 pm
Posts:1019
Website:http://eddieringle.com
Location:Detroit, MI
Yeah, I added the CrissCross project to the solution and configured dependencies. All is good. :)

_________________
-- Eddie Ringle

Check out Elysian Shadows and consider backing us on Kickstarter!

====================================

Image


Top
Offline  
Display posts from previous: Sort by 
Post new topic Reply to topic

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova