Форум программистов, компьютерный форум, киберфорум
PHP
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 5.00/14: Рейтинг темы: голосов - 14, средняя оценка - 5.00
3 / 3 / 0
Регистрация: 28.06.2009
Сообщений: 81

supplied argument is not a valid Image resource in

03.03.2010, 22:17. Показов 2818. Ответов 6
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
денвер пишет :

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in Z:\home\pos.qwe\www\engine\classes\infor mer.php on line 111

Warning: imagecopyresized(): supplied argument is not a valid Image resource in Z:\home\pos.qwe\www\engine\classes\infor mer.php on line 113

Warning: imagejpeg(): supplied argument is not a valid Image resource in Z:\home\pos.qwe\www\engine\classes\infor mer.php on line 114

вот сам informer.php :
PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
<?php
class Informer Extends DBObject{
 
    public $__table = 'informers';
    public $__keyColumn = 'id';
    public $tpl_prefix = 'inf';
 
    public function __construct($id=FALSE) {        global $DBM,$session,$user,$tpl;
        $this->tpl = $tpl;
        $this->user = $user;
        $this->DBM = $DBM;
        $this->session = $session;
        $this->DBObject($DBM,$id);
    }
 
    public function show_my_list() {
        $this->user->have_access();     $SQL = "SELECT * FROM `".$this->__table."` WHERE `owner` = '".$this->user->objectId."'";
        $rs = $this->DBM->ExecuteQuery($SQL);
        $str = $this->tpl->out('account/informers/my.list.start');
        if ($this->DBM->NumberOfROws($rs)) {            $i=0;           while($data=$this->DBM->GetNextRow($rs)) {              if ($i%2==0) {
                    $this->tpl->set('inf_row_color','#F8F8F8');
                }else{
                    $this->tpl->set('inf_row_color','#F0F0F0');
                }
                $i++;
                $this->load($data);             $this->load_tpl_vars();
                $str .= $this->tpl->out('account/informers/my.list.row');
            }
        }
        $str .= $this->tpl->out('account/informers/my.list.end');
        return $str;
    }
 
    public function show_add() {
        $this->user->have_access();
        foreach($this->sys['tizer_formats'] as $i => $f) {
            $tf[$f['w'].'x'.$f['h']] = $f['w'].'x'.$f['h'];
        }
        $this->tpl->set('tizer_formats',$this->tpl->get_select_form('tizer_formats',$tf));
        return $this->tpl->out('account/informers/add');
    }
 
    public function show_edit() {       $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {
            if ($this->getVariable('owner') == $this->user->objectId) {
                foreach ($this->data as $key => $val) {
                    $this->tpl->set('inf_'.$key,$val);
                }
                foreach($this->sys['tizer_formats'] as $i => $f) {
                    $tf[$f['w'].'x'.$f['h']] = $f['w'].'x'.$f['h'];
                }
                $this->tpl->set('tizer_formats',$this->tpl->get_select_form('tizer_formats',$tf,$this->getVariable('format')));
                return $this->tpl->out('account/informers/edit');
            }
        }
    }
 
    public function action_delete() {       $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {
            if ($this->getVariable('owner') == $this->user->objectId) {             $this->delete_dir_tree('data/informers/'.$this->objectId);
                $this->delete();
                $this->session->set_notice('Информер удален',OK);
                return TRUE;
            }
        }
        $this->session->set_notice('Нет такого информера',ERROR);
        return FALSE;
    }
 
    public function action_save() {
        $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {          if ($this->getVariable('owner') == $this->user->objectId) {             $this->previous_image = $this->getVariable('image');
                $this->setVariable('text',substr($_REQUEST['text'],0,55));
                $this->setVariable('format',$_REQUEST['tizer_formats']);
                $this->setVariable('url',str_ireplace('http://','',str_ireplace('https://','',$_REQUEST['url'])));
                $this->build_dir_tree();
                if (isset($_FILES['image']['name']) && $_FILES['image']['name']) {                  if ($this->upload_image()) {                        $this->setVariable('image',$_FILES['image']['name']);                       @unlink($_SERVER['DOCUMENT_ROOT'].'/data/informers/'.$this->objectId.'/'.$this->previous_image);
                        $this->session->set_notice('Изображение загруженно',OK);
                        $this->session->set_notice('Информер успешно сохранен',OK);
                    }
                }
                $this->update();
                return TRUE;
            }
        }
        $this->session->set_notice('Нет такого информера',ERROR);
        return FALSE;
    }
 
    public function action_add() {
        $this->user->have_access();
        $this->setVariable('image',$_FILES['image']['name']);
        $this->setVariable('url',str_ireplace('http://','',str_ireplace('https://','',$_REQUEST['url'])));
        $this->setVariable('text',substr($_REQUEST['text'],0,55));
        $this->setVariable('owner',$this->user->objectId);
        $this->setVariable('format',$_REQUEST['tizer_formats']);
        $this->objectId = $this->insert();
        $this->build_dir_tree();
        if ($this->upload_image()) {            $this->session->set_notice('Информер успешно добавлен',OK);
        }
        return TRUE;
    }
 
    public function build_dir_tree() {
        if (!file_exists($_SERVER['DOCUMENT_ROOT'].'/data/informers/'.$this->objectId.'/logs')) {           mkdir($_SERVER['DOCUMENT_ROOT'].'/data/informers/'.$this->objectId.'/logs',0777,TRUE);
        }
    }
 
    public function upload_image() {        if (isset($_FILES['image']['name'])) {          list($sw,$sh) = explode('x',$this->getVariable('format'));          $data = getimagesize($_FILES['image']['tmp_name']);
            list($width,$height) = $data;
            if ($data['mime'] == 'image/jpeg' || $data['mime'] == 'image/gif') {                if ($width > $sw || $height > $sh) {                    $new = imagecreatetruecolor($sw,$sh);
                    if ($data['mime'] == 'image/jpeg' || $data['mime'] == 'image/jpg') {                        $old = imagecreatefromjpeg($_FILES['image']['tmp_name']);
                        imagecopyresized($new,$old,0,0,0,0,$sw,$sh,$width,$height);
                        imagejpeg($new,$_FILES['image']['tmp_name'],100);
                    }else{                      $old = imagecreatefromgif($_FILES['image']['tmp_name']);
                        imagecopyresized($new,$old,0,0,0,0,$sw,$sh,$width,$height);
                        imagegif($new,$_FILES['image']['tmp_name']);
                    }
                }
                if (!copy($_FILES['image']['tmp_name'],$_SERVER['DOCUMENT_ROOT'].'/data/informers/'.$this->objectId.'/'.$_FILES['image']['name'])) {                    $this->session->set_notice('Невозможно загрузить картинку',ERROR);
                    return FALSE;
                }
                @unlink($_FILES['image']['tmp_name']);
                return TRUE;
            }else{
                $this->session->set_notice('Изображение имеет неподдерживаемый формат',ERROR);
                return FALSE;
            }
        }else{          $this->session->set_notice('Нет картинки',ERROR);
            return FALSE;
        }
    }
 
    public function show_reports() {        $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {              if ($this->getVariable('owner') == $this->user->objectId) {             if (!$_REQUEST['year']) {                   $_REQUEST['year'] = date('Y');
                }
                if (!$_REQUEST['month']) {
                    $_REQUEST['month'] = date('m');
                }
                if (!$_REQUEST['day']) {
                    $_REQUEST['day'] = date('j');
                }
                if (!$_REQUEST['type']) {
                    $_REQUEST['type'] = 'all';
                }
                $log = 'data/informers/'.$this->objectId.'/logs/'.$_REQUEST['year'].'/'.intval($_REQUEST['month']).'/'.$_REQUEST['day'].'.log';
                $str = $this->tpl->out('account/informers/reports/start');
                if (file_exists($log)) {                    $data = file($log);
                    $stat = array();
                    foreach($data as $i => $line) {                         list($time,$type,$show_uniq,$show,$com,$ip,$site,$ref) = explode("\t",$line);
                        if ($type == 'show') {                              $stat[date('H',$time)]['shows'] += $show;
                            $stat[date('H',$time)]['shows_uniq'] += $show_uniq;
                        }elseif($type == 'click') {                             $stat[date('H',$time)]['clicks'] += $show;
                            $stat[date('H',$time)]['clicks_uniq'] += $show_uniq;
                        }
                        if ($type == $_REQUEST['type'] || $_REQUEST['type'] == 'all') {                         }
                    }
 
                    foreach($stat as $hour => $data) {
                        $this->tpl->set('l_time',$hour.':00 - '.$hour.':59');                           $this->tpl->set('l_shows',(int)$data['shows'].'/'.(int)$data['shows_uniq']);
                        $this->tpl->set('l_clicks',(int)$data['clicks'].'/'.(int)$data['clicks_uniq']);
                        $str .= $this->tpl->out('account/informers/reports/row');
                    }
                }else{                  $str .= $this->tpl->out('account/informers/reports/row2');
                }
 
                $str .= $this->tpl->out('account/informers/reports/end');
            }
        }
        return $str;
    }
 
    public function show_targeting() {
        $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {
            if ($this->user->objectId == $this->getVariable('owner')) {
                $this->load_tpl_vars();
                $SQL = "SELECT * FROM `categories` WHERE 1";
                $rs = $this->DBM->ExecuteQuery($SQL);
                $tar_cat = '';
                $com_cat = $this->getVariable('tar_category');
                if (!$com_cat) {
                    $com_cat = 1;
                }
                $com_days = unserialize($this->getVariable('tar_days'));
                if (!count($com_days)) {
                    for($i=1;$i<8;$i++) {
                        $com_days[] = $i;
                    }
                }
                $com_times = unserialize($this->getVariable('tar_times'));
                if (!count($com_times)) {
                    for($i=1;$i<24;$i++) {
                        $com_times[] = $i;
                    }
                }
                $i=0;
                if ($this->DBM->NumberOfRows($rs)) {
                    while($data=$this->DBM->GetNextRow($rs)) {
                        $i++;
                        $tar_cat .= '<tr><td><input type="radio" id="tc_'.$i.'" name="tar_cat" value="'.$data['id'].'"';
                        if ($data['id'] == $this->getVariable('tar_category')) {
                            $tar_cat .= ' checked';
                        }
                        $tar_cat .= '></td><td><label class="labelsimple" for="tc_'.$i.'">'.$data['name'].'</label></td>';
                        $tar_cat .= '<td width="50">'.$data['price_show'].' / '.$data['price_show_uniq'].'</td>';
                        $tar_cat .= '<td width="50">'.$data['price_click'].' / '.$data['price_click_uniq'].'</td>';
                        $tar_cat .= '</tr>';
                    }
                }
                for($i=1;$i<8;$i++) {
                    $tar_day .= '<input type="checkbox" id="td_'.$i.'" name="tar_day['.$i.']"';
                    if (@in_array($i,$com_days)) {
                        $tar_day .= ' checked';
                    }
                    $tar_day .= '>'.$this->tpl->week_days[$i].'&nbsp;&nbsp;&nbsp;';
                }
                $tar_time = '';
                $e=0;
                for($i=0;$i<24;$i++) {
                    if ($e%4==0) {
                        $tar_time .= '</tr><tr>';
                    }
                    $tar_time .= '<td><input type="checkbox" id="tt_'.$i.'" name="tar_time['.$i.']"';
                    if (@in_array($i,$com_times)) {
                        $tar_time .= ' checked';
                    }
                    $tar_time .= '></td><td>'.$i.':00 - '.$i.':59</td><td width="30"></td>';
                    $e++;
                }
                $tar_uniq = '<tr>';
                $tar_uniq .= '<td>Считать показы ?</td><td><input type="checkbox" name="calc_shows"';
                if ($this->getVariable('calc_shows')) {
                    $tar_uniq .= ' checked';
                }
                $tar_uniq .= ' /></td></tr>';
                $tar_uniq .= '<tr>';
                $tar_uniq .= '<td>Считать клики ?</td><td><input type="checkbox" name="calc_clicks"';
                if ($this->getVariable('calc_clicks')) {
                    $tar_uniq .= ' checked';
                }
                $tar_uniq .= ' /></td></tr>';
                $this->tpl->set('tar_cat',$tar_cat);
                $this->tpl->set('tar_time',$tar_time);
                $this->tpl->set('tar_day',$tar_day);
                $this->tpl->set('tar_uniq',$tar_uniq);
            }
        }
        return $this->tpl->out('account/informers/targeting.edit');
    }
 
    public function action_targeting_save() {
        $this->user->have_access();
        if ($this->get(intval($_REQUEST['id']))) {
            if ($this->user->objectId == $this->getVariable('owner')) {
                $this->load_tpl_vars();
                if (!$_REQUEST['tar_day']) {
                    $_REQUEST['tar_day'] = array(0);
                }else{
                    foreach($_REQUEST['tar_day'] as $key => $val) {
                        $tar_day[] = $key;
                    }
                }
                if (!$_REQUEST['tar_cat']) {
                    $_REQUEST['tar_cat'] = 1;
                }
                if (!$_REQUEST['tar_time']) {
                    $_REQUEST['tar_time'] = array(0);
                }else{
                    foreach($_REQUEST['tar_time'] as $key => $val) {
                        $tar_time[] = $key;
                    }
                }
                $us = 0;
                $uc = 0;
                if ($_REQUEST['uniq_shows'] == 'on') {
                    $us = 1;
                }
                if ($_REQUEST['uniq_clicks'] == 'on') {
                    $uc = 1;
                }
                if ($_REQUEST['calc_shows'] == 'on') {
                    $cs = 1;
                }
                if ($_REQUEST['calc_clicks'] == 'on') {
                    $cc = 1;
                }
                $this->setVariable('tar_category',$_REQUEST['tar_cat']);
                $this->setVariable('tar_days',serialize($tar_day));
                $this->setVariable('tar_times',serialize($tar_time));
                $this->setVariable('uniq_shows',$us);
                $this->setVariable('uniq_clicks',$uc);
                $this->setVariable('calc_shows',$cs);
                $this->setVariable('calc_clicks',$cc);
                $this->setVariable('status',0);
                $this->update();
                $this->update_tar_tables();
 
                $this->session->set_notice('Таргетинг сохранен ',OK);
                header("Location:/account/informers/index.html");
            }
        }else{          $this->session->set_notice('Нет такой компании',ERROR);
        }
    }
 
    public function update_tar_tables() {
        $tar_day = unserialize($this->getVariable('tar_days'));
        if (!count($tar_day)) {
            for($i=1;$i<8;$i++) {
                $tar_day[] = $i;
            }
        }
        $tar_time = unserialize($this->getVariable('tar_times'));
        if (!count($tar_time)) {
            for($i=1;$i<24;$i++) {
                $tar_time[] = $i;
            }
        }
        $SQL = "DELETE FROM `tar_cat` WHERE `id` = '".$this->objectId."'";
        $this->DBM->ExecuteQuery($SQL);
        $SQL = "DELETE FROM `tar_day` WHERE `id` = '".$this->objectId."'";
        $this->DBM->ExecuteQuery($SQL);
        $SQL = "DELETE FROM `tar_hrs` WHERE `id` = '".$this->objectId."'";
        $this->DBM->ExecuteQuery($SQL);
        if ($this->getVariable('tar_category') > 0 && $this->getVariable('status') == 1) {
            $SQL = "INSERT DELAYED INTO `tar_cat` SET `id` = '".$this->objectId."', `val` = '".$this->getVariable('tar_category')."'";
            $this->DBM->ExecuteQuery($SQL);
            if (count($tar_day)) {                  foreach($tar_day as $key => $val) {
                    $SQL = "INSERT DELAYED INTO `tar_day` SET `id` = '".$this->objectId."', `val` = '".$val."'";
                    $this->DBM->ExecuteQuery($SQL);
                }
            }
            if (count($tar_time)) {             foreach($tar_time as $key => $val) {
                    $SQL = "INSERT DELAYED INTO `tar_hrs` SET `id` = '".$this->objectId."', `val` = '".$val."'";
                    $this->DBM->ExecuteQuery($SQL);
                }
            }
        }
 
    }
}
?>
0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
03.03.2010, 22:17
Ответы с готовыми решениями:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
привет помогите разобраться с этим &lt;ссылка удалена - нарушение правил&gt; скачал установил все нормально, из его же папки автора скинул...

Invalid argument supplied for foreach()
В javascript получил список плагинов из объекта navigator, записал их в массив и передал через ajax в php, там пытаюсь вывести этот массив,...

Warning: Invalid argument supplied for foreach()
Здраствуйте!!! Вот появилась такая ошибка в чате Д. Бородина Warning: Invalid argument supplied for foreach() in...

6
 Аватар для ILA
68 / 61 / 11
Регистрация: 10.08.2009
Сообщений: 226
04.03.2010, 08:47
Отлаживай. Выводи значения переменных на экран.
0
 Аватар для ostgals
886 / 681 / 101
Регистрация: 23.01.2009
Сообщений: 1,582
04.03.2010, 09:54
Похоже, что $this->getVariable('format') возвращает какую-то чушь
0
 Аватар для ILA
68 / 61 / 11
Регистрация: 10.08.2009
Сообщений: 226
05.03.2010, 09:27
В тексте ошибки написано, что неправильные размеры картинки при вызове imagecreatetruecolor($sw,$sh). Выведи эти значения перед вызовом функции и глянь че не так.
0
3 / 3 / 0
Регистрация: 28.06.2009
Сообщений: 81
06.03.2010, 21:28  [ТС]
Цитата Сообщение от ILA Посмотреть сообщение
В тексте ошибки написано, что неправильные размеры картинки при вызове imagecreatetruecolor($sw,$sh). Выведи эти значения перед вызовом функции и глянь че не так.
Спасибо

Добавлено через 16 минут
так можно????
$new = imagecreatetruecolor($sw,$sh);

Добавлено через 23 минуты
Notice: Ошибка SQL запроса
Запрос: DELETE FROM `tar_cat` WHERE `id` = '13'
Ошибка: Table 'tiz.tar_cat' doesn't exist in Z:\home\pos.qwe\www\engine\classes\stora ge\mysql.php on line 32
0
 Аватар для ILA
68 / 61 / 11
Регистрация: 10.08.2009
Сообщений: 226
07.03.2010, 09:50
Цитата Сообщение от ELipskij Посмотреть сообщение
Notice: Ошибка SQL запроса
Запрос: DELETE FROM `tar_cat` WHERE `id` = '13'
Ошибка: Table 'tiz.tar_cat' doesn't exist in Z:\home\pos.qwe\www\engine\classes\stora ge\mysql.php on line 32
А это у тя таблица tar_cat отсутствует.
0
3 / 3 / 0
Регистрация: 28.06.2009
Сообщений: 81
07.03.2010, 20:26  [ТС]
Notice: Ошибка SQL запроса
Запрос: INSERT DELAYED INTO `tar_cat` SET `id` = '13', `val` = '1'
Ошибка: Table storage engine for 'tar_cat' doesn't have this option in Z:\home\pos.qwe\www\engine\classes\stora ge\mysql.php on line 32

чего не так
SQL
1
2
     id     VARCHAR(200)    cp1251_bin      Да    0                           
     val    VARCHAR(200)    cp1251_bin      Да    0
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
07.03.2010, 20:26
Помогаю со студенческими работами здесь

Warning: imagecopy(): supplied argument is not a valid Image resource
Вот скрипт: $image_x = $image_width - $logo_width - 10; $image_y = $image_height - $logo_height - 10; imagecopy($image, $logo,...

Ошибка Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
Добрый вечер, помогите определить ошибку. При клике на объект выдает ошибку Warning: mysql_fetch_row(): supplied argument is not a valid...

Ошибка - Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
&lt;div class=&quot;popup_container&quot;&gt; &lt;div class=&quot;reg_popup&quot;&gt; &lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;regform&quot;&gt; ...

ошибка ing: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home//modules/ в 37 строке
Кто может помочь? &lt;?php $sql=&quot;SELECT * FROM `foto` WHERE `id` = '&quot;.$_REQUEST.&quot;' ORDER BY `link` DESC &quot;; ...

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in z:\home\localhost\www\php\mysql.php on line 16
Не могу подключиться к базе...устал все перепроверять переписывать и пересоздавать... Я недавно тока занялся php начал изучать курс...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
7
Ответ Создать тему
Новые блоги и статьи
Инструменты COM: Сохранение данный из VARIANT в файл и загрузка из файла в VARIANT
bedvit 28.01.2026
Сохранение базовых типов COM и массивов (одномерных или двухмерных) любой вложенности (деревья) в файл, с возможностью выбора алгоритмов сжатия и шифрования. Часть библиотеки BedvitCOM Использованы. . .
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 28.01.2026
Содержание блога SDL3 имеет собственные средства для загрузки и отображения PNG-файлов с альфа-каналом и базовой работы с ними. В этой инструкции используется функция SDL_LoadPNG(), которая. . .
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL3_image
8Observer8 27.01.2026
Содержание блога SDL3_image - это библиотека для загрузки и работы с изображениями. Эта пошаговая инструкция покажет, как загрузить и вывести на экран смартфона картинку с альфа-каналом, то есть с. . .
влияние грибов на сукцессию
anaschu 26.01.2026
Бифуркационные изменения массы гриба происходят тогда, когда мы уменьшаем массу компоста в 10 раз, а скорость прироста биомассы уменьшаем в три раза. Скорость прироста биомассы может уменьшаться за. . .
Воспроизведение звукового файла с помощью SDL3_mixer при касании экрана Android
8Observer8 26.01.2026
Содержание блога SDL3_mixer - это библиотека я для воспроизведения аудио. В отличие от инструкции по добавлению текста код по проигрыванию звука уже содержится в шаблоне примера. Нужно только. . .
Установка Android SDK, NDK, JDK, CMake и т.д.
8Observer8 25.01.2026
Содержание блога Перейдите по ссылке: https:/ / developer. android. com/ studio и в самом низу страницы кликните по архиву "commandlinetools-win-xxxxxx_latest. zip" Извлеките архив и вы увидите. . .
Вывод текста со шрифтом TTF на Android с помощью библиотеки SDL3_ttf
8Observer8 25.01.2026
Содержание блога Если у вас не установлены Android SDK, NDK, JDK, и т. д. то сделайте это по следующей инструкции: Установка Android SDK, NDK, JDK, CMake и т. д. Сборка примера Скачайте. . .
Использование SDL3-callbacks вместо функции main() на Android, Desktop и WebAssembly
8Observer8 24.01.2026
Содержание блога Если вы откроете примеры для начинающих на официальном репозитории SDL3 в папке: examples, то вы увидите, что все примеры используют следующие четыре обязательные функции, а. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru