Compiling C++

Soldato
Joined
12 Jan 2004
Posts
3,172
Location
Brighton
I was curious, I am getting a compile error for a project that I didn't program, but have been assured works. It is the same proble, no matter what I play around with, so I was wondering if anyone has had this issue before, whether they had some pointers at least to things I could consider.

For reference :

I am attempting to compile the source code of OpenSG from OpenSG.org

1) cygwin build environment
2) cl.net2003 compiler (basically the c++ compiler from .net2003)

The precise error I am getting from every single file, is : "Unexpected error EOF when trying to find '"'. Whilst I don't expect anyone to fix this for me, what I was wondering, if anyone has had issues to do with setup affecting compilation producing this error, what the issue was, and how it was resolved, so that I have some pointers.

I know for a fact, that these 400 odd c++ files are not all missing a '"'... it must be a system setup issue... your help is greatly appreciated :)
 
how are you building? from withon cygwin or from windows via cl.net2003?

I'd try again using gcc from within cygwin or gcc from dos if I were you. I'd doubt it'll build with the compiler from .net

the trying to find . error probably means that the build script / makefiles are all set up to use a *nix type enviroment.

HT

edit: from the home page
Windows is getting a lot simpler now. You need either Visual Studio 7 (.NET) or Visual Studio 6 with the Intel compiler (when using 5, make sure to have the latest version 5.01). Workspaces for the library are in the VSBuild directory, for the tutorials they are part of the binary releases

so you need to get the intel compiler by the sounds of it
 
Last edited:
Could it possibly some sort of dos/unix mismatch in terms of end-of line commands?

Try doing a dos2unix converion on the first file in the build tree and see if that works - if it does, then you can do it for the rest....
 
Back
Top Bottom