Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on July 02, 2024, 03:36:23 pm »
So, you have no reason to believe the compiler and library are compatible with each other!
Do you just wish to waste your time because I no longer plan to waste my time, goodbye!
Edit: If you wish to stop using the non compatible library and instead use the MSys2 MinGW library I am willing to help; but, continuing to waste time will result in me deciding you are an Help Vampire or a newbie unable to learn!

Tim S.

Ofcourse I wish to "stop using the non compatible library" and im trying. For sure im not here to waste ur time. And im willing to learn.
Im searching for a solution right now.
72
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by stahta01 on July 02, 2024, 02:31:50 pm »
So, you have no reason to believe the compiler and library are compatible with each other!
Do you just wish to waste your time because I no longer plan to waste my time, goodbye!
Edit: If you wish to stop using the non compatible library and instead use the MSys2 MinGW library I am willing to help; but, continuing to waste time will result in me deciding you are an Help Vampire or a newbie unable to learn!

Tim S.

73
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on July 02, 2024, 02:23:30 pm »
That is the build log I was asking for.

Are you now using an Compiler that is compatible with the library? What compiler are you using?
Because I did not see a build error. Are you having a run-time problem?

Tim S.

I just reinstaled my whole system. I'll try running SFML now. Gonna let you know how it goes later today. :)


Yea, so after formating my PC and doing everything from scratch im still having the same problem...

Im using MinGW-w64 compiler. On CB 20.03, Windows 11
SFML 2.6.1, GCC 13.1.0 MinGW (SEH) - 64-bit

Code
C:\Windows\System32>gcc --version
gcc (Rev3, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Windows\System32>g++ --version
g++ (Rev3, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


C:\Windows\System32>gdb --version
GNU gdb (GDB) 14.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


This is the code im trying to run:

Code
#include <SFML/Graphics.hpp>
#include <cmath>

int main()
{
    sf::RenderWindow okno( sf::VideoMode( 320, 240 ), "Kurs SFML 2.0 - http://cpp0x.pl" );
    sf::Clock stoper;
    while( okno.isOpen() )
    {
        sf::Event event;
        while( okno.pollEvent( event ) )
        {
            if( event.type == sf::Event::Closed )
                 okno.close();
           
        } //while
        okno.clear();
       
        sf::CircleShape ksztalt( std::sin( stoper.getElapsedTime().asSeconds() ) * okno.getSize().y / 8 + okno.getSize().y / 4 );
        ksztalt.setOrigin( sf::Vector2f( ksztalt.getRadius(), ksztalt.getRadius() ) );
        ksztalt.setPosition( okno.getSize().x / 2.0f, okno.getSize().y / 2.0f );
        ksztalt.setFillColor( sf::Color::Yellow );
        okno.draw( ksztalt );
       
        okno.display();
    } //while
    return 0;
}
Build logs:
Code
-------------- Clean: Debug in SFML_Project_01 (compiler: GNU GCC Compiler)---------------

Cleaned "SFML_Project_01 - Debug"

-------------- Build: Debug in SFML_Project_01 (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -g -IC:\Dev\SFML-2.6.1\include -c D:\CPP\SFML_Project_01\main.cpp -o obj\Debug\main.o
g++.exe -LC:\Dev\SFML-2.6.1\lib -o bin\Debug\SFML_Project_01.exe obj\Debug\main.o  -static -static-libgcc -static-libstdc++  -lsfml-audio-d -lsfml-graphics-d -lsfml-main-d -lsfml-network-d -lsfml-system-d -lsfml-window-d -mwindows
Output file is bin\Debug\SFML_Project_01.exe with size 2.37 MB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))


And I did EVERYTHING that this(https://cpp0x.pl/kursy/Kurs-SFML-2-x-C++/Instalacja-i-konfiguracja/Konfiguracja-SFML-2-0-Code-Blocks/464) tutorial said to do.
My dll files are next to .exe file of my program.


My program is building right but can't run... Error i've got is in the attachments.
74
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on July 02, 2024, 06:28:00 am »
That is the build log I was asking for.

Are you now using an Compiler that is compatible with the library? What compiler are you using?
Because I did not see a build error. Are you having a run-time problem?

Tim S.

I just reinstaled my whole system. I'll try running SFML now. Gonna let you know how it goes later today. :) 
75
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by stahta01 on July 02, 2024, 04:18:25 am »
That is the build log I was asking for.

Are you now using an Compiler that is compatible with the library? What compiler are you using?
Because I did not see a build error. Are you having a run-time problem?

Tim S.

76
General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
« Last post by Qday on July 02, 2024, 03:45:01 am »
Post the current full re-build log.
Edit: Add link to FAQ https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.
Sorry for the late response. I hope you can still help me .

Code
-------------- Clean: Debug in SFML_01 (compiler: GNU GCC Compiler)---------------

Cleaned "SFML_01 - Debug"

-------------- Build: Debug in SFML_01 (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -g -IC:\Dev\SFML-2.6.1\include -c D:\CPP\SFML_01\main.cpp -o obj\Debug\main.o
g++.exe -LC:\Dev\SFML-2.6.1\lib -o bin\Debug\SFML_01.exe obj\Debug\main.o  -static -static-libgcc  -lsfml-audio-d -lsfml-graphics-d -lsfml-main-d -lsfml-network-d -lsfml-system-d -lsfml-window-d -mwindows
Output file is bin\Debug\SFML_01.exe with size 2.37 MB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 0 warning(s) (0 minute(s), 1 second(s))
Build log saved as:
file://D:/CPP/SFML_01/SFML_01_build_log.html



Is it what you were asking for?

77
Nightly builds / Re: Response -> The 14 June 2024 build (13529) is out.
« Last post by sodev on July 01, 2024, 03:09:13 pm »
PS : Why generation of CB Project by Cmake is considered like "deprecated" by Cmake Team ?

Because it is too much of a burden for them to support every IDE there is. Instead, they offer a defined API which allows the IDEs to integrate CMake from their side. This is basically the same approach how programming languages get supported by IDEs through language servers.
78
Nightly builds / Re: The 30 June 2024 build (13533) is out.
« Last post by Xaviou on June 30, 2024, 06:13:41 pm »
Hi.

OS X version of this rev can be downloaded from my website.
There is only a macOS-11.6 version.
Note that it is not a notarized version of the application.

32 bits version for Windows can also be found in the same place.

Debian Bookworm and Bullseye (32 and 64 bits) can be installed from my repo
The corresponding unsigned deb files can also be downloaded from the website page linked above.

Ubuntu-22.04, 23.10 and 24.04 versions can be installed from my ppa

Regards
Xav'
79
Nightly builds / Response -> The 14 June 2024 build (13529) is out.
« Last post by ThierryD on June 30, 2024, 12:36:40 pm »
Hi Pecan,

I wait about next nightly build ... because, today, I can't recompile CB on my platform ... but, it's one of my objective in the future. I participe on Freeglut version 3.6.0 today on Windows and Linux (with CB ... sure !, but also with Cmake).
After install last CB nigthly build (svn 13533), problem disappear.
Thank's for your reactivity, good job.

Bye.

PS : Why generation of CB Project by Cmake is considered like "deprecated" by Cmake Team ?
       Thank's.

80
Nightly builds / The 30 June 2024 build (13533) is out.
« Last post by killerbot on June 30, 2024, 10:29:58 am »
We switched to gcc 14.1.0 (on 20 May 2024) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/14.1.0posix-18.1.5-11.0.1-ucrt-r1/winlibs-x86_64-posix-seh-gcc-14.1.0-mingw-w64ucrt-11.0.1-r1.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx325_2D_gcc1410-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls14.1.0.7z


The 30 June 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240630_rev13533_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • BrowseTracker 1.4.117 24/06/18 Fix GetMaxEntries() (Helpers.cpp) to query conf only once

Regressions/Confirmed/Annoying/Common bugs:


    Pages: 1 ... 3 4 5 6 7 [8] 9 10