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 - CleverBoy

Pages: 1 [2]
16
General / Re: SFML 2.0 32Bit on Linux 64Bit?
« on: August 23, 2016, 07:10:07 am »
Hi,

Were you able to find all the dependencies required to build a 32 bit version on 64 bit ?  I also need one 32 bit version.

Thanks...


17
General / Re: SFML and CMake with Ubuntu
« on: August 22, 2016, 04:33:33 pm »
It errored out..

wget -c http://fr.archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-dev_1.2.2-1ubuntu1_i386.deb
--2016-08-20 00:37:10--  http://fr.archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-dev_1.2.2-1ubuntu1_i386.deb
Resolving fr.archive.ubuntu.com (fr.archive.ubuntu.com)... 194.158.119.190, 2001:860:f70a:100::2
Connecting to fr.archive.ubuntu.com (fr.archive.ubuntu.com)|194.158.119.190|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-08-20 00:37:11 ERROR 404: Not Found.


18
General / How to build 32 bit version on Ubuntu 16
« on: August 22, 2016, 04:30:12 pm »
Hi All.

I am trying to build 32 bit libraries of SFML on 64 bit linux Ubuntu. The error i am getting is

cmake -DCMAKE_CXX_FLAGS=m32 ..

CMake Error at /usr/share/cmake-3.5/Modules/FindX11.cmake:439 (message):
  Could not find X11
Call Stack (most recent call first):
  src/SFML/Window/CMakeLists.txt:199 (find_package)

Can anyone help to generate 32 bit libraries. I tried with version 2.3 and 2.4. Same error.

Thanks...


19
General / Re: SFML and CMake with Ubuntu
« on: August 22, 2016, 04:19:27 pm »
I am getting the same error..

However there is not libX11-dev

 Unable to locate package libX11-dev

20
SFML projects / Re: SFML DOOM
« on: August 22, 2016, 02:02:45 pm »
Tried after re-installing SFML and created both static and release versions of the libraries. Also rebuilt the game. Same error. I used the BUILD_SHARED_LIBS flag to yes to build both 32 and 62 bit version. Am i doing anything wrong ?

21
SFML projects / Re: Let's make 16 classic game in C++ video series
« on: August 21, 2016, 03:55:33 pm »
Amazing. I never thought all these games could be achieved in one file. You just changed my perspective that these games were difficult to code. You made it look so simple. Thanks to you man... Great job. 

22
SFML projects / Re: SFML DOOM
« on: August 21, 2016, 12:09:15 pm »
This the error..

[100%] Linking CXX executable doom
/usr/local/lib/libsfml-graphics.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
CMakeFiles/doom.dir/build.make:1659: recipe for target 'doom' failed
make[2]: *** [doom] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/doom.dir/all' failed
make[1]: *** [CMakeFiles/doom.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

This is with the latest stable version of SFML 2.4

23
SFML projects / Re: Cendric: An RPG Platformer
« on: August 20, 2016, 03:38:19 pm »
Hi,

Really a wonderful game and I am looking forward to learn from it.  Trying to compile on Ubuntu and managed to resolve some of the errors. Now I gave up and thought some one can help me here. I copied the imgui header files in the include directory and after running make, I am getting this error.

/home/git/Cendric2/tools/DialogueTool/src/GUI/LogWindow.cpp:14:44: error: invalid initialization of reference of type ‘const ImVec4&’ from expression of type ‘sf::Color’
   ImGui::PushStyleColor(ImGuiCol_Text, log.second);
                                            ^
In file included from /home/git/Cendric2/tools/DialogueTool/include/global.h:3:0,
                 from /home/git/Cendric2/tools/DialogueTool/include/GUI/LogWindow.h:3,
                 from /home/git/Cendric2/tools/DialogueTool/src/GUI/LogWindow.cpp:1:
/home/git/Cendric2/tools/DialogueTool/include/imgui.h:177:29: note: in passing argument 2 of ‘void ImGui::PushStyleColor(ImGuiCol, const ImVec4&)’
     IMGUI_API void          PushStyleColor(ImGuiCol idx, const ImVec4& col);
                             ^
/home/git/Cendric2/tools/DialogueTool/src/GUI/LogWindow.cpp:15:39: warning: format not a string literal and no format arguments [-Wformat-security]
   ImGui::TextWrapped(log.first.c_str());
                                       ^
CMakeFiles/DialogueTool.dir/build.make:182: recipe for target 'CMakeFiles/DialogueTool.dir/tools/DialogueTool/src/GUI/LogWindow.cpp.o' failed
make[2]: *** [CMakeFiles/DialogueTool.dir/tools/DialogueTool/src/GUI/LogWindow.cpp.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/DialogueTool.dir/all' failed
make[1]: *** [CMakeFiles/DialogueTool.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

24
SFML projects / Re: Dispersio - adventure platformer retro-styled game
« on: August 20, 2016, 01:59:24 pm »
Great work !  :)

25
SFML projects / Re: SFML DOOM
« on: August 20, 2016, 01:49:33 pm »
Hi,

I am trying to compile the code in ubuntu linux using the latest version of SFML 2.4.0 and almost the spent the entire day with no luck. Built SFML version 2.2 as well but get errors regarding undefined references. I might have missed, but can anyone please let me know which version of SFML is to be used and if compiling steps are listed that would be great..

Many Thanks.... 

Pages: 1 [2]