bignsyd / gqe

Automatically exported from code.google.com/p/gqe
MIT License
0 stars 0 forks source link

Can't compile Example on Linux #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Seting BUILD_EXAMPLES to TRUE
And build with:
mkdir build 
cd build
cmake -G "Unix Makefiles" ..
make

What is the expected output? What do you see instead?
There are many Errors when linking. I think there are the imports of some 
sfml-librarys missing. I have pasted the error mesages to pastbin.com. I hope 
that's ok.

Error Messages: http://pastebin.com/SK3Mki1x

What version of the product are you using? On what operating system?
I'm using the zip package of gqe v0.5, Ubuntu 10.10 and G++ 4.4.5.

Please provide any additional information below.

Original issue reported on code.google.com by zigar...@gmail.com on 5 Apr 2011 at 9:25

GoogleCodeExporter commented 9 years ago
I think this is a problem with CMake rather than GQE unless it's a problem with 
the build scripts themselves.  It looks like it can't find your SFML install or 
your GQE core install.

Original comment by samueldc...@gmail.com on 11 Apr 2011 at 5:44

GoogleCodeExporter commented 9 years ago
I have installed SFML and GQE to /usr/local/include and /usr/local/lib. I think 
i have only the shared libraries of SFML. Maybe that's the problem?

Original comment by zigar...@gmail.com on 12 Apr 2011 at 8:13

GoogleCodeExporter commented 9 years ago
It's looking for a static install of GQE indicated by the -s at the end of the 
filename.  If you're building with .so files, it wouldn't be looking for that.  
I haven't gotten the static build to work on my Mac, personally.  Try building 
with shared libraries instead of static and some of your problems will go away.

Another thing to check for is a debug install of SFML.  The filename for the 
debug build of SFML has a -d in the filename as well as the -s if it is a 
static build.

I hope this helps you.

Original comment by samueldc...@gmail.com on 12 Apr 2011 at 5:50

GoogleCodeExporter commented 9 years ago
I have experienced this same issue with NetBeans IDE, I am reworking the CMake 
scripts to try to fix some of these issues.  I hope to have an update by the 
end of the month (April 2011) if not sooner.

Original comment by RyanLind...@gmail.com on 14 Apr 2011 at 4:03

GoogleCodeExporter commented 9 years ago

Original comment by RyanLind...@gmail.com on 14 Apr 2011 at 4:04

GoogleCodeExporter commented 9 years ago
I have just updated the GQE library to version 0.6, please see if this helps 
with the SFML link issue under Linux.  My new harddrive will arrive later this 
coming week and I will hopefully have Linux installed on my Desktop computer 
within a week or two after that so I can better test these issues.  I just 
can't get Linux to work correctly on my laptop.

Original comment by RyanLind...@gmail.com on 22 May 2011 at 2:01

GoogleCodeExporter commented 9 years ago
Ok, I have tried building it again under Linux (Ubuntu 10.10). I've seen that 
now doxygen is needed and installed it from the package-repository. But 
building stops now with this error messages:

[  7%] Building CXX object 
src/GQE/Core/CMakeFiles/gqe-core.dir/assets/ConfigAsset.cpp.o
In file included from 
/home/zigarrre/Downloads/gqe/include/GQE/Core/assets/ConfigAsset.hpp:16,
                 from /home/zigarrre/Downloads/gqe/src/GQE/Core/assets/ConfigAsset.cpp:14:
/home/zigarrre/Downloads/gqe/include/GQE/Core/classes/ConfigReader.hpp:134: 
error: ‘typeNameValue’ was not declared in this scope
/home/zigarrre/Downloads/gqe/include/GQE/Core/classes/ConfigReader.hpp:134: 
error: template argument 2 is invalid
/home/zigarrre/Downloads/gqe/include/GQE/Core/classes/ConfigReader.hpp:134: 
error: template argument 4 is invalid
make[2]: *** [src/GQE/Core/CMakeFiles/gqe-core.dir/assets/ConfigAsset.cpp.o] 
Fehler 1
make[1]: *** [src/GQE/Core/CMakeFiles/gqe-core.dir/all] Fehler 2
make: *** [all] Errors 2

I can't find the reason for this errors but i think it's a problem with a 
include or you have forgotten something. If you have found the solution or need 
more informations, feel free to contact me.

Original comment by zigar...@gmail.com on 23 May 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Thank you for the quick reply and test.  I have added the missing typeNameValue 
and typeNameValueIter back into the Core_types.hpp file and posted the 
GQE_v0.6.1.zip file under downloads.  Please let me know if you have any 
further issues compiling under linux.

Original comment by RyanLind...@gmail.com on 23 May 2011 at 12:12

GoogleCodeExporter commented 9 years ago
No problem. I've tested it again and now it builds fine.

Original comment by zigar...@gmail.com on 23 May 2011 at 5:44