Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - caro1302

Pages: [1]
1
General / Compile Add-on in SFML
« on: November 28, 2009, 04:26:30 am »
Hi,

I'm trying to add an add-on project: http://www.sfml-dev.org/wiki/en/projects/cpgui#cpguicontainer with a SFML project I am creating. I do not have any problem with SFML but I think I just dont understand how to add add-ons.


I am a beginner and I'm not pretty sure where and which informations I am supposed to put for links. I tried to put in Linker/Input with SFML libs

in Release mode: cpGUI.lib
in Debug mode: cpGUI-d.lib

I also put in Options/Project and Solutions/VC++ Directories in Include Files the path to the cpGUI\include folder.

And include "#include <cpGUI.h>" in main file.

I'm not sure where I am supposed to put the cpGUI folder. Is it in the same directory as my solution, is it in the folder where I have my .cpp and .h files or is it somewhere in the SFML-1.5 folder?

I got the following errors in Debug mode that looks like this:
Error 61 error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::String & __thiscall sf::String::operator=(class sf::String const &)" (__imp_??4String@sf@@QAEAAV01@ABV01@@Z) referenced in function "public: virtual void __thiscall cp::cpObject::SetFontSize(unsigned int)" (?SetFontSize@cpObject@cp@@UAEXI@Z) cpGUI-d.lib


There is somebody to help me with this basic problems?
Thanks!

I am using Visual Studio 2008.

Sorry for my english! :)

2
SFML projects / Question
« on: November 28, 2009, 04:19:34 am »
Hi,

I have a question about your project.

I'm trying to use your project with a SFML project I am creating.
I am using Visual Studio 2008.

I am a beginner and I'm not pretty sure where and which informations I am supposed to put for links. I tried to put in Linker/Input with SFML libs

in Release mode: cpGUI.lib
in Debug mode: cpGUI-d.lib

I also put in Options/Project and Solutions/VC++ Directories in Include Files the path to the cpGUI\include folder.

And include "#include <cpGUI.h>" in main file.

I'm not sure where I am supposed to put the cpGUI folder. Is it in the same directory as my solution, is it in the folder where I have my .cpp and .h files or is it somewhere in the SFML-1.5 folder?

I got the following errors in Debug mode that looks like this:
Error   61   error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::String & __thiscall sf::String::operator=(class sf::String const &)" (__imp_??4String@sf@@QAEAAV01@ABV01@@Z) referenced in function "public: virtual void __thiscall cp::cpObject::SetFontSize(unsigned int)" (?SetFontSize@cpObject@cp@@UAEXI@Z)   cpGUI-d.lib


There is somebody to help me with this basic problems?
Thanks!

Sorry for my english! :)

Pages: [1]