Comments (22)
ok found that needs to add msw so it look like this:
wx/msw/setup.h
by the way you have allot of compilation errors when trying to compile in code::blocks
from gdevelop.
Never use the C::B projects file, they are severly outdated and only here
to use the wxSmith dialog editor (for old dialogs. New one should be built
with wxCrafter).
Instead, use CMake as explained in the documentation: everything you need
is explained and you can even ask Cmake you generate a Code::Blocks project
file if you are more familiar with it.
Let me know if you have any trouble using Cmake as explained in the doc. :)
from gdevelop.
Hey
well i will try to generate Code block project , you see i need IDE with the project , not just compile it
ok i did try it using cmake-GUI : code::blocks MinGW makefiles
but getting error :
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR
Although i have mingw32-make.exe in my path
UPDATE:
i download fresh mingw 5.2 from SF ,
created succesfuly code::blocks project files in cmake
loaded in C::B and compiled All
looks good untill i hit another compilation error:
that say :
D:\dev\cpp\GameDevelop_source\GD\GDCpp\GDCpp\Animation.cpp|15|error: definition of static data member 'gd::Animation::badDirection' of dllimport'd class|
what do i miss here ?
from gdevelop.
You should use the version of MinGW (and it's not MinGW but TDM-GCC) provided in the documentation : that's the only officially supported compiler on Windows.
http://4ian.github.io/GD-Documentation/GDCore%20Documentation/setup_dev_env.html
http://4ian.github.io/GD-Documentation/GDCore%20Documentation/install_win_compiler.html
(and disable online updates in the compiler installer)
from gdevelop.
Yep did it
Version 4.5.2 disabled update
from gdevelop.
You should try to generate only a mingw makefile and build it directly with mingw.
from gdevelop.
It would be nice indeed if you could try again to use Cmake (have you the latest version of it?) to build MinGW Makefiles. If you change the compiler, make sure to clear the cache in cmake (File > Clear Cache if I remember correctly).
CMake should always be able to build MinGW makefiles if it is installed properly.
from gdevelop.
Hey , well i managed to compile the app both in realse and debug after staring all over again .
now im facing new problem , when i hit the "Run" in C::B trying to debug the GDIDE_dev
im getting this error: all the dll's are in the C::B working directory . (taken from the original installation )
any idea why ? mybe is searching for debug mode dll's?
by the way if i copy my compiled GDIDE_dev.exe replace it with the original GDIDE_dev.exe that shipped with the app its working fine
from gdevelop.
You need to put the SFML debug libs (in Debug_Windows folder) when you're working with the debug version.
from gdevelop.
Thanks, that means i need to compile it to debug , also boost and wx ?
from gdevelop.
Or you can compile Game Develop in release mode to avoid those problems and
to test if it compiles correctly.
2014-09-17 11:00 GMT+02:00 Meir Yanovich [email protected]:
Thanks, that means i need to compile it to debug , also boost and wx ?
β
Reply to this email directly or view it on GitHub
#21 (comment).
Victor LEVASSEUR
[email protected]
from gdevelop.
Heh
na i want to debug it . (:
from gdevelop.
So, you have to build a debug version of wxwidgets (I don't know if it's
provided with the wxwidgets .zip), of SFML (maybe already provided). For
Boost, there is nothing to build (only use header lib).
2014-09-17 11:23 GMT+02:00 Meir Yanovich [email protected]:
Heh
na i want to debug it . (:β
Reply to this email directly or view it on GitHub
#21 (comment).
Victor LEVASSEUR
[email protected]
from gdevelop.
ok already build them as dynamic lib's
can you tell me please where to place them for the compilation ?
where in the CMAKE you defined where to search for the *.a files ?
from gdevelop.
The lib are automatically taken from the Extlibs folder, so you don't have anything to do if you've just extract the zip in this folder.
In fact, I've never tried to compile GD in debug mode. Do you manage to get the release version working ?
from gdevelop.
not yet , i set the configuration in CMAKE to compile to debug i have no need to release
ok im recompiling now ,
from gdevelop.
Well good news , every thing is running fine ,
the process is not easy to make it compile and run from C::B
Thanks for the help .
from gdevelop.
Excellent!
Can I consider this question as closed? π
from gdevelop.
yes ! thanks .
say what is your email i like to ask you some questions not related if i may .
from gdevelop.
Should be on my profile [email protected]
You can ask question on the forum also http://forum.compilgames.net
from gdevelop.
WIN10 64bit, I built the project using CodeLite which making by CMake, but it's something wrong:MESSAGE: Entering directory F:\Github\4ian\GD\build' C:\WINDOWS\system32\cmd.exe /C K:/my_dev_env/module_gcc/TDM-GCC-64/bin/mingw32-make.exe -j 16 ----------Building project:[ GDevelop - Debug ]---------- current path=F:/Github/4ian/GD/Binaries/Output/Debug_Windows/CppPlatform Copying GDC++ and extensions to F:/Github/4ian/GD/Binaries/Output/Debug_Windows/CppPlatform... Copying GDJS and extensions runtime files (*.js) to F:/Github/4ian/GD/Binaries/Output/Debug_Windows/JsPlatform/Runtime... [ 0%] Built target sfml-main ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ [ 1%] Built target sfml-system -- Found Git: H:/Program Files/Git/cmd/git.exe (found version "2.16.2.windows.1") -- VersionPriv.h already up-to-date. ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ Copied GDJS and extensions runtime files (*.js) to 'F:/Github/4ian/GD/Binaries/Output/Debug_Windows/JsPlatform/Runtime'. [ 1%] Built target GDVersion [ 1%] Built target GDJS_Runtime [ 2%] Built target sfml-network [ 4%] Built target sfml-audio [ 7%] Built target sfml-window [ 10%] Built target sfml-graphics ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ ΒΈΒ΄ΓΓΓΓ 0 ΒΈΓΆΓΓΒΌΓΎ [ 11%] Built target GDIDE_exe destDir\MinGW32="F:/Github/4ian/GD/Binaries/Output/Debug_Windows/CppPlatform\MinGW32\" [ 11%] Built target GDIDE_dev_exe Precompiling headers: GDCpp/EventsPrecompiledHeader.h.pch [ 21%] Built target GDCpp_Runtime [ 21%] Linking CXX shared library ..\..\Binaries\Output\Debug_Windows\GDCore.dll [ 21%] Built target DestroyOutsideBehavior_Runtime [ 21%] Built target DraggableBehavior_Runtime [ 22%] Built target CommonDialogs_Runtime [ 22%] Built target AnchorBehavior_Runtime [ 24%] Built target Inventory_Runtime [ 25%] Built target Light_Runtime [ 25%] Built target Function_Runtime [ 25%] Built target Box3DObject_Runtime [ 26%] Built target Network_Runtime [ 26%] Built target AES_Runtime [ 26%] Built target AdvancedXML_Runtime [ 26%] Built target GDCpp_Runtime_exe [ 27%] Built target LinkedObjects_Runtime [ 28%] Built target ParticleSystem_Runtime Done. [ 30%] Built target PathBehavior_Runtime [ 32%] Built target PanelSpriteObject_Runtime [ 33%] Built target PhysicsBehavior_Runtime [ 34%] Built target PathfindingBehavior_Runtime [ 34%] Built target GDCpp_IDE_Headers [ 34%] Built target PlatformBehavior_Runtime [ 35%] Built target TextObject_Runtime [ 35%] Built target SystemInfo_Runtime [ 35%] Built target SoundObject_Runtime [ 35%] Built target PrimitiveDrawing_Runtime [ 36%] Built target TileMapObject_Runtime [ 36%] Built target TextEntryObject_Runtime [ 37%] Built target TimedEvent_Runtime [ 38%] Built target TiledSpriteObject_Runtime [ 39%] Built target TopDownMovementBehavior_Runtime CMakeFiles\GDCore.dir/objects.a(CommentEvent.cpp.obj): In function
gd::CommentEvent::EditEvent(wxWindow*, gd::Project&, gd::Layout&, gd::MainFrameWrapper&)':
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:55: undefined reference to wxDialog::ShowModal()' CMakeFiles\GDCore.dir/objects.a(CommentEvent.cpp.obj): In function
gd::CommentEvent::Render(wxDC&, int, int, unsigned int, gd::EventsEditorItemsAreas&, gd::EventsEditorSelection&, gd::Platform const&)':
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:71: undefined reference to wxHtmlDCRenderer::SetStandardFonts(int, wxString const&, wxString const&)' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:74: undefined reference to
wxColourBase::GetAsString(long) const'
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:74: undefined reference to operator+(char const*, wxString const&)' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:74: undefined reference to
operator+(wxString const&, char const*)'
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:75: undefined reference to wxColourBase::GetAsString(long) const' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:75: undefined reference to
operator+(char const*, wxString const&)'
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:75: undefined reference to operator+(wxString const&, char const*)' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:81: undefined reference to
wxHtmlDCRenderer::SetSize(int, int)'
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:83: undefined reference to wxHtmlDCRenderer::SetHtmlText(wxString const&, wxString const&, bool)' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:84: undefined reference to
wxHtmlDCRenderer::GetTotalHeight() const'
F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:86: undefined reference to wxHtmlDCRenderer::SetHtmlText(wxString const&, wxString const&, bool)' F:/Github/4ian/GD/Core/GDCore/Events/Builtin/CommentEvent.cpp:87: undefined reference to
wxHtmlDCRenderer::GetTotalHeight() const'
.............................................(too many same thing )
and so on.
it seems error in link the wxWidgets libs, and I found the script in "Github\4ian\GD\GDCpp\scripts\CopyHeadersToGD.bat" line24, it's better do "set MINGW_DIR="C:\TDM-GCC-32" because I don't install TDM-GCC-32 in C:\ but in K:/my_dev_env/module_gcc/TDM-GCC-64/.
from gdevelop.
Are you sure you're using the right compiler version? You should be using TDM-GCC 4.9.2, you can download it here: https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1309.0/tdm-gcc-4.9.2.exe/download
Be sure to uncheck "Check for updated files on the TDM/MinGW server". Let me know if it's working better (delete and recreate the whole CMake build to be sure)
from gdevelop.
Related Issues (20)
- Crash while using an editor
- tauri
- Using "Take screenshot" action doesn't capture the 3D layers.
- Add better structured variable support to DialogueTree extension HOT 2
- Theatre.js as part of timeline editor for GDevelop HOT 7
- Share button error on Web Version when exporting HOT 2
- It is not possible to change the location of all windows (Objects, groups of objects, layers, etc.) HOT 2
- New Hero In Town Music Asset Pack
- Upgrade to the newest bondagejs HOT 4
- Upgrading yarn editor to the newest version HOT 1
- feature: extending dialogtools to (optionaly) recognise the concept of an actor and apply some styling to things via the event sheet HOT 2
- [bug] - In Scene Editor - Buttons, Sliders and other Custom Objects always stay on top of other objects (Text, Sprites...) - never considering Z Order
- Tiled Sprite Randomization Feature (Randomized Rotation and Offset combined with blending) a la Construct 3's r321 update. HOT 2
- Limitation in Physics Engine Speed HOT 1
- Simpler way to center origin sprite point HOT 3
- Add sorting for assets bin HOT 1
- Snapping objects in editor
- Corrupted value in Scene editor's tooltip right after instance deletion HOT 1
- Fullscreen Detection broken HOT 4
- Adding the ability to specify Cordova and NPM plugin parameters in extension dependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdevelop.